mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
Similar changes for ubuntu-mini-iso build.
This commit is contained in:
parent
8d7efb4d15
commit
e7153d9d3d
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -5,6 +5,7 @@ livecd-rootfs (25.04.12) UNRELEASED; urgency=medium
|
|||||||
early" hook for the installer layer and remove the now unnecessary
|
early" hook for the installer layer and remove the now unnecessary
|
||||||
update-initramfs from the binary hook that breaks because mkinitramfs
|
update-initramfs from the binary hook that breaks because mkinitramfs
|
||||||
now requires that /sys is mounted. (LP: #2097280)
|
now requires that /sys is mounted. (LP: #2097280)
|
||||||
|
* Similar changes for ubuntu-mini-iso build.
|
||||||
|
|
||||||
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Wed, 05 Feb 2025 11:20:05 +1300
|
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Wed, 05 Feb 2025 11:20:05 +1300
|
||||||
|
|
||||||
|
@ -15,13 +15,6 @@ esac
|
|||||||
KERNEL=chroot/boot/vmlinuz
|
KERNEL=chroot/boot/vmlinuz
|
||||||
INITRD=chroot/boot/initrd.img
|
INITRD=chroot/boot/initrd.img
|
||||||
|
|
||||||
mkdir -p "chroot/etc/initramfs-tools/conf.d"
|
|
||||||
cat > chroot/etc/initramfs-tools/conf.d/casperize.conf <<EOF
|
|
||||||
export CASPER_GENERATE_UUID=1
|
|
||||||
EOF
|
|
||||||
|
|
||||||
chroot chroot update-initramfs -u
|
|
||||||
|
|
||||||
git clone https://git.launchpad.net/~ubuntu-cdimage/debian-cd/+git/ubuntu debian-cd
|
git clone https://git.launchpad.net/~ubuntu-cdimage/debian-cd/+git/ubuntu debian-cd
|
||||||
export BASEDIR=$(readlink -f debian-cd) DIST=$LB_DISTRIBUTION
|
export BASEDIR=$(readlink -f debian-cd) DIST=$LB_DISTRIBUTION
|
||||||
|
|
||||||
|
8
live-build/ubuntu-mini-iso/hooks/01-mini-iso.chroot_early
Executable file
8
live-build/ubuntu-mini-iso/hooks/01-mini-iso.chroot_early
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
mkdir -p "chroot/etc/initramfs-tools/conf.d"
|
||||||
|
cat > chroot/etc/initramfs-tools/conf.d/casperize.conf <<EOF
|
||||||
|
export CASPER_GENERATE_UUID=1
|
||||||
|
EOF
|
Loading…
x
Reference in New Issue
Block a user