summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>2019-05-31 10:30:28 +0300
committerMikhail Kashkarov <m.kashkarov@partner.samsung.com>2019-09-05 13:50:59 +0300
commit0f314b39326642d76869038c87b0d826eb3c199b (patch)
tree6b62cd71d9e6d95ad7a07861f4231e4ea597a6d2
parent0410c37216522da7b8e2c98653e453e96df28439 (diff)
downloadqemu-accel-0f314b39326642d76869038c87b0d826eb3c199b.tar.gz
qemu-accel-0f314b39326642d76869038c87b0d826eb3c199b.tar.bz2
qemu-accel-0f314b39326642d76869038c87b0d826eb3c199b.zip
[W] Remove ldd warnings during python2.7/lib-dynload file processing
ldd: warning: you do not have execution permission for `/usr/lib64/python2.7/lib-dynload/_bsddb.so' <60 more mesages> .... Change-Id: I745a7a8143ee2f5d912d6a2ca8d99f605cb0b574
-rw-r--r--packaging/qemu-accel-aarch64.spec2
-rw-r--r--packaging/qemu-accel-armv7hl.spec2
-rw-r--r--packaging/qemu-accel-armv7l.spec2
-rw-r--r--packaging/qemu-accel.spec.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec
index bae555f..d21f4a6 100644
--- a/packaging/qemu-accel-aarch64.spec
+++ b/packaging/qemu-accel-aarch64.spec
@@ -185,7 +185,7 @@ function prepare_package_list {
echo "Setting up $name for $executables"
## Prepare the clang binaries separately
for executable in $executables; do
- bins="$bins $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
+ bins="$bins $executable `ldd $executable 2>/dev/null | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done
for b in $(echo "$bins" | tr ' ' '\n' | sort -u); do
diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec
index 7cbdc5b..8898301 100644
--- a/packaging/qemu-accel-armv7hl.spec
+++ b/packaging/qemu-accel-armv7hl.spec
@@ -185,7 +185,7 @@ function prepare_package_list {
echo "Setting up $name for $executables"
## Prepare the clang binaries separately
for executable in $executables; do
- bins="$bins $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
+ bins="$bins $executable `ldd $executable 2>/dev/null | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done
for b in $(echo "$bins" | tr ' ' '\n' | sort -u); do
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index d77fe1c..f8eebaa 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -185,7 +185,7 @@ function prepare_package_list {
echo "Setting up $name for $executables"
## Prepare the clang binaries separately
for executable in $executables; do
- bins="$bins $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
+ bins="$bins $executable `ldd $executable 2>/dev/null | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done
for b in $(echo "$bins" | tr ' ' '\n' | sort -u); do
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in
index fe4718c..4044bb6 100644
--- a/packaging/qemu-accel.spec.in
+++ b/packaging/qemu-accel.spec.in
@@ -182,7 +182,7 @@ function prepare_package_list {
echo "Setting up $name for $executables"
## Prepare the clang binaries separately
for executable in $executables; do
- bins="$bins $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
+ bins="$bins $executable `ldd $executable 2>/dev/null | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done
for b in $(echo "$bins" | tr ' ' '\n' | sort -u); do