mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-05 05:15:23 +02:00
initramfs: allow an optional wrapper script around initramfs generation
It is sometimes useful to have a secondary script call the gen_initramfs_list.sh script. This allows special interpretation of the initramfs root filesystem or other manipulations to be injected. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
656f91b7ba
commit
2835728423
|
@ -24,7 +24,7 @@ $(obj)/initramfs_data.o: $(obj)/$(datafile_y) FORCE
|
|||
# Generate the initramfs cpio archive
|
||||
|
||||
hostprogs-y := gen_init_cpio
|
||||
initramfs := $(CONFIG_SHELL) $(srctree)/$(src)/gen_initramfs_list.sh
|
||||
initramfs := $(INITRAMFS_WRAPPER) $(CONFIG_SHELL) $(srctree)/$(src)/gen_initramfs_list.sh
|
||||
ramfs-input := $(if $(filter-out "",$(CONFIG_INITRAMFS_SOURCE)), \
|
||||
$(shell echo $(CONFIG_INITRAMFS_SOURCE)),-d)
|
||||
ramfs-args := \
|
||||
|
|
Loading…
Reference in New Issue
Block a user