mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-07 08:01:30 +00:00
Ensure chroot_linux-image is only exectued on live layers
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
This commit is contained in:
parent
d5e9651fe0
commit
deb31732db
@ -167,7 +167,6 @@ create_chroot_pass () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Customizing chroot
|
# Customizing chroot
|
||||||
lb chroot_linux-image ${*}
|
|
||||||
lb chroot_preseed ${*}
|
lb chroot_preseed ${*}
|
||||||
lb chroot_early_hooks ${*}
|
lb chroot_early_hooks ${*}
|
||||||
|
|
||||||
@ -205,6 +204,7 @@ create_chroot_pass () {
|
|||||||
# Add live packages to live layers
|
# Add live packages to live layers
|
||||||
for livepass in $LIVE_PASSES; do
|
for livepass in $LIVE_PASSES; do
|
||||||
[ "$livepass" != "$pass" ] && continue
|
[ "$livepass" != "$pass" ] && continue
|
||||||
|
lb chroot_linux-image ${*}
|
||||||
lb chroot_live-packages ${*}
|
lb chroot_live-packages ${*}
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user