[rhel5-branch] Cut the size of the boot.img for ia64 in half (#556976).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is by removing (what I suppose is) redundant copy of the efi/boot's initrd
and vmlinuz. As a fallback, the elilo.conf in the root is still pointing at the
right files under efi/boot.
---
 scripts/mk-images.ia64 |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/scripts/mk-images.ia64 b/scripts/mk-images.ia64
index 5843aa8..3e3f52f 100644
--- a/scripts/mk-images.ia64
+++ b/scripts/mk-images.ia64
@@ -102,9 +102,20 @@ image=vmlinuz
         read-only
 	initrd=initrd.img
 EOF
+        # now crate a similar copy in the root of the image
+        # (this is arguably needed for certain EFI implementations)
+	cp -a $BOOTDISKDIR/* $MBD_BOOTTREE_TMP/
+	cp $MBD_BOOTTREE_TMP/elilo.efi $MBD_BOOTTREE_TMP/bootia64.efi
+	cat > $MBD_BOOTTREE_TMP/elilo.conf << EOF
+prompt	
+timeout=50
+relocatable
 
-	# make a copy in the root of the image
-	cp $MBD_BOOTTREE_TMP/EFI/boot/* $MBD_BOOTTREE_TMP
+image=efi/boot/vmlinuz
+        label=linux
+        read-only
+	initrd=efi/boot/initrd.img
+EOF
 }
 
 makeBootImages() {
-- 
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux