[source] kernel: move initramfs's init script out of base-files

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 14 09:43:53 PST 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/9ce30f7175f924eba5779a6d29bf9d676c9d5224

commit 9ce30f7175f924eba5779a6d29bf9d676c9d5224
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Mon Mar 27 11:03:01 2017 +0200

    kernel: move initramfs's init script out of base-files
    
    Keeping it in base-files was resulting in adding it to the base-files
    package. This file is meant to be included manually for initramfs
    images only.
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
    (cherry picked from commit f6433eede79db4f6276b68e815bb17a9364292c7)
---
 include/kernel-defaults.mk                            | 2 +-
 target/linux/generic/{base-files => other-files}/init | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index 10bd67a..1ba7be8 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -165,7 +165,7 @@ endef
 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
 define Kernel/CompileImage/Initramfs
 	$(call Kernel/Configure/Initramfs)
-	$(CP) $(GENERIC_PLATFORM_DIR)/base-files/init $(TARGET_DIR)/init
+	$(CP) $(GENERIC_PLATFORM_DIR)/other-files/init $(TARGET_DIR)/init
 	rm -rf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/usr/initramfs_data.cpio*
 	+$(MAKE) $(KERNEL_MAKEOPTS) $(if $(KERNELNAME),$(KERNELNAME),all) modules
 	$(call Kernel/CopyImage,-initramfs)
diff --git a/target/linux/generic/base-files/init b/target/linux/generic/other-files/init
similarity index 100%
rename from target/linux/generic/base-files/init
rename to target/linux/generic/other-files/init



More information about the lede-commits mailing list