mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +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
|
||||
|
||||
# Customizing chroot
|
||||
lb chroot_linux-image ${*}
|
||||
lb chroot_preseed ${*}
|
||||
lb chroot_early_hooks ${*}
|
||||
|
||||
@ -205,6 +204,7 @@ create_chroot_pass () {
|
||||
# Add live packages to live layers
|
||||
for livepass in $LIVE_PASSES; do
|
||||
[ "$livepass" != "$pass" ] && continue
|
||||
lb chroot_linux-image ${*}
|
||||
lb chroot_live-packages ${*}
|
||||
break
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user