From patchwork Thu Sep 21 07:02:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Storm, Christian" X-Patchwork-Id: 816707 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4010:c07::23f; helo=mail-lf0-x23f.google.com; envelope-from=swupdate+bncbdd6bwv65qpbbmgjrxhakgqezusqi5i@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="LIApl/14"; dkim-atps=neutral Received: from mail-lf0-x23f.google.com (mail-lf0-x23f.google.com [IPv6:2a00:1450:4010:c07::23f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xySLC6mwkz9s7v for ; Thu, 21 Sep 2017 17:05:23 +1000 (AEST) Received: by mail-lf0-x23f.google.com with SMTP id 23sf774500lfs.12 for ; Thu, 21 Sep 2017 00:05:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1505977520; cv=pass; d=google.com; s=arc-20160816; b=lT3LoSPy8+q+fKX5n6QY0h0BnDrb+C6ivEPknADFkVREG92DyGMa+PB3bgbjhuqK2x kGruPn/KbxWyToHHeD5cB86AhGlnXZfkQQGvW8yFjNvIYpHNxGCpUweXSi5fbGhgLY0u nVGeXujCiFc2PsBksJ4Q63tfLXJSrN/N1qlOjGQOJoLA893tFtEcjfeSzHNobk2/SI87 g7qxoQGKPkVEb/MS3+ISg8sHHA+czJGS7vRhaoVQXWfAme1pzeOfTbt6v+YoPm9B7XEp Emu1FNJaZ8YZQ16QMERmvm/SiE9IW4wGMUwMwDJ68qhopBx3n5valGmlNNN/gtfVuQFE nTqw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:arc-authentication-results :arc-message-signature:mime-version:sender:dkim-signature :arc-authentication-results; bh=rLVwVXImetHhj//L8HeYjfeun0c64qK7f/ZZ6jCYIbE=; b=f2LXaUWPU7oW7qbFMM9qYWtOG3EkqqBr9r98XPRp7xjA7fzk8sew0cTD+ayTo2wn+e sm4fQUl/nI8Fyui4aEW43pGN309p+ArxlZXM0+br1vea+lw7f3Fqwcl+kQLlabyP09nf r2D8hvyXXGuDSgOTJ1fVPx3woQ5SAkm8u1e/vTfgFTT2NBuB6xDRoTxY5v++V/w+t7TF auEnsJqwd9ZOdeHWt1fyeSjeofCyifg2FOcuzGVMW47HsimkaemdEDRmNjqNaGy7461a aW1ldkFovT4Vz8+OUSWBboRGX2sKXj1SdoZzbN/3Z+DQI6205xzty/JwHwPvoPACltwf s23Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=rLVwVXImetHhj//L8HeYjfeun0c64qK7f/ZZ6jCYIbE=; b=LIApl/14tLqaiqoC9qXCmXgR/3c6QA7qnfPgPiqyrMWRSBk7xqDGHToSyM6yss6Qjg xJnHY+RlYripc4SXtU/OKtPTGh9RrBx0jdhDqoXoYij9q/hV3mhSLRb5nMH5dmeKjAkn A0eUnSBJgH2pNHAfWNJYd9Oqb0DOt8u6mh7VYWC09N2W/moTRT885mzypDI+ACziLRys PSZFgf6KWkMKJSL+nL6jsX80JOtLQn1nevfW0wkr3BotCprnS3VXqCV/RGJe8wxtBFvx GLk65DfXtDCfNSLYCbWkQmjLbjBPdEvX6i7KFVshaIPFDHlUSeasvHgurlp28VS4pnIO uORQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=rLVwVXImetHhj//L8HeYjfeun0c64qK7f/ZZ6jCYIbE=; b=MXZASZ3qyyyT/ipj76cQi/dQ4EThjS3o8c8nHWlXDVhTcE500gCf2z0MPXbKnWhc8o 2JaAYjlZG7blu91aMbGd5CcxUBOzMDuxS3hOY9wWyWToBV2et61XTCru+NhCaxrfO4qb 9N1y5WL8YKWD8C1yXm97OIeFJ2+FI3u1EDFCDa2nQ7K34SjW6exh4i/VzpVWJXDmJ/U3 O+50eDSpAFwBi33FwVB0gbQRAf4CmloXGOJLReUB2kvHtU5+nxCs4NyEa9BBO3y76Cfu bwMdI/u+c5+ng0Y8mJSBItEBamkuwFVUOOhwJBiwXI2cmjnvjl3KEYNLMiJ42J7II1ME M4EA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AHPjjUhXiWA40smvCgrH3Lcpohpbk9stPyBMtu6KCdDJn4ABX9w7Slw5 IseViq38wWs9bU+JLJIIZ4A= X-Google-Smtp-Source: AOwi7QCReex4YG4wnNilCqwYeLemsBLQJ8bgI/wtMkQoZF7GIptnjx3t4YMoJrQNLmMlBDenaxO3mw== X-Received: by 10.25.19.72 with SMTP id j69mr8140lfi.25.1505977520358; Thu, 21 Sep 2017 00:05:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 10.46.16.197 with SMTP id 66ls609292ljq.1.gmail; Thu, 21 Sep 2017 00:05:19 -0700 (PDT) X-Received: by 10.46.99.1 with SMTP id x1mr775281ljb.11.1505977519923; Thu, 21 Sep 2017 00:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505977519; cv=none; d=google.com; s=arc-20160816; b=JEI1sNbjR6/Li8fwLyFwZqUxZnH09RRVuHTvI6ta6gE8eD3PLKD4z5nw9L1fiax/Qe PuEaUUn0WhlxWHLCU1CuIGXKMsRxbb7raJV3PHoKE8tOWs81bdRYYfXcdwueVV3Tx/k1 V8qUrNbWiRRI7RTwo6bBOPhrjxHeQ1iXqZ490WTFcOSpVvfE9Erash+upUA7zl0rs/66 88Dg1E1kBCJUQBRgacmHiWkWG9nhGoe6Xd5VBqukeM7fsuIlj4X3hdTzA250QDs6xGMj nf6yQrfoR9Ba4/q9gqBNdUUv03hF11d1CoeNrf0mWfXDYBRJGuIIct7/NLDG6cFKb5M6 Bn6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=q462fK1PAUq3FmlRQ0vsFvwqltfNHAbJG0kw6Xk9B/Y=; b=FVVTPQTEOh+iEAzulwOa37hu/+wt7KLVTPyw8zsJ6e4JasTndwgFrKg6O4ssxbaj0D f3szispBqWCQ8KZNyo16PS5T0psOYx+OHaZsHPa30SoOuaXys1mxQyfGpxgBgq7pTOYL NQdehHvLNJhgczK8zIdjQBUOQgk+iYtB5XtCD0FlAMYnpICxJDYjQEx8Un4hdHUDpHxm UO9GHVDVRGkgZy2wziEUCwN2W/rF/i+copidkO0+JVf8+vRm63RMkG8o8mwp9W1acupX etV6vO4xXrr/cbB1Zf97uIkIXgNn2qROJewQy1aw0LJZTt31iupuMhzmNEpmRsclQgXr 722Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id c142si360075wmh.3.2017.09.21.00.05.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Sep 2017 00:05:19 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.2 is neither permitted nor denied by domain of christian.storm@siemens.com) client-ip=192.35.17.2; Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id v8L75JMj007310 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 21 Sep 2017 09:05:19 +0200 Received: from MD1KR9XC.ad001.siemens.net ([139.25.69.251]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id v8L75Jai031569; Thu, 21 Sep 2017 09:05:19 +0200 From: Christian Storm To: swupdate@googlegroups.com Cc: Christian Storm Subject: [swupdate] [PATCH 2/2] systemd support: travis integration Date: Thu, 21 Sep 2017 09:02:34 +0200 Message-Id: <20170921070234.7865-2-christian.storm@siemens.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170921070234.7865-1-christian.storm@siemens.com> References: <20170921070234.7865-1-christian.storm@siemens.com> X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , 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 --- .travis.yml | 4 ++++ configs/with_systemd_defconfig | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 configs/with_systemd_defconfig diff --git a/.travis.yml b/.travis.yml index e73ace5..203b785 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/configs/with_systemd_defconfig b/configs/with_systemd_defconfig new file mode 100644 index 0000000..36b86d7 --- /dev/null +++ b/configs/with_systemd_defconfig @@ -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