mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-11 19:31:18 +00:00
* Correct initrd.img symlink, kernel/hooks should actually produce the
right thing here, but meh. * Chroot to execute zipl, fails to boot otherwise.
This commit is contained in:
parent
6bd644f252
commit
8f825a91c9
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -30,6 +30,9 @@ livecd-rootfs (2.376ubuntu1) UNRELEASED; urgency=medium
|
||||
[ Dimitri John Ledkov ]
|
||||
* Do not remove linux-base, when purging all the linux-*, in the tarball
|
||||
build. Otherwise ubuntu-minimal is removed, and things get crazy.
|
||||
* Correct initrd.img symlink, kernel/hooks should actually produce the
|
||||
right thing here, but meh.
|
||||
* Chroot to execute zipl, fails to boot otherwise.
|
||||
|
||||
-- Ben Howard <ben.howard@ubuntu.com> Sun, 07 Feb 2016 16:59:41 -0700
|
||||
|
||||
|
@ -106,12 +106,18 @@ ramdisk = /boot/initrd.img
|
||||
parameters = root=LABEL=cloudimg-rootfs
|
||||
EOF
|
||||
|
||||
# Kernel initramfs hooks end up creating a copy
|
||||
# rather than a symlink FIXME
|
||||
pushd mountpoint/boot
|
||||
ln -sf initrd.img-* initrd.img
|
||||
popd
|
||||
|
||||
# Create bootmap file
|
||||
mountpoint/sbin/zipl -V \
|
||||
--image=mountpoint/boot/vmlinuz \
|
||||
--ramdisk=mountpoint/boot/initrd.img \
|
||||
chroot mountpoint /sbin/zipl -V \
|
||||
--image=/boot/vmlinuz \
|
||||
--ramdisk=/boot/initrd.img \
|
||||
--parameters='root=LABEL=cloudimg-rootfs' \
|
||||
--target=mountpoint/boot/ \
|
||||
--target=/boot/ \
|
||||
--targetbase=/dev/loop0 \
|
||||
--targettype=SCSI \
|
||||
--targetblocksize=512 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user