debian/tests/default-bootstraps: minor adjustments to shell syntax,

syncing with artful where this originated.
core-include-dmsetup
Steve Langasek 7 years ago
parent aee9079732
commit 87d69d902a

4
debian/changelog vendored

@ -41,6 +41,10 @@ livecd-rootfs (2.408.19) UNRELEASED; urgency=medium
* Run autopkgtest for SUBPROJECT=minimized * Run autopkgtest for SUBPROJECT=minimized
* When SUBPROJECT environment variable is not set assume it to be "" * When SUBPROJECT environment variable is not set assume it to be ""
[ Steve Langasek ]
* debian/tests/default-bootstraps: minor adjustments to shell syntax,
syncing with artful where this originated.
-- Balint Reczey <rbalint@ubuntu.com> Tue, 03 Oct 2017 17:35:04 +0200 -- Balint Reczey <rbalint@ubuntu.com> Tue, 03 Oct 2017 17:35:04 +0200
livecd-rootfs (2.408.18) xenial; urgency=medium livecd-rootfs (2.408.18) xenial; urgency=medium

@ -5,7 +5,7 @@
set -e set -e
if [ -z "$SUITE"]; then if [ -z "$SUITE" ]; then
SUITE=$(lsb_release -c -s) SUITE=$(lsb_release -c -s)
fi fi
@ -67,19 +67,17 @@ live_build_rootfs() {
if [ -n "$TEMPLATE" ]; then if [ -n "$TEMPLATE" ]; then
cp -a /usr/share/livecd-rootfs/live-build/$TEMPLATE . cp -a /usr/share/livecd-rootfs/live-build/$TEMPLATE .
fi fi
(env PROJECT=$PROJECT \ env PROJECT=$PROJECT \
SUBPROJECT=$SUBPROJECT \ SUBPROJECT=$SUBPROJECT \
SUITE=$SUITE \ SUITE=$SUITE \
ARCH=$ARCH \ ARCH=$ARCH \
lb config lb config
)
mkdir chroot mkdir chroot
# this part needs root rights, but right now the whole script ran as root by autopkgtest # this part needs root rights, but right now the whole script ran as root by autopkgtest
(env PROJECT=$PROJECT \ env PROJECT=$PROJECT \
SUBPROJECT=$SUBPROJECT \ SUBPROJECT=$SUBPROJECT \
ARCH=$ARCH \ ARCH=$ARCH \
lb build lb build
)
echo "Build results for project: '$PROJECT' subproject: '$SUBPROJECT' template: '$TEMPLATE' in $PWD" echo "Build results for project: '$PROJECT' subproject: '$SUBPROJECT' template: '$TEMPLATE' in $PWD"
du -sh * du -sh *
echo "" echo ""

Loading…
Cancel
Save