diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-08-29 11:53:35 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-08-29 11:53:35 +0000 |
commit | baed7ebdda1addae20db82f7d56c110ea8c014ce (patch) | |
tree | b264dae0ecc41252a118d6bef1cbff3589e6101b /scripts/upd-initrd | |
parent | bb826a366cad81048abe06da498bddddf76538ff (diff) | |
download | anaconda-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-x | scripts/upd-initrd | 2 |
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 |