diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-02-10 08:36:05 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-02-10 08:36:05 +0000 |
commit | 622f2aa7921f76c130a8afc3012128e9b1b63103 (patch) | |
tree | 5cdb362aa6a1695edaf623f5364d30cb32ac981a /app-admin/smolt/files/smolt-1.4.3-hwdata-dir.patch | |
parent | Cleanup masked package (diff) | |
download | gentoo-2-622f2aa7921f76c130a8afc3012128e9b1b63103.tar.gz gentoo-2-622f2aa7921f76c130a8afc3012128e9b1b63103.tar.bz2 gentoo-2-622f2aa7921f76c130a8afc3012128e9b1b63103.zip |
Cleanup masked package
Diffstat (limited to 'app-admin/smolt/files/smolt-1.4.3-hwdata-dir.patch')
-rw-r--r-- | app-admin/smolt/files/smolt-1.4.3-hwdata-dir.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/app-admin/smolt/files/smolt-1.4.3-hwdata-dir.patch b/app-admin/smolt/files/smolt-1.4.3-hwdata-dir.patch deleted file mode 100644 index 1820f8207a73..000000000000 --- a/app-admin/smolt/files/smolt-1.4.3-hwdata-dir.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/client/config.py -+++ b/client/config.py -@@ -14,6 +14,7 @@ PUB_UUID = "/etc/smolt/pub-uuid" - PUB_UUID = "/etc/smolt/pub-uuid" - #UUID_DB = "/etc/smolt/uuiddb.cfg" - #ADMIN_TOKEN = "/etc/sysconfig/smolt-token" -+#HWDATA_DIR = "/usr/share/hwdata" - - - #These are the defaults taken from the source code. ---- a/client/hwdata.py -+++ b/client/hwdata.py -@@ -20,7 +20,8 @@ class DeviceMap: - self.vendors['usb'] = self.device_map('usb') - - def device_map(self, bus='pci'): -- fn = "/usr/share/hwdata/%s.ids" % bus -+ from smolt import get_config_attr -+ fn = "%s/%s.ids" % (get_config_attr("HWDATA_DIR", "/usr/share/hwdata"), bus) - fo = open(fn, 'r') - vendors = {} - curvendor = None |