From 55f3d75f841a3b7f970b0ddbc7f2f3d946debf8e Mon Sep 17 00:00:00 2001 From: Gerry Rozema Date: Fri, 18 Aug 2006 19:39:51 +0000 Subject: [PATCH] handle postinit for initramfs SVN-Revision: 4601 --- openwrt/include/kernel-build.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/openwrt/include/kernel-build.mk b/openwrt/include/kernel-build.mk index 5e4534281a..0ef00de35d 100644 --- a/openwrt/include/kernel-build.mk +++ b/openwrt/include/kernel-build.mk @@ -57,6 +57,7 @@ ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) echo 'CONFIG_INITRAMFS_ROOT_GID=0' >> $(LINUX_DIR)/.config mkdir -p $(BUILD_DIR)/root/etc/init.d $(CP) ../generic-2.6/files/init $(BUILD_DIR)/root/ + $(CP) ../generic-2.6/files/postinit $(BUILD_DIR)/root/ else rm -f $(BUILD_DIR)/root/init $(BUILD_DIR)/root/etc/init.d/S00initramfs echo 'CONFIG_INITRAMFS_SOURCE=""' >> $(LINUX_DIR)/.config -- 2.25.1