PDA

Bekijk de volledige versie : Newbie asking help.



pripps
15-09-2008, 23:05
Hello

I want to install find, lsusb commando. What package do I need? How to use ipkg search file commando?
What file should I use post-boot or post-mount for automatation?

KR

wengi
16-09-2008, 07:35
I want to install find, lsusb commando. What package do I need? How to use ipkg search file commando?

[admin@blechbuechse root]$ ipkg search '*find*'
e2fsprogs - 1.41.0-1 - /opt/sbin/findfs
e2fsprogs - 1.41.0-1 - /opt/share/man/man8/findfs.8
findutils - 4.2.32-1 - /opt/bin/findutils-xargs
findutils - 4.2.32-1 - /opt/man/man1/find.1
findutils - 4.2.32-1 - /opt/bin/findutils-find
man-pages - 2.76-1 - /opt/man/man3p/tfind.3p.gz
man-pages - 2.76-1 - /opt/man/man3/lfind.3.gz
man-pages - 2.76-1 - /opt/man/man3/tfind.3.gz
man-pages - 2.76-1 - /opt/man/man1p/find.1p.gz
man-pages - 2.76-1 - /opt/man/man3p/lfind.3p.gz
perl - 5.8.8-20 - /opt/lib/perl5/5.8.8/mipsel-linux/auto/DynaLoader/dl_find_symbol_anywhere.al
perl - 5.8.8-20 - /opt/lib/perl5/5.8.8/mipsel-linux/auto/DynaLoader/dl_findfile.al
perl - 5.8.8-20 - /opt/bin/find2perl
perl - 5.8.8-20 - /opt/lib/perl5/5.8.8/finddepth.pl
perl - 5.8.8-20 - /opt/lib/perl5/5.8.8/find.pl
Successfully terminated.You are searching the findutils.


What file should I use post-boot or post-mount for automatation?Depends on what you are trying to do. Normaly post-boot.

wengi

pripps
16-09-2008, 09:09
Thank you wengi!

Strange but the same commando produce no result here.
Does it mean that it searches the local ipkg database only?
How to update it for get your result?

Regarding post-boot / post-mount I ask you another way:
which file is red first when booting?

KR

wengi
16-09-2008, 13:59
Hm...

maybe only the localy installed packages are searched...

Have a look at http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages or http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.filelist
Here you see lsusb -> usbutils.

post-boot is executed after post-mount.

wengi