summaryrefslogtreecommitdiffstats
path: root/scripts/upd-initrd
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-08-29 11:53:35 +0000
committerJeremy Katz <katzj@redhat.com>2006-08-29 11:53:35 +0000
commitbaed7ebdda1addae20db82f7d56c110ea8c014ce (patch)
treeb264dae0ecc41252a118d6bef1cbff3589e6101b /scripts/upd-initrd
parentbb826a366cad81048abe06da498bddddf76538ff (diff)
downloadanaconda-baed7ebdda1addae20db82f7d56c110ea8c014ce.tar.gz
anaconda-baed7ebdda1addae20db82f7d56c110ea8c014ce.tar.xz
anaconda-baed7ebdda1addae20db82f7d56c110ea8c014ce.zip
2006-08-29 Jeremy Katz <katzj@redhat.com>
* anaconda.spec: Bump version * scripts/upd-initrd: Handle updating more than just /sbin/loader
Diffstat (limited to 'scripts/upd-initrd')
-rwxr-xr-xscripts/upd-initrd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upd-initrd b/scripts/upd-initrd
index 4afb2ddf3..e16d9ecdb 100755
--- a/scripts/upd-initrd
+++ b/scripts/upd-initrd
@@ -21,7 +21,7 @@ fi
tmpdir=$(mktemp -d)
pushd $tmpdir
zcat $INITRD |cpio -id
-strip -s -o sbin/loader $BIN
+strip -s -o sbin/$(basename $BIN) $BIN
(find . |cpio -c -o |gzip -9) > $OUT
popd
rm -rf $tmpdir