initramfs : handle more than one source dir or file
PATCH 1/1 initramfs : handle more than one source dir or file
From: Thomas Chou <[email protected]>
Handle more than one source dir or filelist to the initramfs gen scripts.
Signed-off-by Thomas Chou <[email protected]>
---
Bug ID 7401, updated
scripts/gen_initramfs_list.sh 2006-10-25 09:59:28.000000000 +0800 renamed from scripts/gen_initramfs_list.sh 2006-09-20 11:42:06.000000000 +0800 +2 -1
@@ -158,7 +158,7 @@ unknown_option() { } list_header() { - echo "deps_initramfs := \\" + : } header() {
@@ -227,6 +227,7 @@ arg="$1" case "$arg" in "-l") # files included in initramfs - used by kbuild dep_list="list_" + echo "deps_initramfs := \\" shift ;; "-o") # generate gzipped cpio image named $1
usr/Makefile 2006-10-25 09:58:41.000000000 +0800 renamed from usr/Makefile 2006-10-25 09:53:54.000000000 +0800 +1 -1
@@ -20,7 +20,7 @@ $(obj)/initramfs_data.o: $(obj)/initramf hostprogs-y := gen_init_cpio initramfs := $(CONFIG_SHELL) $(srctree)/scripts/gen_initramfs_list.sh ramfs-input := $(if $(filter-out "",$(CONFIG_INITRAMFS_SOURCE)), \ - $(CONFIG_INITRAMFS_SOURCE),-d) + $(shell echo $(CONFIG_INITRAMFS_SOURCE)),-d) ramfs-args := \ $(if $(CONFIG_INITRAMFS_ROOT_UID), -u $(CONFIG_INITRAMFS_ROOT_UID)) \ $(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID))
___________________________________________________
您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
http://messenger.yahoo.com.tw/
___________________________________________________
您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
http://messenger.yahoo.com.tw/