From 26b8f224527acffafd28e323593cadf82e05c141 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 14 Dec 2012 08:47:32 -0600 Subject: [PATCH] ubuntu: now that the initial boot partition is saved from destruction, move this back to the boot partition, instead of increasing the initrd size Signed-off-by: Robert Nelson --- mk_mmc.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index f34f0b6..88315e3 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1021,11 +1021,7 @@ function flash_kernel_base_installer { rm -f /target/mounts || true umount /target/sys - if [ -f /target/boot/uboot/${fki_vmlinuz} ] ; then - cp /target/boot/uboot/${fki_vmlinuz} /target/boot/${fki_vmlinuz} - else - cp /etc/hwpack/${fki_vmlinuz} /target/boot/${fki_vmlinuz} - fi + cp /target/boot/uboot/${fki_vmlinuz} /target/boot/${fki_vmlinuz} cp /target/boot/initrd.img-\$(uname -r) /target/boot/${fki_initrd} sync umount /target/boot/uboot @@ -1163,9 +1159,6 @@ function initrd_device_settings { usbnet_mem=${usbnet_mem} __EOF__ - - #vmlinuz for ubuntu flash-kernel script... - cp -v ${TEMPDIR}/kernel/boot/vmlinuz-* ${TEMPDIR}/initrd-tree/etc/hwpack/${fki_vmlinuz} } function recompress_initrd {