export $NOW in BuildLiveCD and use that var inside Ubuntu Touch builds to create /var/log/installer/media-info

ubuntu/trusty
Oliver Grawert 12 years ago
parent 812ef405e3
commit 9a79d68d7d

@ -129,6 +129,7 @@ for STE in $SUITES; do
NOW=${NOW}.$n
fi
NOW=${NOW}
export NOW
LOG=${PUBDIR}${NOW}/livecd-${NOW}-${ARCH}.out
rm -f ${PUBDIR}latest

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.150) UNRELEASED; urgency=low
* export $NOW in BuildLiveCD so we have it available in live-build
* create a build stamp in /var/log/installer/media-info on Ubuntu Touch images
-- Oliver Grawert <ogra@ubuntu.com> Wed, 26 Jun 2013 11:32:31 +0200
livecd-rootfs (2.149) saucy; urgency=low
* set QT_SELECT=qt5 in touch image environment

@ -235,6 +235,12 @@ deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS
> chroot/etc/apt/sources.list
rm chroot/etc/apt/sources.list.preinstall chroot/etc/apt/sources.list.orig
fi
if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then
INFO_DESC="$(lsb_release -d -s)"
mkdir -p chroot/var/log/installer
echo "$INFO_DESC - $ARCH ($NOW)" >chroot/var/log/installer/media-info
fi
echo "===== Checking size of /usr/share/doc ====="
echo BEGIN docdirs

Loading…
Cancel
Save