diff --git a/.cvsignore b/.cvsignore index 07c413c..5ec0886 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,3 @@ clog anaconda-11.5.0.41.tar.bz2 +anaconda-11.5.0.42.tar.bz2 diff --git a/anaconda-efi.patch b/anaconda-efi.patch index ba25df0..ac71574 100644 --- a/anaconda-efi.patch +++ b/anaconda-efi.patch @@ -1,6 +1,6 @@ -diff -up anaconda-11.5.0.37/bootdisk/i386/grub.conf.orig anaconda-11.5.0.37/bootdisk/i386/grub.conf ---- anaconda-11.5.0.37/bootdisk/i386/grub.conf.orig 2009-03-24 15:41:58.000000000 -1000 -+++ anaconda-11.5.0.37/bootdisk/i386/grub.conf 2009-03-24 16:02:53.000000000 -1000 +diff -ruN anaconda-11.5.0.42.orig/bootdisk/i386/grub.conf anaconda-11.5.0.42/bootdisk/i386/grub.conf +--- anaconda-11.5.0.42.orig/bootdisk/i386/grub.conf 2009-04-09 16:53:01.000000000 -0400 ++++ anaconda-11.5.0.42/bootdisk/i386/grub.conf 2009-04-09 17:00:45.000000000 -0400 @@ -1,8 +1,8 @@ #debug --graphics default=0 @@ -13,9 +13,9 @@ diff -up anaconda-11.5.0.37/bootdisk/i386/grub.conf.orig anaconda-11.5.0.37/boot - initrd /EFI/boot/initrd.img + kernel @KERNELPATH@ + initrd @INITRDPATH@ -diff -up anaconda-11.5.0.37/bootdisk/x86_64/grub.conf.orig anaconda-11.5.0.37/bootdisk/x86_64/grub.conf ---- anaconda-11.5.0.37/bootdisk/x86_64/grub.conf.orig 2009-03-24 15:41:58.000000000 -1000 -+++ anaconda-11.5.0.37/bootdisk/x86_64/grub.conf 2009-03-24 16:02:53.000000000 -1000 +diff -ruN anaconda-11.5.0.42.orig/bootdisk/x86_64/grub.conf anaconda-11.5.0.42/bootdisk/x86_64/grub.conf +--- anaconda-11.5.0.42.orig/bootdisk/x86_64/grub.conf 2009-04-09 16:53:01.000000000 -0400 ++++ anaconda-11.5.0.42/bootdisk/x86_64/grub.conf 2009-04-09 17:00:45.000000000 -0400 @@ -1,8 +1,8 @@ #debug --graphics default=0 @@ -28,10 +28,10 @@ diff -up anaconda-11.5.0.37/bootdisk/x86_64/grub.conf.orig anaconda-11.5.0.37/bo - initrd /EFI/boot/initrd.img + kernel @KERNELPATH@ + initrd @INITRDPATH@ -diff -up anaconda-11.5.0.37/scripts/buildinstall.orig anaconda-11.5.0.37/scripts/buildinstall ---- anaconda-11.5.0.37/scripts/buildinstall.orig 2009-03-24 15:41:58.000000000 -1000 -+++ anaconda-11.5.0.37/scripts/buildinstall 2009-03-24 16:02:53.000000000 -1000 -@@ -219,8 +219,9 @@ echo "Writing .treeinfo file..." +diff -ruN anaconda-11.5.0.42.orig/scripts/buildinstall anaconda-11.5.0.42/scripts/buildinstall +--- anaconda-11.5.0.42.orig/scripts/buildinstall 2009-04-09 16:53:01.000000000 -0400 ++++ anaconda-11.5.0.42/scripts/buildinstall 2009-04-09 17:00:45.000000000 -0400 +@@ -219,8 +219,9 @@ $MK_TREEINFO --family="$PRODUCTSTR" ${VARIANT:+--variant="$VARIANT"} --version=$VERSION --arch=$BASEARCH --outfile=$OUTPUT/.treeinfo # FIXME: need to update mk-images to take the yumconf @@ -43,10 +43,21 @@ diff -up anaconda-11.5.0.37/scripts/buildinstall.orig anaconda-11.5.0.37/scripts echo "Writing .discinfo file" $MK_STAMP --releasestr="$RELEASESTR" --arch=$BASEARCH --discNum="ALL" --outfile=$OUTPUT/.discinfo -diff -up anaconda-11.5.0.37/scripts/mk-images.efi.orig anaconda-11.5.0.37/scripts/mk-images.efi ---- anaconda-11.5.0.37/scripts/mk-images.efi.orig 2009-03-24 15:41:58.000000000 -1000 -+++ anaconda-11.5.0.37/scripts/mk-images.efi 2009-03-24 16:02:53.000000000 -1000 -@@ -45,6 +45,7 @@ makeefibootdisk() +diff -ruN anaconda-11.5.0.42.orig/scripts/mk-images anaconda-11.5.0.42/scripts/mk-images +--- anaconda-11.5.0.42.orig/scripts/mk-images 2009-04-09 16:53:01.000000000 -0400 ++++ anaconda-11.5.0.42/scripts/mk-images 2009-04-09 17:00:45.000000000 -0400 +@@ -889,6 +889,7 @@ + # this gets overloaded if we're on an EFI-capable arch (... with grub) + makeEfiImages() + { ++ echo "Not on an EFI capable machine; skipping EFI images." + /bin/true + } + +diff -ruN anaconda-11.5.0.42.orig/scripts/mk-images.efi anaconda-11.5.0.42/scripts/mk-images.efi +--- anaconda-11.5.0.42.orig/scripts/mk-images.efi 2009-04-09 16:53:01.000000000 -0400 ++++ anaconda-11.5.0.42/scripts/mk-images.efi 2009-04-09 17:00:45.000000000 -0400 +@@ -45,6 +45,7 @@ #makeefibootimage required for EFI bootloader dosfs image makeefibootimage() { @@ -54,7 +65,7 @@ diff -up anaconda-11.5.0.37/scripts/mk-images.efi.orig anaconda-11.5.0.37/script MBD_FILENAME="" KERNELFILE="" INITRDFILE="" -@@ -57,20 +58,29 @@ makeefibootimage() { +@@ -57,20 +58,29 @@ KERNELFILE=$2 shift; shift continue @@ -85,7 +96,7 @@ diff -up anaconda-11.5.0.37/scripts/mk-images.efi.orig anaconda-11.5.0.37/script exit 1 done -@@ -111,6 +121,7 @@ makeefibootimage() { +@@ -111,6 +121,7 @@ # prepare and build an efiboot.img. prepareEfiImage() { @@ -93,7 +104,7 @@ diff -up anaconda-11.5.0.37/scripts/mk-images.efi.orig anaconda-11.5.0.37/script prepareEfiTree || return 1 # dynamically calculate the size of the dosfs -@@ -125,47 +136,65 @@ prepareEfiImage() { +@@ -125,47 +136,65 @@ # prepare a directory with the kernel, initrd, and various message files # used to populate the efi boot image prepareEfiTree() { @@ -176,7 +187,7 @@ diff -up anaconda-11.5.0.37/scripts/mk-images.efi.orig anaconda-11.5.0.37/script yumconf="$1" echo "Making EFI images ($PWD)" if [ "$kernelvers" != "$kernelxen" ]; then -@@ -182,9 +211,10 @@ makeEfiImages() { +@@ -182,9 +211,10 @@ return 1 fi echo "Building efiboot.img for ${efiarch}/$KERNELARCH at $TOPDESTPATH/images/efiboot.img" @@ -188,7 +199,7 @@ diff -up anaconda-11.5.0.37/scripts/mk-images.efi.orig anaconda-11.5.0.37/script --kernel $TOPDESTPATH/images/pxeboot/vmlinuz \ --initrd $TOPDESTPATH/images/pxeboot/initrd.img \ --grubpkg ${grubpkg} -@@ -194,13 +224,16 @@ makeEfiImages() { +@@ -194,13 +224,16 @@ return $ret fi @@ -208,21 +219,1017 @@ diff -up anaconda-11.5.0.37/scripts/mk-images.efi.orig anaconda-11.5.0.37/script --grubpkg ${grubpkg} local ret=$? if [ $ret -ne 0 ]; then -diff -up anaconda-11.5.0.37/scripts/mk-images.orig anaconda-11.5.0.37/scripts/mk-images ---- anaconda-11.5.0.37/scripts/mk-images.orig 2009-03-24 15:41:58.000000000 -1000 -+++ anaconda-11.5.0.37/scripts/mk-images 2009-03-24 16:02:53.000000000 -1000 -@@ -870,6 +870,7 @@ doPostImages() { - # this gets overloaded if we're on an EFI-capable arch (... with grub) - makeEfiImages() - { -+ echo "Not on an EFI capable machine; skipping EFI images." - /bin/true - } - -diff -up anaconda-11.5.0.37/scripts/mk-images.x86.orig anaconda-11.5.0.37/scripts/mk-images.x86 ---- anaconda-11.5.0.37/scripts/mk-images.x86.orig 2009-03-24 15:41:58.000000000 -1000 -+++ anaconda-11.5.0.37/scripts/mk-images.x86 2009-03-24 16:02:53.000000000 -1000 -@@ -159,15 +159,16 @@ doPostImages() { +diff -ruN anaconda-11.5.0.42.orig/scripts/mk-images.orig anaconda-11.5.0.42/scripts/mk-images.orig +--- anaconda-11.5.0.42.orig/scripts/mk-images.orig 1969-12-31 19:00:00.000000000 -0500 ++++ anaconda-11.5.0.42/scripts/mk-images.orig 2009-04-09 16:53:01.000000000 -0400 +@@ -0,0 +1,1003 @@ ++#!/bin/bash ++# ++# mk-images ++# ++# Copyright (C) 2007 Red Hat, Inc. All rights reserved. ++# ++# This program is free software; you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation; either version 2 of the License, or ++# (at your option) any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with this program. If not, see . ++# ++ ++LANG=C ++ ++PATH=$PATH:/sbin:/usr/sbin ++IMAGEUUID=$(date +%Y%m%d%H%M).$(uname -i) ++TMPDIR=${TMPDIR:-/tmp} ++ ++usage () { ++ echo "usage: mk-images