diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-01-22 21:26:25 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-01-22 21:26:25 +0000 |
commit | af27c33fbcaea57f797562de1c239041b3ac4a2a (patch) | |
tree | 890799fb080f23196176ed7999580a117a1cbf3a /scripts | |
parent | 1ef05fef36a5d3d8d0695fb77c5e5587315ef91d (diff) | |
download | anaconda-af27c33fbcaea57f797562de1c239041b3ac4a2a.tar.gz anaconda-af27c33fbcaea57f797562de1c239041b3ac4a2a.tar.xz anaconda-af27c33fbcaea57f797562de1c239041b3ac4a2a.zip |
handle wackiness on ia64
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/upd-bootimage | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/upd-bootimage b/scripts/upd-bootimage index c2909929e..e583cbc03 100755 --- a/scripts/upd-bootimage +++ b/scripts/upd-bootimage @@ -40,6 +40,9 @@ fi umount $LOOPMNT gzip -9 < $INITRD > $INITRD.new cp $INITRD.new $MNTPOINT/initrd.img +if [ -f $MNTPOINT/efi/boot/initrd.img ]; then + cp $INITRD.new $MNTPOINT/efi/boot/initrd.img +fi umount $MNTPOINT if [ -n "$3" -a -f "$3" ]; then |