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
* 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
livecd-rootfs (2.408.18) xenial; urgency=medium

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

Loading…
Cancel
Save