linux: ensure that the initramfs is always complete

The build target calls the install script, and this short circuits the
image/install/stamp logic. Wipe the initramfs/:init install stamps along
$BUILD/initramfs to ensure everything gets installed when creating the
ramdisk for the kernel.
This commit is contained in:
Andre Heider 2019-12-03 11:00:33 +01:00
parent ae663c98e9
commit ab4e3a3256

View File

@ -124,6 +124,7 @@ makeinstall_host() {
pre_make_target() {
( cd $ROOT
rm -rf $BUILD/initramfs
rm -f ${STAMPS_INSTALL}/initramfs/install_target ${STAMPS_INSTALL}/*/install_init
$SCRIPTS/install initramfs
)
pkg_lock_status "ACTIVE" "linux:target" "build"