Displaying 9 results from an estimated 9 matches for "initramfs_list".
2006 Apr 09
0
[PATCH] kbuild: fix usr/Kbuild to use new usr/gen_initramfs.sh
...echo $(CONFIG_INITRAMFS_SOURCE)) is to remove the
-# gratuitous begin and end quotes from the Kconfig string type.
-# Internal, escaped quotes in the Kconfig string will loose the
-# escape and become active quotes.
-quotefixed_initramfs_source := $(shell echo $(CONFIG_INITRAMFS_SOURCE))
-
-filechk_initramfs_list = $(CONFIG_SHELL) \
- $(srctree)/scripts/gen_initramfs_list.sh $(gen_initramfs_args) \
- $(quotefixed_initramfs_source)
-
-$(obj)/initramfs_list: $(src)/Kbuild FORCE
- $(call filechk,initramfs_list)
-
-quiet_cmd_cpio = CPIO $@
- cmd_cpio = ./$<...
2005 Jul 29
1
move kbuild files to reflect dir structure in kernel
...nd klibc
-#
-
-klibc definitions - to be moved to top-level Makefile later
-export KLIBSRC := $(srctree)/$(src)/klibc
-export KLIBINC := $(srctree)/$(src)/include
-
-obj-y := initramfs_data.o
-always := klibc/libc.a
-hostprogs-y := gen_init_cpio
-clean-files := initramfs_data.cpio.gz initramfs_list
-
-# Descend down into klibc when cleaning
-subdir- := klibc
-
-# Build klibc library
-$(obj)/klibc/libc.a: FORCE
- $(Q)$(MAKE) -rR -f $(srctree)/scripts/Kbuild.klibc obj=$(obj)/klibc
-
-initramfs-y += gzip
-
-initramfs-y := $(addprefix $(obj)/,$(initramfs-y))
-.PHONY: $(initramfs-y)
-
-# init...
2005 Feb 02
2
Query on Using initramfs
Hi
I am looking at inserting functions in the early user space and want to use
initramfs for this.
I understand this can be achieved using 'initrd' or by making changes in
the 'usr/gen_init_cpio.c' file.
Can someone kindly give me pointers as to how to go about this. I am
looking at the 2.6.x kernel.
Thanks
Rachita.
2005 Jul 30
3
kbuild updates to klibc
Hi Peter & others.
Here are three patches that does the following:
#1 - Update kbuild part of klibc so make clean works
Adds gzip including a sample kbuild file
#2 - Factor out definition of usr/ to two variables
#3 - Move kbuild files to reflect location in the kernel
As requested in earlier mail I need a bit of guidiance of what you
expect from the kernel integrated parts of klibc.
2005 Jul 26
2
[PATCH] better kbuild integration
...+install: all
+ $(INSTALL_EXEC) gzip gunzip zcat $(INSTALLROOT)$(INSTALLDIR)/$(CROSS)bin
+
+endif
diff --git a/kernel/Kbuild b/kernel/Kbuild
--- a/kernel/Kbuild
+++ b/kernel/Kbuild
@@ -7,15 +7,26 @@ always := klibc/libc.a
hostprogs-y := gen_init_cpio
clean-files := initramfs_data.cpio.gz initramfs_list
+# Descend down into klibc when cleaning
+subdir- := klibc
+
# Build klibc library
$(obj)/klibc/libc.a: FORCE
$(Q)$(MAKE) -rR -f $(srctree)/scripts/Kbuild.klibc obj=$(obj)/klibc
+initramfs-y += gzip
+
+initramfs-y := $(addprefix $(obj)/,$(initramfs-y))
+.PHONY: $(initramfs-y)
+
# init...
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
...as it fixes a real (but rare I hope) bug in vanilla
kernel it will be added to my pending 2.6.17 kbuild queue.
I've done quite some changes to the gen_initramfs script and
being shell programming newbie review by more experienced shell
hackers would be appreciated.
I did a git mv scripts/gen_initramfs_list.sh usr/gen_initramfs.sh
But the changes was so many that git does not see the rename.
Due to the rename the diffstat shows a bit mroe changes than reality.
Sam
b/usr/Makefile | 82 ++++--------
b/usr/gen_initramfs.sh | 285 ++++++++++++++++++++++++++++++++++++++++++
scr...
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...in the initramfs and rebuild it if any files are newer than the
initramfs and also rebuild if arguments changes (root_uid).
In same process the usr/Kbuild file was cluttered with functionality
that really belonged in a shell script.
So in the end all functionality was moved to the shell script
gen_initramfs_list.sh.
The script got a new name and a new home during the process.
It is now located in usr/ along with gen_init_cpio
Outstanding issues:
- needs to find a nice way to get rid of temp files
- carefull review when I'm awake again
Posting it here to get some inital comments on the approach and ma...
2005 Sep 30
1
drivers/xen/xenbus/xenbus_probe.c:610: undefined reference to `xb_suspend_comms''
...db2/usr/src/redhat/SOURCES/xen-unstable.hg/linux-2.6.12-xen0''
CHK include/linux/version.h
make[4]: `arch/i386/kernel/asm-offsets.s'' is up to date.
CHK include/asm-xen/asm_offsets.h
CHK include/asm-i386/asm_offsets.h
CHK include/linux/compile.h
CHK usr/initramfs_list
CC drivers/xen/xenbus/xenbus_probe.o
drivers/xen/xenbus/xenbus_probe.c: In function ‘xenbus_suspend’:
drivers/xen/xenbus/xenbus_probe.c:610: warning: implicit declaration of
function ‘xb_suspend_comms’
LD drivers/xen/xenbus/xenbus.o
LD drivers/xen/xenbus/built-in.o
LD dr...
2006 Apr 17
0
[PATCH] klibc: rebuild cpio image when content changes
...ath differ if applied to the
klibc tree.
This one has passed all my trivial testing.
touch usr/kinit/kinit.o && make usr/
will regenerate cpio image.
But with all the troubles this simple issue has caused me I woul not be
suprised if there are some untested cornercase.
Sam
scripts/gen_initramfs_list.sh | 8 ++++++
usr/Kbuild | 52 ++++++++++++++++++++++++------------------
2 files changed, 38 insertions(+), 22 deletions(-)
diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh
index 45c81b0..a609970 100644
--- a/scripts/gen_initramfs_list.sh
+++ b/s...