summaryrefslogtreecommitdiff
path: root/autodeps
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-11 15:30:04 -0700
committerAnas Nashif <anas.nashif@intel.com>2013-02-02 16:44:15 -0800
commitf8e026a6a15c0b384138b535eb49bf12a31367e1 (patch)
tree199da6d83e158c91d13efc551ec386b94e870aff /autodeps
parentea1fd6ba3a5539c5efc7f39858446f67dd8e8112 (diff)
downloadlibrpm-tizen-f8e026a6a15c0b384138b535eb49bf12a31367e1.tar.gz
librpm-tizen-f8e026a6a15c0b384138b535eb49bf12a31367e1.tar.bz2
librpm-tizen-f8e026a6a15c0b384138b535eb49bf12a31367e1.zip
Firmware dependencies
Diffstat (limited to 'autodeps')
-rw-r--r--autodeps/linux.prov6
1 files changed, 6 insertions, 0 deletions
diff --git a/autodeps/linux.prov b/autodeps/linux.prov
index 26272d8f5..166743dca 100644
--- a/autodeps/linux.prov
+++ b/autodeps/linux.prov
@@ -11,6 +11,7 @@ solist=($(printf "%s\n" "${filelist[@]}" | grep "\\.so" | grep -v "^/lib/ld.so"
pythonlist=
tcllist=
monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$"))
+firmwarelist=($(printf "%s\n" "${filelist[@]}" | grep "/lib/firmware/"))
#
# --- Alpha does not mark 64bit dependencies
@@ -59,6 +60,11 @@ done | sort -u
printf "%s\n" "${tcllist[@]}" | /usr/lib/rpm/tcl.prov | sort -u
#
+# --- firmware files
+[ -x /usr/lib/rpm/firmware.prov -a -n "$firmwarelist" ] &&
+ printf "%s\n" "${firmwarelist[@]}" | /usr/lib/rpm/firmware.prov | sort -u
+
+#
# --- Mono exes/dlls
: ${MONO_PREFIX=/usr}
if [ -x $MONO_PREFIX/bin/mono -a -n "$monolist" ] ; then