From ab4e3a32569556c34bbc558a7374e33563bc0762 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Tue, 3 Dec 2019 11:00:33 +0100 Subject: [PATCH] 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. --- packages/linux/package.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/linux/package.mk b/packages/linux/package.mk index e4ded8cbf6..2214aa550e 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -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"