Reply
Thread Tools
Posts: 111 | Thanked: 31 times | Joined on Nov 2007
#21
ok, that was easy. whipped up a package in about 20 mins. I still need to figure out which commands are provided natively in the OS so that I don't replace any of them. (I was counting on gnexus for that). I noticed that pidof was one of them, but still need to look in /sbin /usr/bin /usr/sbin etc

I'm also thinking I should call this busybox-alt or busybox-opt to differentiate it from the nokia supplied one and use "replaces: busybox" in the control file.
 

The Following User Says Thank You to cripes For This Useful Post:
taguapire's Avatar
Posts: 107 | Thanked: 14 times | Joined on Dec 2007
#22
Ok,

I already downloaded The VMWARE Xubuntu Image with Maemo Development environment pre-installed. So... I downloaded the source code, I compiled it, BUT... I was looking for some applets that yours have enabled, and I wasn't able to find among Option listed in the configuration menu. I'm looking for arp command, the SVN version that I downloaded just lists arping.

1.- How I can get a list of applets similar to yours.
2.- I must compile it as statically binary? or use libraries is ok?

I asking because I don't know where are the files compiled, I just found busybox and busybox-unstripped, if there is a library i don't know where is it.

3.- How big is your busybox compiled file?.
4.- Why my version is v1.1.4-pre0, yours is 1.10.0.SVN and busybox.net says 1.8.X stable 1.9.X unstable? (I downloaded my source files from busybox.net SVN repository.
5.- From which repository did you downloaded your sources?
6.- Any other recommendation about general settings in config menu for busybox compilation?

Regards,

Taguapire.

Last edited by taguapire; 2007-12-31 at 10:19.
 
Posts: 111 | Thanked: 31 times | Joined on Nov 2007
#23
gnexus may or may not answer you. I can relate my experience...

Originally Posted by taguapire View Post
Ok,
I wasn't able to find among Option listed in the configuration menu. I'm looking for arp command, the SVN version that I downloaded just lists arping.
I didn't include arp in mine (not that I tried). did you try hand editing the ".config" file to see if you could find it there?

2.- I must compile it as statically binary? or use libraries is ok?
the static binary option will attempt to statically compile against libc6 -- don't do this (it won't work anyway)

3.- How big is your busybox compiled file?.
mine was around 740kb -- same as gnexus

4.- Why my version is v1.1.4-pre0, yours is 1.10.0.SVN and busybox.net says 1.8.X stable 1.9.X unstable?
I don't understand the question. You can download whichever one you want to build...

5.- From which repository did you downloaded your sources?
I think he downloaded from svn trunk at busybox.net. I downloaded the unstable 1.9.0, but will most likely post 1.8.X if I can ever get the deb package working

6.- Any other recommendation about general settings in config menu for busybox compilation?
none from me, i can send you my ".config" file when I'm done.



---------------------

RE DEBIAN PACKAGING BUSYBOX. Nokia has marked its own busybox package build as "Essential" and used a long-winded version numbering scheme. Other packages depend on the presence of busybox with a version above a certain number. This makes it a little more difficult to add/remove busybox (which is somewhat logical because i don't know to what degree apt relies on the presence of busybox tools). Bottom line is I still need to play around with how I package the replacement busybox.

Last edited by cripes; 2007-12-31 at 15:31.
 

The Following User Says Thank You to cripes For This Useful Post:
Posts: 111 | Thanked: 31 times | Joined on Nov 2007
#24
btw, is anyone willing to volunteer some time to figure out which busybox symlinks would overwrite non-busybox symlinks or files and thus need to be excluded from any package? (pidof is an example in /bin)
 
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#25
As I'm interested in this project, I can give a hand.
But not today..
 
Posts: 227 | Thanked: 51 times | Joined on Feb 2006
#26
I'll help as well. It should be (in theory) pretty easy. I'm ssh'ed into my tablet right now from my desktop. post the list of busybox links and I'll compare them with the installed applications.
David
__________________
David Smoot
 
Posts: 111 | Thanked: 31 times | Joined on Nov 2007
#27
from http://www.busybox.net/downloads/BusyBox.html

[, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk,
basename, bbconfig, bbsh, bunzip2, busybox, bzcat, cal, cat,
catv, chattr, chcon, chgrp, chmod, chown, chpasswd, chpst,
chroot, chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond,
crontab, cryptpw, cut, date, dc, dd, deallocvt, delgroup,
deluser, devfsd, df, dhcprelay, diff, dirname, dmesg, dnsd,
dos2unix, dpkg, dpkg_deb, du, dumpkmap, dumpleases, e2fsck, echo,
ed, eject, env, envdir, envuidgid, ether_wake, expand, expr,
fakeidentd, false, fbset, fdflush, fdformat, fdisk, find, fold,
free, freeramdisk, fsck, fsck_minix, ftpget, ftpput, fuser,
getenforce, getopt, getsebool, getty, grep, gunzip, gzip, halt,
hdparm, head, hexdump, hostid, hostname, httpd, hwclock, id,
ifconfig, ifdown, ifup, inetd, init, insmod, install, ip, ipaddr,
ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kill,
killall, killall5, klogd, lash, last, length, less, ln,
load_policy, loadfont, loadkmap, logger, login, logname, logread,
losetup, ls, lsattr, lsmod, lzmacat, makedevs, matchpathcon,
md5sum, mdev, mesg, microcom, mkdir, mke2fs, mkfifo, mkfs_minix,
mknod, mkswap, mktemp, modprobe, more, mount, mountpoint, mt, mv,
nameif, nc, netstat, nice, nmeter, nohup, nslookup, od, openvt,
passwd, patch, pgrep, pidof, ping, ping6, pivot_root, pkill,
poweroff, printenv, printf, ps, pscan, pwd, raidautorun, rdate,
readahead, readlink, readprofile, realpath, reboot, renice,
reset, resize, restorecon, rm, rmdir, rmmod, route, rpm,
rpm2cpio, run_parts, runcon, runlevel, runsv, runsvdir, rx, sed,
selinuxenabled, seq, setarch, setconsole, setenforce, setfiles,
setkeycodes, setlogcons, setsid, setuidgid, sha1sum, slattach,
sleep, softlimit, sort, split, start_stop_daemon, stat, strings,
stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root,
sync, sysctl, syslogd, tail, tar, taskset, tcpsvd, tee, telnet,
telnetd, test, tftp, time, top, touch, tr, traceroute, true, tty,
ttysize, tune2fs, udhcpc, udhcpd, udpsvd, umount, uname,
uncompress, unexpand, uniq, unix2dos, unlzma, unzip, uptime,
usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog,
wc, wget, which, who, whoami, xargs, yes, zcat, zcip

and here's my still broken OS2007 package if you want to look at the structure (includes most but not all busybox apps)

EDIT: PACKAGE LINK DELETED - SEE http://garage.maemo.org/projects/busybox-test for source and binaries

Last edited by cripes; 2008-01-05 at 14:40.
 

The Following User Says Thank You to cripes For This Useful Post:
Posts: 111 | Thanked: 31 times | Joined on Nov 2007
#28
more help needed from OS2008 users. Can someone tell me the exact full version number of the busy box installation? (on OS 2007 it is: "3:1.4.1-1osso2.2") Can you also tell me the names of any packages that depend on busybox, then check what version(s) of busybox those packages expect.

also does anyone know if the Nokia supplied busybox package exists in a repository somewhere? one of the problems with essential packages is you can't uninstall them, you can only upgrade/downgrade them.
 
Posts: 111 | Thanked: 31 times | Joined on Nov 2007
#29
never mind about the OS2008 request. I just bricked my os and have to reinstall. I guess I may as well upgrade to OS2008. that means I'll probably need help from OS2007 users at a later date to handle that port.
 
taguapire's Avatar
Posts: 107 | Thanked: 14 times | Joined on Dec 2007
#30
Hi,

I was compiling busybox for X86, how I can compile it for ARM? because I changed the target to CHINOOK ARMEL and it's binary keeps running in my computer instead of return an binary error (I mean from my development station).

Regards,

Taguapire.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:20.