mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-03 21:04:06 +00:00
Add NOW env variable in autopkgtest
It was found out that autopkgtests didn't pass the NOW env variable which is generally provided by the launchpad-buildd build and thus the autpkgtests fail.
This commit is contained in:
parent
5ac0d924ce
commit
c86e4eff1a
2
debian/tests/default-bootstraps
vendored
2
debian/tests/default-bootstraps
vendored
@ -64,12 +64,14 @@ live_build_rootfs() {
|
|||||||
SUBPROJECT=$SUBPROJECT \
|
SUBPROJECT=$SUBPROJECT \
|
||||||
SUITE=$SUITE \
|
SUITE=$SUITE \
|
||||||
ARCH=$ARCH \
|
ARCH=$ARCH \
|
||||||
|
NOW=$(date '+%Y%m%d') \
|
||||||
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 \
|
||||||
|
NOW=$(date '+%Y%m%d') \
|
||||||
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 *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user