Final changes to the 999-ubuntu-image-customization.chroot hook.

amd64-kernel-on-i386
Łukasz 'sil2100' Zemczak 5 years ago
parent 8a6ed637b8
commit c7f3374f9f

8
debian/changelog vendored

@ -1,3 +1,11 @@
livecd-rootfs (2.612) UNRELEASED; urgency=medium
* Hopefully the last fix for 999-ubuntu-image-customization.chroot: use
config/chroot to pass IMAGEFORMAT instead of config/common, as only that
file is updated with the right contents when the chroot hooks are run.
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Mon, 16 Sep 2019 14:07:01 +0200
livecd-rootfs (2.611) eoan; urgency=medium
* Execute chroot_hacks in live layer only.

@ -974,6 +974,7 @@ fi
echo "LB_CHROOT_HOOKS=\"$CHROOT_HOOKS\"" >> config/chroot
echo "SUBPROJECT=\"${SUBPROJECT:-}\"" >> config/chroot
echo "LB_DISTRIBUTION=\"$SUITE\"" >> config/chroot
echo "IMAGEFORMAT=$IMAGEFORMAT" >> config/chroot
if [ -n "$PASSES" ]; then
echo "PASSES=\"$PASSES\"" >> config/common
fi

@ -1,6 +1,6 @@
#!/bin/bash -ex
. /root/config/common
. /root/config/chroot
# Specific ubuntu-image chroot configuration goes here.
# Currently the ubuntu-image IMAGEFORMAT is equivalent to building an image

Loading…
Cancel
Save