mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 16:35:44 +00:00
handle postinit for initramfs
SVN-Revision: 4601
This commit is contained in:
parent
3788ddb951
commit
55f3d75f84
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user