aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerry Rozema <gerryr@rozeware.com>2006-08-18 19:39:51 +0000
committerGerry Rozema <gerryr@rozeware.com>2006-08-18 19:39:51 +0000
commitbe9cf7f78a857b99bd6473dbf7b7f02d44a64be5 (patch)
tree1ce52d558adff3a71b79afb30805260499c14a04
parent1a19595b65b0f9388c6a089dbcdb4d294c64d3e1 (diff)
downloadmaster-187ad058-be9cf7f78a857b99bd6473dbf7b7f02d44a64be5.tar.gz
master-187ad058-be9cf7f78a857b99bd6473dbf7b7f02d44a64be5.tar.bz2
master-187ad058-be9cf7f78a857b99bd6473dbf7b7f02d44a64be5.zip
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.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 5e4534281a..0ef00de35d 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