maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Christmas present: Busybox 1.10.0svn for OS2007 (https://talk.maemo.org/showthread.php?t=13811)

cripes 2007-12-31 01:05

Re: Christmas present: Busybox 1.10.0svn for OS2007
 
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.

taguapire 2007-12-31 09:29

Re: Christmas present: Busybox 1.10.0svn for OS2007
 
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.

cripes 2007-12-31 15:11

Re: Christmas present: Busybox 1.10.0svn for OS2007
 
gnexus may or may not answer you. I can relate my experience...

Quote:

Originally Posted by taguapire (Post 118262)
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?

Quote:

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)

Quote:

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

Quote:

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...

Quote:

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

Quote:

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.

cripes 2007-12-31 15:32

Re: Christmas present: Busybox 1.10.0svn for OS2007
 
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 2007-12-31 16:12

Re: Christmas present: Busybox 1.10.0svn for OS2007
 
As I'm interested in this project, I can give a hand.
But not today..

djs_tx 2007-12-31 20:04

Re: Christmas present: Busybox 1.10.0svn for OS2007
 
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

cripes 2007-12-31 20:18

Re: Christmas present: Busybox 1.10.0svn for OS2007
 
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

cripes 2007-12-31 23:43

Re: Christmas present: Busybox 1.10.0svn for OS2007
 
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.

cripes 2008-01-01 00:08

Re: Christmas present: Busybox 1.10.0svn for OS2007
 
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 2008-01-01 01:54

Re: Christmas present: Busybox 1.10.0svn for OS2007
 
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.


All times are GMT. The time now is 00:33.

vBulletin® Version 3.8.8