mirror of
https://git.launchpad.net/livecd-rootfs
synced 2026-02-12 13:03:43 +00:00
Make sure the unlayered ISO has a cdrom.sources in as well.
This commit is contained in:
parent
ab2b82e3c2
commit
acd63ee3e4
@ -572,9 +572,11 @@ if [ "${MAKE_ISO}" = "yes" ]; then
|
|||||||
# Link build artifacts with "for-iso." prefix for isobuild to consume.
|
# Link build artifacts with "for-iso." prefix for isobuild to consume.
|
||||||
# Layered builds create squashfs via lb_binary_layered (which already
|
# Layered builds create squashfs via lb_binary_layered (which already
|
||||||
# creates for-iso.*.squashfs files). Single-pass builds only have
|
# creates for-iso.*.squashfs files). Single-pass builds only have
|
||||||
# ${PREFIX}.squashfs, so we link it here.
|
# ${PREFIX}.squashfs, which does not contain cdrom.sources, so we
|
||||||
|
# create a for-iso.filesystem.squashfs that does.
|
||||||
if [ -z "$PASSES" ]; then
|
if [ -z "$PASSES" ]; then
|
||||||
ln ${PREFIX}.squashfs for-iso.filesystem.squashfs
|
isobuild generate-sources --mountpoint=/cdrom > chroot/etc/apt/sources.list.d/cdrom.sources
|
||||||
|
create_squashfs chroot for-iso.filesystem.squashfs
|
||||||
fi
|
fi
|
||||||
# Link kernel and initrd files. The ${thing#${PREFIX}} expansion strips
|
# Link kernel and initrd files. The ${thing#${PREFIX}} expansion strips
|
||||||
# the PREFIX, so "livecd.ubuntu-server.kernel-generic" becomes
|
# the PREFIX, so "livecd.ubuntu-server.kernel-generic" becomes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user