Tiny Core Extensions > TCE Bugs

Incorrect backup instructions in pci-utils.tcz.info in TC9 and TC10

(1/1)

Rich:
pci-utils.tcz is identical in TC9 and TC10 so this applies to both.

Change the line about backing up updates
From:

--- Code: ---add usr/local/share/pci.ids.gz to your backup to keep the update
--- End code ---

To:

--- Code: ---add usr/local/share/hwdata/pci.ids.gz to your backup to keep the update
--- End code ---

From lspci help:

--- Code: ---Usage: lspci [<switches>]

 ---- SNIP ----
Other options:
-i <file>       Use specified ID database instead of /usr/local/share/hwdata/pci.ids.gz
-p <file>       Look up kernel modules in a given file instead of default modules.pcimap
-M              Enable `bus mapping' mode (dangerous; root only)
 ---- SNIP ----
--- End code ---

From the tce-installed file:

--- Code: ---tc@box:~$ cat /usr/local/tce.installed/pci-utils
#!/bin/sh

if [ ! -d /usr/local/share/hwdata ]; then
  mkdir -p /usr/local/share/hwdata
fi

if [ ! -f /usr/local/share/hwdata/pci.ids.gz ]; then
  cp /usr/local/share/pciutils/files/pci.ids.gz /usr/local/share/hwdata
fi
tc@box:~$
--- End code ---

Attached is a corrected  .info  file with the correction noted in the change log.

Juanito:
info file updated - thanks  :)

Rich:
Hi Juanito
Trying to access:
http://tinycorelinux.net/10.x/x86/tcz/pci-utils.tcz.info
gives a  403 Forbidden  message.

Juanito:
It should be OK now

Navigation

[0] Message Index

Go to full version