Fix pciutils clean target, download an updated pciids database on postinst
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7661 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bbb9303f43
commit
aba124b11c
@ -32,6 +32,11 @@ define Package/pciutils
|
||||
URL:=http://www.kernel.org/pub/software/utils/pciutils/
|
||||
endef
|
||||
|
||||
define Package/pciutils/postinst
|
||||
#!/bin/sh
|
||||
update-pciids.sh
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
@ -55,13 +60,13 @@ endef
|
||||
|
||||
define Build/UninstallDev
|
||||
rm -rf \
|
||||
$(STAGING_DIR)/usr/include/pci
|
||||
$(STAGING_DIR)/usr/include/pci \
|
||||
$(STAGING_DIR)/usr/lib/libpci.a
|
||||
endef
|
||||
|
||||
define Package/pciutils/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(CP) $(PKG_BUILD_DIR)/{lspci,setpci} $(1)/usr/sbin/
|
||||
$(CP) $(PKG_BUILD_DIR)/{lspci,setpci,update-pciids.sh} $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/usr/share
|
||||
$(CP) $(PKG_BUILD_DIR)/pci.ids $(1)/usr/share/
|
||||
endef
|
||||
|
Loading…
x
Reference in New Issue
Block a user