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)
commit2fbf669730bfa7342b36711d275bfe4c7951ac1b
tree62a27c9ecfb6bbd5568cd396fbe7ddd8fe75b404
parentcf1c7c0f17a45bba3e7ce1a3cd3f8f7efa7196c4
imagebuilder: reuse rootfs preparation from rootfs.mk

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>
include/feeds.mk
include/rootfs.mk
package/Makefile
rules.mk
target/imagebuilder/files/Makefile