[Aboriginal] miniconfig-busybox

Rob Landley rob at landley.net
Wed Nov 30 04:05:20 PST 2011


On 11/29/2011 09:46 AM, James McMechan wrote:
> 
> I saw David Seikel's comments about still being interested in trim-config
> Here is how I use mini-config with busybox, it is not hard
> though I have not yet gotten the auto build stuff to include the aboriginal
> tarball and the package directory in my initramfs

There was an initramfs bug recent-ish-ly, are you using a version after
http://landley.net/hg/aboriginal/rev/1366 ?

> --- busybox.orig        2011-11-27 05:41:26.000000000 -0800
> +++ busybox.build       2011-11-27 16:19:20.000000000 -0800
> @@ -5,7 +5,8 @@
>  # Build busybox
>  
>  #make allyesconfig KCONFIG_ALLCONFIG="${SOURCES}/trimconfig-busybox" &&
> -make defconfig &&
> +#make defconfig &&
> +make allnoconfig KCONFIG_ALLCONFIG="${SOURCES}/mini-busybox" &&

I need to provide a way to select this, do a defconfig if no  busybox
config is provided, otherwise use that.  Probably some kind of config
setting.

I'm also back to working on toybox, which means testing toybox, which
means getting toybox and busybox to install alongside each other and
gradually reduce the number of busybox commands I'm using.

I'm not inflicting toybox on aboriginal's default configuration any time
soon, but I personally need the option.

>  cp .config "$WORK"/config-busybox &&
>  LDFLAGS="$LDFLAGS $STATIC_FLAGS" make -j $CPUS $VERBOSITY $DO_CROSS &&
>  make busybox.links || dienow
>  
> I was adding very little to config
>  
> export NO_CPLUSPLUS=1
> export SYSIMAGE_TYPE=initramfs
>  
> My preference is for mini-config rather than trim-config so I can turn on just what I want

I admit the trimconfig was a bit of a hack; trying to use defconfig but
it didn't work.  And now busybox defconfig is back to not working
because the UBI stuff doesn't build on ubuntu 11.10.

> I am using a ~98 line mini-config which needs few changes between busybox versions
> It is possible that a few more options can be turned off I would like to convert the
> initramfs to bz2 and drop gzip.
> Without genext2fs it appears it doesn't need TAR_OLDGNU_COMPATIBILITY
> apparently that program's build environment was very very old.

I need to write my own genext2fs.  Now that I'm back working on toybox,
I may manage that eventually...

> #needed for od -t option in busybox build
> CONFIG_DESKTOP=y

I've argued with Denys about that.  CONFIG_DESKTOP is not well defined,
there's no clear rule for what it does and doesn't do.

This config is enough to build aboriginal linux itself, with this in
hostconfig?

A) Does that include running the ./download.sh stage?

B) Have you tried lfs-bootstrap.hdc with this?

Rob

 1322654720.0


More information about the Aboriginal mailing list