mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 19:01:30 +00:00
live-build/ubuntu-mini-iso/hooks/01-mini-iso.binary: Drop the assumption that the uncompressed part of the initrd is unpacked to a directory called "main".
This commit is contained in:
parent
9930bcd9b4
commit
11f1a1dc84
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,8 +1,14 @@
|
||||
livecd-rootfs (25.04.17) UNRELEASED; urgency=medium
|
||||
|
||||
[ Dan Bungert ]
|
||||
* Fix build failure when using lowlatency-hwe-24.04, as ubuntustudio does.
|
||||
(LP: #2098105)
|
||||
|
||||
[ Michael Hudson-Doyle ]
|
||||
* live-build/ubuntu-mini-iso/hooks/01-mini-iso.binary: Drop the
|
||||
assumption that the uncompressed part of the initrd is unpacked to a
|
||||
directory called "main".
|
||||
|
||||
-- Dan Bungert <daniel.bungert@canonical.com> Thu, 13 Feb 2025 13:10:24 -0700
|
||||
|
||||
livecd-rootfs (25.04.16) plucky; urgency=medium
|
||||
|
@ -46,15 +46,15 @@ touch ubuntu-mini-iso/$ARCH/tree/.disk/base_installable
|
||||
|
||||
tmpdir=$(mktemp -d)
|
||||
unmkinitramfs $INITRD $tmpdir
|
||||
if [ -e "$tmpdir/main/conf/uuid.conf" ]; then
|
||||
uuid_conf="$tmpdir/main/conf/uuid.conf"
|
||||
if [ -e $tmpdir/*/conf/uuid.conf ]; then
|
||||
uuid_conf=$tmpdir/*/conf/uuid.conf
|
||||
elif [ -e "$tmpdir/conf/uuid.conf" ]; then
|
||||
uuid_conf="$tmpdir/conf/uuid.conf"
|
||||
else
|
||||
echo "uuid.conf not found"
|
||||
exit 1
|
||||
fi
|
||||
cp "$uuid_conf" ubuntu-mini-iso/$ARCH/tree/.disk/casper-uuid-generic
|
||||
cp $uuid_conf ubuntu-mini-iso/$ARCH/tree/.disk/casper-uuid-generic
|
||||
rm -fr $tmpdir
|
||||
|
||||
cat > ubuntu-mini-iso/$ARCH/tree/.disk/cd_type <<EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user