[Buildroot] buildroot with ipkg
julien.boibessot at free.fr
Thu Sep 20 21:16:42 UTC 2007
Bernhard Fischer a écrit :
> yeah. I'll reread the dropbear example tomorrow. Perhaps somebody else
> has other comments.
Well I 'm not sure it's a good idea to let the user mix "builtin" and
If he choose to use ipkg, or another method, then all the Buildroot
utilities he wants to have in its rootfs should be packaged with the
selected method and then installed in the TARGET_DIR, just before
creating the (jffs2/ext2/...) rootfs image.
That's what they do in OpenWrt and I think it's a good idea:
* build the selected utility/package
* install it in a custom directory, instead of TARGET_DIR
* "ipkage" it from that directory
* install the generated "xxx.ipkg" in TARGET_DIR
That way your system is always aware of the installed packages even if
you flash a complete rootfs (I'm speaking of the ipkg case which is the
only one I have studied yet). After flashing, you can even removed
packages directly from your target.
More information about the buildroot