mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 17:31:38 +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 ]
|
[ Dimitri John Ledkov ]
|
||||||
* Do not remove linux-base, when purging all the linux-*, in the tarball
|
* Do not remove linux-base, when purging all the linux-*, in the tarball
|
||||||
build. Otherwise ubuntu-minimal is removed, and things get crazy.
|
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
|
-- 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
|
parameters = root=LABEL=cloudimg-rootfs
|
||||||
EOF
|
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
|
# Create bootmap file
|
||||||
mountpoint/sbin/zipl -V \
|
chroot mountpoint /sbin/zipl -V \
|
||||||
--image=mountpoint/boot/vmlinuz \
|
--image=/boot/vmlinuz \
|
||||||
--ramdisk=mountpoint/boot/initrd.img \
|
--ramdisk=/boot/initrd.img \
|
||||||
--parameters='root=LABEL=cloudimg-rootfs' \
|
--parameters='root=LABEL=cloudimg-rootfs' \
|
||||||
--target=mountpoint/boot/ \
|
--target=/boot/ \
|
||||||
--targetbase=/dev/loop0 \
|
--targetbase=/dev/loop0 \
|
||||||
--targettype=SCSI \
|
--targettype=SCSI \
|
||||||
--targetblocksize=512 \
|
--targetblocksize=512 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user