summaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
parentea1fd6ba3a5539c5efc7f39858446f67dd8e8112 (diff)
downloadlibrpm-tizen-f8e026a6a15c0b384138b535eb49bf12a31367e1.tar.gz
librpm-tizen-f8e026a6a15c0b384138b535eb49bf12a31367e1.tar.bz2
librpm-tizen-f8e026a6a15c0b384138b535eb49bf12a31367e1.zip
Firmware dependencies
Diffstat (limited to 'scripts')
-rw-r--r--scripts/firmware.prov8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/firmware.prov b/scripts/firmware.prov
new file mode 100644
index 000000000..12f8336eb
--- /dev/null
+++ b/scripts/firmware.prov
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Add firmware files in /lib/firmware into RPM provides
+
+while read instfile ; do
+ case $instfile in
+ */lib/firmware/*) test -f "$instfile" && echo "firmware(${instfile##*/lib/firmware/})" ;;
+ esac
+done