summaryrefslogtreecommitdiff
path: root/openwrt/include
diff options
context:
space:
mode:
authorGerry Rozema <groz@openwrt.org>2006-08-18 19:39:51 +0000
committerGerry Rozema <groz@openwrt.org>2006-08-18 19:39:51 +0000
commit55f3d75f841a3b7f970b0ddbc7f2f3d946debf8e (patch)
tree44c6021937e60d65c7e8dc6e371a8906af140570 /openwrt/include
parent3788ddb951dcec96483510d308440160392d4de6 (diff)
downloadmtk-20170518-55f3d75f841a3b7f970b0ddbc7f2f3d946debf8e.zip
mtk-20170518-55f3d75f841a3b7f970b0ddbc7f2f3d946debf8e.tar.gz
mtk-20170518-55f3d75f841a3b7f970b0ddbc7f2f3d946debf8e.tar.bz2
handle postinit for initramfs
SVN-Revision: 4601
Diffstat (limited to 'openwrt/include')
-rw-r--r--openwrt/include/kernel-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/include/kernel-build.mk b/openwrt/include/kernel-build.mk
index 5e45342..0ef00de 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