* Hauke Mehrtens <ha...@hauke-m.de> [06.01.2013 18:34]:

> > if a user on a standard build does 'opkg install zram-swap' it
> > must also install the applets 'busybox-mkswap' and 'busybox-swaponoff'
> > so they must be build separately in the standard-build (so the repo's
> > gets them)
> 
> busybox contains of one big static linked binary which contains all the
> busybox applications and it is not possible to install some application
> later, you have to build them directly into the original busybox binary.

i fact it is possible to compile a single applet which also
leads to a small binary. i just compiled a busybox with

make allnoconfig
make menuconfig (+select mkswap swaponoff)
make

then you have a single busybox binary ~9 kilobytes in size,
which can be symbolically linked, like all the other applets
to an existing installation. so it _is_ possible to have a
package 'busybox-swapsupport' for later install.

bye, bastian

PS: thanks for you work hauke!
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to