landley / mkroot

Simple Linux build, bootable under qemu for multiple architectures.
Other
456 stars 72 forks source link

allow additional busybox applets to be build from commandline #9

Open terefang opened 5 years ago

terefang commented 5 years ago

expected commandline:

./mkroot.sh BUSYBOX_RPM=y

expected contents of mini.conf:

CONFIG_RPM=y

hmm ... since cmd options like this are already propagated into env, after writing basic mini.conf one could do:

env | grep ^BUSYBOX_ | sed -e 's|^BUSYBOX_|CONFIG_|g' >> mini.conf