|
|
@ -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 \
|
|
|
|