summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-04-20 16:02:07 +0000
committerBill Nottingham <notting@redhat.com>2001-04-20 16:02:07 +0000
commitfd05067e4cb0c72aeb1ffe6d72a1e3270a89e5a7 (patch)
tree708ae052909f8cca1881c0ffeb6902621312276d
parent302fb35e55ce322500372979bd8b959e71c3d1a3 (diff)
downloadanaconda-fd05067e4cb0c72aeb1ffe6d72a1e3270a89e5a7.tar.gz
anaconda-fd05067e4cb0c72aeb1ffe6d72a1e3270a89e5a7.tar.xz
anaconda-fd05067e4cb0c72aeb1ffe6d72a1e3270a89e5a7.zip
compressed kernels for ia64
-rw-r--r--elilo.py6
-rw-r--r--scripts/mk-images.ia646
2 files changed, 6 insertions, 6 deletions
diff --git a/elilo.py b/elilo.py
index cd0184447..38485ece8 100644
--- a/elilo.py
+++ b/elilo.py
@@ -84,7 +84,7 @@ class EliloConfiguration:
for (label, kernel, tag) in kernelList:
kernelTag = "-%s-%s%s" % (kernel[rpm.RPMTAG_VERSION],
kernel[rpm.RPMTAG_RELEASE], tag)
- kernelFile = "vmlinux" + kernelTag
+ kernelFile = "vmlinuz" + kernelTag
try:
(fsType, sl) = elilo.getImage(label)
@@ -132,12 +132,12 @@ if __name__ == "__main__":
config.read ('/boot/efi/elilo.conf')
print config
print "image list", config.listImages()
- config.delImage ('vmlinux-2.4.0-0.32')
+ config.delImage ('vmlinuz-2.4.0-0.32')
print '----------------------------------'
config = LiloConfigFile ()
config.read ('/boot/efi/elilo.conf')
print config
print '----------------------------------'
- print config.getImage('vmlinux-2.4.0-0.32')
+ print config.getImage('vmlinuz-2.4.0-0.32')
diff --git a/scripts/mk-images.ia64 b/scripts/mk-images.ia64
index d1a8b3e44..8dba580d5 100644
--- a/scripts/mk-images.ia64
+++ b/scripts/mk-images.ia64
@@ -14,18 +14,18 @@ prepareBootImage() {
cp $MBD_FSIMAGE $MBD_BOOTTREE/initrd.img
cp -a $BOOTDISKDIR/* $MBD_BOOTTREE/
- cp $KERNELROOT/boot/efi/vmlinux-* $MBD_BOOTTREE/vmlinux
+ cp $KERNELROOT/boot/efi/vmlinuz-* $MBD_BOOTTREE/vmlinuz
cat > $MBD_BOOTTREE/elilo.conf << EOF
timeout=5
-image=vmlinux
+image=vmlinuz
label=linux
read-only
initrd=initrd.img
EOF
}
-makebootdisk --kernelto $TOPDESTPATH/kernels/vmlinux \
+makebootdisk --kernelto $TOPDESTPATH/kernels/vmlinuz \
--imagename boot.img \
--bootdisksize 10240 \
--initrdflags '--initrdto $TOPDESTPATH/images/ramdisk.img \