mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-12 11:22:09 +00:00
move skip_lb_stage to config
This commit is contained in:
parent
416ef912ed
commit
4b66f89e56
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
|||||||
livecd-rootfs (2.505~ppa1) bionic; urgency=medium
|
livecd-rootfs (2.505~ppa2) bionic; urgency=medium
|
||||||
|
|
||||||
* Move casper from filesystem.squashfs to installer.squashfs.
|
* Move casper from filesystem.squashfs to installer.squashfs.
|
||||||
|
|
||||||
|
@ -116,6 +116,12 @@ if [ -z "${IMAGEFORMAT:-}" ]; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
skip_lb_stage() {
|
||||||
|
STAGE="$1"
|
||||||
|
mkdir -p .build
|
||||||
|
touch ".build/$STAGE"
|
||||||
|
}
|
||||||
|
|
||||||
case $IMAGEFORMAT in
|
case $IMAGEFORMAT in
|
||||||
ext2|ext3|ext4)
|
ext2|ext3|ext4)
|
||||||
OPTS="${OPTS:+$OPTS }--initramfs none --chroot-filesystem $IMAGEFORMAT"
|
OPTS="${OPTS:+$OPTS }--initramfs none --chroot-filesystem $IMAGEFORMAT"
|
||||||
|
@ -330,12 +330,6 @@ undivert_grub() {
|
|||||||
--rename /usr/bin/systemd-detect-virt
|
--rename /usr/bin/systemd-detect-virt
|
||||||
}
|
}
|
||||||
|
|
||||||
skip_lb_stage() {
|
|
||||||
STAGE="$1"
|
|
||||||
mkdir -p .build
|
|
||||||
touch ".build/$STAGE"
|
|
||||||
}
|
|
||||||
|
|
||||||
recreate_initramfs() {
|
recreate_initramfs() {
|
||||||
# Regenerate the initramfs by running update-initramfs in the
|
# Regenerate the initramfs by running update-initramfs in the
|
||||||
# chroot at $1 and copying the generated initramfs
|
# chroot at $1 and copying the generated initramfs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user