@@ -19,6 +19,8 @@ before_install:
- sudo apt-get install -y uuid
- sudo apt-get install -y uuid-dev
- sudo apt-get install -y liblzo2-dev
+ - sudo apt-get install -y libsystemd-daemon-dev
+ - sudo apt-get install -y libsystemd-daemon0
script:
- sudo mkdir -p /usr/local/lib
@@ -42,4 +44,6 @@ script:
- make env
- sudo install -m 644 tools/env/lib.a /usr/local/lib/libubootenv.a
- cd ..
+ # Accommodate to trusty's rusty systemd version
+ - sudo ln -sf /lib/x86_64-linux-gnu/libsystemd-daemon.so.0 /lib/x86_64-linux-gnu/libsystemd.so
- for i in configs/*;do echo $i;make `basename $i` && make || exit 1;done
new file mode 100644
@@ -0,0 +1,20 @@
+CONFIG_HW_COMPATIBILITY=y
+# CONFIG_MTD is not set
+CONFIG_LUAPKG="lua5.2"
+CONFIG_EXTRA_CFLAGS="-g"
+CONFIG_BOOTLOADER_NONE=y
+CONFIG_DOWNLOAD=y
+CONFIG_SIGNED_IMAGES=y
+CONFIG_ENCRYPTED_IMAGES=y
+CONFIG_SURICATTA_STATE_CHOICE_BOOTLOADER=y
+CONFIG_SYSTEMD=y
+CONFIG_WEBSERVER=y
+CONFIG_MONGOOSE=y
+CONFIG_MONGOOSESSL=y
+CONFIG_LUAEXTERNAL=y
+CONFIG_RAW=y
+CONFIG_LUASCRIPTHANDLER=y
+CONFIG_SHELLSCRIPTHANDLER=y
+CONFIG_HANDLER_IN_LUA=y
+CONFIG_ARCHIVE=y
+CONFIG_REMOTE_HANDLER=y
Add a dependency on libsystemd-daemon{0,-dev} to travis's setup and do a systemd-enabled configuration file compile. Bend trusty's rusty systemd version to mimic more current ones having a libsystemd.so. Signed-off-by: Christian Storm <christian.storm@siemens.com> --- .travis.yml | 4 ++++ configs/with_systemd_defconfig | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 configs/with_systemd_defconfig