grep -F "$LISTOFEXPRESSIONS"
And yesterday I put in more code with the same "grep -F". However, Wary became more broken.
After much experimentation all day, and much frustration, I suddenly found that Busybox grep handles the '-F' option differently from the full grep. Aaaaargh!
So late in the day, I changed to
grep -f /tmp/LISTOFEXPRESSIONS
which is supposed to work with Busybox grep, however then I found that the '-f' option is broken in the older version of Busybox that I have in initrd.
So, right now I am about to decide whether to upgrade Busybox in the initrd or compile the full grep statically.
Anyway, the status quo is that Wary 501 is slightly broken, though you probably won't notice it.
Wary 502 is coming very soon.
Comments:Posted on 5 Feb 2011, 19:27 by disciple
puppylinux.com is down
puppylinux.com seems to have vanished - is that intentional?
Posted on 5 Feb 2011, 19:40 by disciple
> older version of Busybox that I have in initrd.
IIRC I've had the same issue with a couple of other busybox commands, and at the time Puppy's busybox was positively antique... how old is the one you're using now?
Posted on 5 Feb 2011, 21:27 by L18L
age of busybox
how old is the one you're using now?
busybox | head -n 1
BusyBox v1.17.2 (2010-09-28 21:52:28 GMT-8) multi-call binary.
Posted on 5 Feb 2011, 22:43 by BarryK
The Busybox in the initrd is 1.4.2.
I just tried, puppylinux.com is still there.
Posted on 5 Feb 2011, 23:07 by jamesbond
Have you got my PM?
I've been toying around with uclibc toolchain in the last couple of days. The latest busybox (1.18.2) compiled with all features enabled (make defconfig) is 835k.
Posted on 6 Feb 2011, 6:25 by kirk
I just tried the latest Busybox in Fatdog64's initrd. Now when I boot I'm asked to choose which save file to use even though I only have one in that sub-directory. So Busybox changed syntax somewhere.
Posted on 6 Feb 2011, 7:15 by BarryK
I compiled the latest Busybox (1.18.2) statically, intended for the initrd, but then decided not to "rock the boat" for now -- instead I compiled the full grep statically and put that in.
Posted on 6 Feb 2011, 7:19 by BarryK
Thanks, yes, I got your PM.
Yes, I would like to have a compiled root f.s. ext2 file of a recent uClibc toolchain. I am still using a very old pre-compiled one that I downloaded from the uClibc site.
Posted on 6 Feb 2011, 16:25 by jamesbond
Barry, I only managed to get the uclibc cross-compile toolchain to work. The resulting toolchain is stored in a directory and its location are hardcoded during compilation (or so I'm made to believe) - so just tar-gzip the bins and send it over to you won't work unless you duplicate my directory hierarchy.
But with the config files I've sent to you, it should be pretty straightforward to re-build the toolchain on your side.
I wasn't successful in creating an ext2 rootfs for uclibc using buildroot. It compiled everything *except* gcc :-O.
If you prefer a rootfs instead of just a toolchain, then there *is* a more recent uclibc rootfs which you can use, it's compiled by Rob Landley (http://landley.net/aboriginal) - but you need to do something to make it work, something which I haven't done yet. Technosaurus would be able to explain more as that is his primary tools.
It's directory dependent, so I'm not sure how I can pass that to you. You can also do this yourself by using the config files I've sent to you
I failed trying to build ext2 rootfs using buildroot.
Posted on 7 Feb 2011, 11:40 by kirk
FYI The wc -l in Busybox-1.18.2 output is different from Busybox-1.4.2.