From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6812695221159067648 X-Received: by 2002:a17:906:d0c9:: with SMTP id bq9mr3154886ejb.352.1598990053589; Tue, 01 Sep 2020 12:54:13 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:f996:: with SMTP id li22ls1152933ejb.10.gmail; Tue, 01 Sep 2020 12:54:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFNimoqDyBLT5YTcZ2qrtgEpQUNFPDMoufvgK0eLYa1YENzhJsstCw9tnv6yYNutwjT4Z+ X-Received: by 2002:a17:906:7f0b:: with SMTP id d11mr3228266ejr.439.1598990053022; Tue, 01 Sep 2020 12:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598990053; cv=none; d=google.com; s=arc-20160816; b=E3VymXt1172tLkjTLIhk/cRi1Xe2s7gSUFK5nbhn5nOIrxO8qnKdfsWiZAdaT1e0ra c2vfzHwQX29GHicVkcRSfM7a6h2UkEW1e/S/oz2XLRKbf9AUfp4iJsAGpZ90QiPe1VNZ mNFFvlleehkpBNE5b38aB7n3hCnTa4h1Bhe5xl7VmK1nUSFU6MAnEMC00lWbxkv1/Mbj lUa2KpmoyBwxe3vjMeA2N16fYgX6ZypRJgLLi7VJKpdUJjd0uCwqasq0+Sq+e+VRPb1o qTXvxYi3g1TS0RrCGO6deo6qFJ9gVUPrhCdA0TKUFwASw80qG41D8hWcXq01r0Allhx7 iMzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=gFnyJimPPYHvo/vVZlYXBAQEwCskgFm5jjOuQaJlDj4=; b=UMgx0R+CW6zFQxoCBknX/BUmbF/eRugAfEmQ3bzinbc8qxwF13OvLX887Cak3frHxW Oh8vUxFFJjFGBziUqfHa3cEEGYxuYXtzVzlPdTnV2neWVyNmFddgjKPEjq9e3i3cW8bo 1OM82rpR+cMkqH/23391hi62HeUTpQUSvrfDPiLIiuoiw6HRvSd61OtUm3wp9vhNRHJT 9DualW7vIFYBmFdbX6vjKFcukRtm+kG4cinaFn5zjrZEmLjhEMC84Jl/SpbF4vPJ86GR 3WdXfe1ickQdgMadb5EXd2y4/qNZi5ykJ5RVUE7mG1+N6pjagW2m8dw6lvjwDpGViIEj 3yZg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id f17si78062edx.5.2020.09.01.12.54.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Sep 2020 12:54:13 -0700 (PDT) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.m.ilbers.de (dslb-002-200-183-171.002.200.pools.vodafone-ip.de [2.200.183.171]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 081JsB8H012788 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 1 Sep 2020 21:54:11 +0200 Received: from yssyq.m.ilbers.de (localhost [127.0.0.1]) by yssyq.m.ilbers.de (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTPS id 081Js5Xg032205 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 1 Sep 2020 21:54:05 +0200 Received: (from ibr@localhost) by yssyq.m.ilbers.de (8.15.2/8.15.2/Submit) id 081Js5ps032204 for isar-users@googlegroups.com; Tue, 1 Sep 2020 21:54:05 +0200 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: [PATCH v2 3/3] CI: test the exclude-path feature of wic Date: Tue, 1 Sep 2020 21:54:05 +0200 Message-Id: <20200901195405.32162-1-ibr@radix50.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200406201648.26945-4-henning.schild@siemens.com> References: <20200406201648.26945-4-henning.schild@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: Uxv6kafcrKH3 From: Henning Schild Signed-off-by: Henning Schild --- scripts/ci_build.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh index d2c707b..af996d1 100755 --- a/scripts/ci_build.sh +++ b/scripts/ci_build.sh @@ -212,3 +212,15 @@ echo -e "do_fetch_append() {\n\n}" >> "${ISARROOT}/meta/classes/dpkg-base.bbclas bitbake $BB_ARGS mc:qemuamd64-stretch:isar-image-base mv "${ISARROOT}/meta/classes/dpkg-base.bbclass.ci-backup" "${ISARROOT}/meta/classes/dpkg-base.bbclass" + +# Test wic --exclude-path +cp -a "${ISARROOT}/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks" "${ISARROOT}/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks.ci-backup" +mv ${BUILDDIR}/tmp/deploy/images/qemuamd64/isar-image-base-debian-stretch-qemuamd64.wic.img \ + ${BUILDDIR}/tmp/deploy/images/qemuamd64/isar-image-base-debian-stretch-qemuamd64.wic.img.ci-backup +sed -i -e 's/part \/ /part \/ --exclude-path usr /g' "${ISARROOT}/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks" + +bitbake $BB_ARGS mc:qemuamd64-stretch:isar-image-base + +mv "${ISARROOT}/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks.ci-backup" "${ISARROOT}/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks" +mv ${BUILDDIR}/tmp/deploy/images/qemuamd64/isar-image-base-debian-stretch-qemuamd64.wic.img.ci-backup \ + ${BUILDDIR}/tmp/deploy/images/qemuamd64/isar-image-base-debian-stretch-qemuamd64.wic.img -- 2.20.1