Author Topic: install and coreutils  (Read 3963 times)

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
install and coreutils
« on: October 20, 2004, 03:09:32 am »
from this thread :

Quote
I searched for the "install" program and the package called coreutils has it on my Debian system. Any suggestion how to get it in pdaXrom. (I'm using RC5 native SDK)

Download it here and compile
it. It is named ginstall so you will have to rename it.

In fact I have allready done this, so I guess I could upload it to the unstable thread.

A thing that prevent me from doing this is what form to give to this package.
coreutils contain several small utilities. Some are allready present on the rom via
busybox (well if i rember well). What would be the best

- one ipk for each util
- one ipk for the util missing from busybox, one for the one covered by busybox
- one ipk core_utils
SLC-860 cacko / senao wifi

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
install and coreutils
« Reply #1 on: October 20, 2004, 04:25:48 am »
Quote
from this thread :

Quote
I searched for the "install" program and the package called coreutils has it on my Debian system. Any suggestion how to get it in pdaXrom. (I'm using RC5 native SDK)

Download it here and compile
it. It is named ginstall so you will have to rename it.

In fact I have allready done this, so I guess I could upload it to the unstable thread.

A thing that prevent me from doing this is what form to give to this package.
coreutils contain several small utilities. Some are allready present on the rom via
busybox (well if i rember well). What would be the best

- one ipk for each util
- one ipk for the util missing from busybox, one for the one covered by busybox
- one ipk core_utils
Thanks. Busybox causes some trouble anyway, so it would be good to change. The utils compiled separately are much larger than busybox alone?
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
install and coreutils
« Reply #2 on: October 20, 2004, 04:33:37 am »
Well I didn't check but busybox is very small.
The utils don't take much space though.

After saying that all is a matter of choices.

I'll try to make a coreutils package (I'll have to check which binary it overrides, if any and how to override them) and upload it tonight (it's morning for me).
SLC-860 cacko / senao wifi

pgas2

  • Newbie
  • *
  • Posts: 31
    • View Profile
install and coreutils
« Reply #3 on: October 20, 2004, 11:07:30 am »
ok here is for you to compare
# busybox --help
BusyBox v1.00-pre5 (2004.10.06-16:17+0000) multi-call binary
 
Usage: busybox [function] [arguments]...
   or: [function] [arguments]...
 
        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use, and BusyBox
        will act like whatever it was invoked as.
 
Currently defined functions:
        [, addgroup, adduser, ash, awk, basename, busybox, cat, chgrp,
        chmod, chown, chroot, chvt, clear, cp, cpio, cut, dc, dd, deallocvt,
        delgroup, deluser, df, dirname, dmesg, du, echo, egrep, env, expr,
        false, fbset, fdisk, fgrep, free, fsck.minix, getty, grep, head,
        kill, klogd, ln, logger, login, losetup, ls, md5sum, mkdir, mkfifo,
        mkfs.minix, mknod, mkswap, mktemp, more, mv, od, openvt, passwd,
        ps, pwd, reset, rm, rmdir, sed, sleep, start-stop-daemon, stty,
        su, sync, syslogd, tail, test, top, touch, tr, traceroute, true,
        tty, uname, uncompress, uptime, vi, watchdog, which, who, yes
 
# ls -al /bin/busybox
-rwsr-xr-x    1 root     root       348728 Jan  1  1970 /bin/busybox

coreutils :-rwxr-xr-x    1 root     root        24440 Oct 20 14:17 [
-rwxr-xr-x    1 root     root        13036 Oct 20 14:17 basename
-rwxr-xr-x    1 root     root        16764 Oct 20 14:17 cat
-rwxr-xr-x    1 root     root        36736 Oct 20 14:17 chgrp
-rwxr-xr-x    1 root     root        36512 Oct 20 14:17 chmod
-rwxr-xr-x    1 root     root        39140 Oct 20 14:17 chown
-rwxr-xr-x    1 root     root        13260 Oct 20 14:17 chroot
-rwxr-xr-x    1 root     root        19392 Oct 20 14:17 cksum
-rwxr-xr-x    1 root     root        15184 Oct 20 14:17 comm
-rwxr-xr-x    1 root     root        52304 Oct 20 14:17 cp
-rwxr-xr-x    1 root     root        57244 Oct 20 14:17 csplit
-rwxr-xr-x    1 root     root        27488 Oct 20 14:17 cut
-rwxr-xr-x    1 root     root        43720 Oct 20 14:17 date
-rwxr-xr-x    1 root     root        32240 Oct 20 14:17 dd
-rwxr-xr-x    1 root     root        93048 Oct 20 14:17 dir
-rwxr-xr-x    1 root     root        21372 Oct 20 14:17 dircolors
-rwxr-xr-x    1 root     root        13180 Oct 20 14:17 dirname
-rwxr-xr-x    1 root     root        59724 Oct 20 14:17 du
-rwxr-xr-x    1 root     root        14200 Oct 20 14:17 echo
-rwxr-xr-x    1 root     root        14200 Oct 20 14:17 env
-rwxr-xr-x    1 root     root        15836 Oct 20 14:17 expand
-rwxr-xr-x    1 root     root        48196 Oct 20 14:17 expr
-rwxr-xr-x    1 root     root        21252 Oct 20 14:17 factor
-rwxr-xr-x    1 root     root        12072 Oct 20 14:17 false
-rwxr-xr-x    1 root     root        20204 Oct 20 14:17 fmt
-rwxr-xr-x    1 root     root        16140 Oct 20 14:17 fold
-rwxr-xr-x    1 root     root         1681 Oct 20 14:15 groups
-rwxr-xr-x    1 root     root        29280 Oct 20 14:17 head
-rwxr-xr-x    1 root     root        12568 Oct 20 14:17 hostid
-rwxr-xr-x    1 root     root        13036 Oct 20 14:17 hostname
-rwxr-xr-x    1 root     root        14792 Oct 20 14:17 id
-rwxr-xr-x    1 root     root        53484 Oct 20 14:17 install
-rwxr-xr-x    1 root     root        26732 Oct 20 14:17 join
-rwxr-xr-x    1 root     root        16972 Oct 20 14:17 kill
-rwxr-xr-x    1 root     root        12876 Oct 20 14:17 link
-rwxr-xr-x    1 root     root        22688 Oct 20 14:17 ln
-rwxr-xr-x    1 root     root        12728 Oct 20 14:17 logname
-rwxr-xr-x    1 root     root        93048 Oct 20 14:17 ls
-rwxr-xr-x    1 root     root        29532 Oct 20 14:17 md5sum
-rwxr-xr-x    1 root     root        20012 Oct 20 14:17 mkdir
-rwxr-xr-x    1 root     root        16124 Oct 20 14:17 mkfifo
-rwxr-xr-x    1 root     root        20404 Oct 20 14:17 mknod
-rwxr-xr-x    1 root     root        56012 Oct 20 14:17 mv
-rwxr-xr-x    1 root     root        15580 Oct 20 14:17 nice
-rwxr-xr-x    1 root     root        47120 Oct 20 14:17 nl
-rwxr-xr-x    1 root     root        14688 Oct 20 14:17 nohup
-rwxr-xr-x    1 root     root        35264 Oct 20 14:17 od
-rwxr-xr-x    1 root     root        15736 Oct 20 14:17 paste
-rwxr-xr-x    1 root     root        14284 Oct 20 14:17 pathchk
-rwxr-xr-x    1 root     root        18444 Oct 20 14:17 pinky
-rwxr-xr-x    1 root     root        39008 Oct 20 14:17 pr
-rwxr-xr-x    1 root     root        12888 Oct 20 14:17 printenv
-rwxr-xr-x    1 root     root        22560 Oct 20 14:17 printf
-rwxr-xr-x    1 root     root        55536 Oct 20 14:17 ptx
-rwxr-xr-x    1 root     root        12812 Oct 20 14:17 pwd
-rwxr-xr-x    1 root     root        14200 Oct 20 14:17 readlink
-rwxr-xr-x    1 root     root        34992 Oct 20 14:17 rm
-rwxr-xr-x    1 root     root        14236 Oct 20 14:17 rmdir
-rwxr-xr-x    1 root     root        18844 Oct 20 14:17 seq
-rwxr-xr-x    1 root     root        29532 Oct 20 14:17 sha1sum
-rwxr-xr-x    1 root     root        41016 Oct 20 14:17 shred
-rwxr-xr-x    1 root     root        18488 Oct 20 14:17 sleep
-rwxr-xr-x    1 root     root        43380 Oct 20 14:17 sort
-rwxr-xr-x    1 root     root        23820 Oct 20 14:17 split
-rwxr-xr-x    1 root     root        32464 Oct 20 14:17 stat
-rwxr-xr-x    1 root     root        37196 Oct 20 14:17 stty
-r-sr-xr-x    1 root     root        17340 Oct 20 14:17 su
-rwxr-xr-x    1 root     root        27148 Oct 20 14:17 sum
-rwxr-xr-x    1 root     root        12504 Oct 20 14:17 sync
-rwxr-xr-x    1 root     root        44176 Oct 20 14:17 tac
-rwxr-xr-x    1 root     root        41900 Oct 20 14:17 tail
-rwxr-xr-x    1 root     root        14216 Oct 20 14:17 tee
-rwxr-xr-x    1 root     root        22548 Oct 20 14:17 test
-rwxr-xr-x    1 root     root        31152 Oct 20 14:17 touch
-rwxr-xr-x    1 root     root        27916 Oct 20 14:17 tr
-rwxr-xr-x    1 root     root        12072 Oct 20 14:17 true
-rwxr-xr-x    1 root     root        23260 Oct 20 14:17 tsort
-rwxr-xr-x    1 root     root        12712 Oct 20 14:17 tty
-rwxr-xr-x    1 root     root        14184 Oct 20 14:17 uname
-rwxr-xr-x    1 root     root        15992 Oct 20 14:17 unexpand
-rwxr-xr-x    1 root     root        21160 Oct 20 14:17 uniq
-rwxr-xr-x    1 root     root        12908 Oct 20 14:17 unlink
-rwxr-xr-x    1 root     root        15132 Oct 20 14:17 uptime
-rwxr-xr-x    1 root     root        14252 Oct 20 14:17 users
-rwxr-xr-x    1 root     root        93048 Oct 20 14:17 vdir
-rwxr-xr-x    1 root     root        22496 Oct 20 14:17 wc
-rwxr-xr-x    1 root     root        20044 Oct 20 14:17 who
-rwxr-xr-x    1 root     root        12792 Oct 20 14:17 whoami
-rwxr-xr-x    1 root     root        12728 Oct 20 14:17 yes

pgas2

  • Newbie
  • *
  • Posts: 31
    • View Profile
install and coreutils
« Reply #4 on: October 20, 2004, 12:42:39 pm »
Well I finally made 2 ipks, one with the utils not covered by the busybox in the rom
the other for those missing

Find them n the unstable feed

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
install and coreutils
« Reply #5 on: October 20, 2004, 03:13:38 pm »
Quote
Well I finally made 2 ipks, one with the utils not covered by the busybox in the rom
the other for those missing

Find them n the unstable feed
Try to upload them again, they aren't in the feed physically. Try to download them from the website, for example.

I messed all up when I tried to overwrite busybox links in /usr/bin/ with my self compiled programs...  Maybe it's was a good idea from your side to put them in the /usr/local/bin/...

Zumi, reinstalled...
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

pgas2

  • Newbie
  • *
  • Posts: 31
    • View Profile
install and coreutils
« Reply #6 on: October 20, 2004, 03:30:55 pm »
hmm they are here: http://www.pdaxrom.org/unstable/

Note that from the php script I can't download them with firefox on linux
I end up redirected to the front page and no dowload.

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
install and coreutils
« Reply #7 on: October 20, 2004, 03:51:32 pm »
Quote
hmm they are here: http://www.pdaxrom.org/unstable/

Note that from the php script I can't download them with firefox on linux
I end up redirected to the front page and no dowload.
Same here. (Linux, Firefox, redirect) <- same effect with all the other ipkgs on the webpage
I just discovered that they are there (and saw your post after it). You can hit ESC while waiting for the download and click on the URL. This way you can download them too.
But I can't download them with the pdaXrom package manager. Weird. Well, I install them manually.

Thanks for the compiling!

Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
install and coreutils
« Reply #8 on: October 20, 2004, 03:54:25 pm »
Strange i thought we had all these problems solved - they are fixed for firefox under windows and wget also works under linux..  So the package manager should also be able to use it.. I will do more testing.
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
install and coreutils
« Reply #9 on: October 20, 2004, 04:06:37 pm »
Quote
Strange i thought we had all these problems solved - they are fixed for firefox under windows and wget also works under linux..  So the package manager should also be able to use it.. I will do more testing.
Only these two packages (coreutils-base, coreutils-extra) are that I can't install with qpkg (error message about it can't download them). I installed "less" for testing purpose flawlessly from the unstable feed.
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
install and coreutils
« Reply #10 on: October 21, 2004, 01:39:38 am »
hmm.  There maybe something wrong with my control files...
Lately I 've been using  ipkg install ...  from the command line
I'll check again
SLC-860 cacko / senao wifi