[rhel6-branch 2/2] Create pci.ids in the same location we did before.
tcely
installerbot-noreply at redhat.com
Fri Nov 13 05:40:24 UTC 2015
From: Christopher Ely <cely at tenable.com>
In commit 7971fbec83064b096a6592055d66df573bdb8eea, the "pushd
$MMB_DIR/modules" was removed. Before that, ../pci.ids meant
$MMB_DIR/pci.ids.
This was noticed when I found pci.ids sitting above my working directory
on a CentOS 6 machine.
---
scripts/mk-images | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/mk-images b/scripts/mk-images
index e904df1..a39eaef 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -521,7 +521,7 @@ EOF
# create the pci.ids, from modules.alias and the X driver aliases
awk '!/^(\t\t|#)/ { print ;if ($0 == "ffff Illegal Vendor ID") nextfile; }' < $PCIIDS | \
- $TRIMPCIIDS $MMB_DIR/lib/modules/*/modules.alias $XDRIVERS/* > ../pci.ids
+ $TRIMPCIIDS $MMB_DIR/lib/modules/$KDIR/modules.alias $XDRIVERS/* > $MMB_DIR/pci.ids
}
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/ff4b02f1a7f3b38e77370f7044ec3230d55a6f94
More information about the anaconda-patches
mailing list