search for: gen_initramf

Displaying 9 results from an estimated 9 matches for "gen_initramf".

Did you mean: gen_initramfs
2006 Apr 09
0
[PATCH] kbuild: fix usr/Kbuild to use new usr/gen_initramfs.sh
Fix usr/Kbuild so it utilise the new gen_initramfs.sh script which will rebuild initramfs when the content has changed. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> --- usr/Kbuild | 74 +++++++++++++++++++---------------------------------------------- 1 file changed, 22 insertions(+), 52 deletions(-) This patch shall not be applied...
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
This fix has been implemented in preparation for the upcoming klibc merge in -mm. But 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 rea...
2006 Apr 17
0
[PATCH] klibc: rebuild cpio image when content changes
...so path 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 +...
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...ded 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...
2006 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
...r_,$(klibc-subdir)) + +# Klibc binaries +ifdef CONFIG_KLIBC + +# .initramfs_data.cpio.gz.d is used to identify all files included +# in initramfs and to detect if any files are added/removed. +# Removed files are identified by directory timestamp being updated +# The dependency list is generated by gen_initramfs.sh -l +ifneq ($(wildcard $(obj)/.initramfs_data.cpio.gz.d),) + include $(obj)/.initramfs_data.cpio.gz.d +endif + +# build klibc library before the klibc programs +# build klibc programs before cpio.gz +.PHONY: initramfs $(usr-subdirs) $(klibc-subdir) $(include-subdir) +initramfs: $(usr-sub...
2006 Apr 17
0
[PATCH] klibc: default initramfs content stored in usr/initramfs.default
Harcoding default content of initramfs in the gen_initramfs_list.sh script seems ackward. Move it to a file named: usr/initramfs.default This also fixes a small bug when no arguments was passed to CONFIG_INITRAMFS_SOURCE (-d was passed twice to the script) Idea and bug report from: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Sam Ravn...
2006 Apr 15
1
[PATCH] klibc: fix gen_initramfs_init.sh when using -d
gen_initramfs_list.sh failed to generate a dependency list when it was supplied the -d option. Restructured gen_initramfs_list.sh to support dependency info with -d. This also fixes a bug where we did not properly process when more than one dir was specified. Finally update dependency info for the -d case (list...
2006 Jun 26
0
[klibc 08/43] klibc: default initramfs content stored in usr/initramfs.default
Harcoding default content of initramfs in the gen_initramfs_list.sh script seems ackward. Move it to a file named: usr/initramfs.default This also fixes a small bug when no arguments was passed to CONFIG_INITRAMFS_SOURCE (-d was passed twice to the script) Idea and bug report from: "H. Peter Anvin" <hpa at zytor.com> Signed-off-by: Sam R...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: