imagebuilder: reuse rootfs preparation from rootfs.mk
authorMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 6 Mar 2018 08:38:29 +0000 (09:38 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Wed, 7 Mar 2018 08:59:08 +0000 (09:59 +0100)
In addition to removing redundant code, this fixes various issues in
IB-generated images that have been fixed in prepare_rootfs before,
including better handling of CONFIG_CLEAN_IPKG and enabling of initscripts
from FILES.

We also reuse the opkg macro and remove --force-... flags that have been
removed from rootfs.mk as well.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

No differences found