diff options
author | groz <groz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-08-18 19:39:51 +0000 |
---|---|---|
committer | groz <groz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-08-18 19:39:51 +0000 |
commit | 4c66f72328d338b0e6f01c9cadc3cc0fe26ae2e0 (patch) | |
tree | 1ce52d558adff3a71b79afb30805260499c14a04 | |
parent | 3965ba8cd5782f65f00e072a3987acfac2bf069e (diff) |
handle postinit for initramfs
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4601 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/kernel-build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 5e4534281..0ef00de35 100644 --- a/include/kernel-build.mk +++ b/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 |