summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-13 10:06:47 -0400
committerChris Lumens <clumens@redhat.com>2009-04-13 10:06:47 -0400
commitc6a2f8b2759e9c81a07afd092f2510f80ed72ac4 (patch)
tree80ac0e6d31ca838800ec3f0b88b1b99ab53130c0
parent43d8a6cef348f48ed2bf19387d5c5fe11b548c92 (diff)
downloadanaconda-c6a2f8b2759e9c81a07afd092f2510f80ed72ac4.tar.gz
anaconda-c6a2f8b2759e9c81a07afd092f2510f80ed72ac4.tar.xz
anaconda-c6a2f8b2759e9c81a07afd092f2510f80ed72ac4.zip
Fix image generation so all ELF binaries have their deps included (#495231).
-rwxr-xr-xscripts/mk-images4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index e0dc4ab40..523800efe 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -362,9 +362,9 @@ instbin() {
DIR=$3
DEST=$4
- iself="$(file $ROOT/$BIN | grep ELF | grep executable)"
+ iself="$(file $ROOT/$BIN | grep ELF)"
- if [ -l $ROOT/$BIN ]; then
+ if [ -L $ROOT/$BIN ]; then
cp -a $ROOT/$BIN $DIR/$DEST
else
if [ -z "$iself" ]; then