Displaying 20 results from an estimated 400 matches similar to: "[PATCH] kbuild: fix usr/Kbuild to use new usr/gen_initramfs.sh"
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
2005 Jul 29
1
move kbuild files to reflect dir structure in kernel
To make it more obvious where the files are supposed to end up
move files so they reflect the directory structure in the kernel:
mkdir scripts
mv kernel/Kbuild.* scripts/
mkdir usr
mv kernel/Kbuild usr
rmdir kernel
Furthermore:
- updated cp-to-kernel to refelct new directory layout
- teach cp-to-kernel to place gzip right under usr/
- Add '#' in front of comment in usr/Kbuild
---
I
2006 Apr 17
0
[PATCH] klibc: rebuild cpio image when content changes
Generate dependencies almost like done by fixdep in the kernel.
This teaches make to rebuild cpio image when content has changed.
Also restructured usr/Kbuild a little so we better utilise parallel
makes (dash, gzip, utils and kinit are now build in parallel).
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
patch is on top of hpa's linux tree, so path differ if applied to the
klibc
2005 Jul 26
2
[PATCH] better kbuild integration
Following patch improves integration with kbuild.
With a future kernel (2.6.14-rc) it now has working support
for 'make clean'.
Included is an example of how to compile an early userspace program.
I selected gzip as the most simple one for this - and left out all
the links to different names (gunzip etc.)
Before proceeding with this I need some inputs on what functionality
is required by
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
hpa notified me in private mail that we have an issue that when building
initramfs - if the content changes (say kinit) then the initramfs will
not be rebuild.
The solution I have come up with is to let make check all the files
included 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
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.
2006 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
Basic infrastructure for building klibc.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
commit 5bba564a5c133369b3e83e5827d053a98cb3c59a
tree 11f2acc1f9d845e8764fa790f522b79ea1106b80
parent 378abd8f4d39024ea6c87eb5b54155238f647f0d
author H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:08 -0700
committer H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:08
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 Ravnborg <sam@ravnborg.org>
---
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_default_initramfs)
In usr/Kbuild remove "" around CONFIG_RAMFS_SOURCE so the
2003 Oct 04
0
klibc: kbuild improvements
Hi Bryan and other klibc people.
I have taken a stamp on the Makefiles for klibc, this is what
I came up with.
1) No longer recompile on every invocation
2) Correct checking on dependencies
3) Simpler makefile syntax (almost all over the place)
I compile-time tested it only.
Two open issues:
a) Do we realy use .a files for initramfs. I renemed that to the
executable.
b) I renamed
2005 Aug 09
6
initramfs howto
Hi,
Here's a try at writing an initramfs HOWTO.
This is basically a write-up of a number of interesting emails I collected
over time.
It could probably use an editor, more fact-checking and a bunch of other
good things, but it should be better than nothing ;-)
Daniel
-------------- next part --------------
INITRAMFS HOWTO
0) What are klibc and initramfs?
Initramfs is a ramfs into which
2005 Aug 08
5
[PATCH - RFC] Move initramfs configuration to "General setup"
At present the configuration items for initramfs is located in:
Device drivers | Block Drivers | xxx
This is maybe not the most natural place to have it.
So with the following patch it is moved below "General setup",
and relevant config items are collected in a file with a new
home in usr/.
The original reason why I looked into this is the upcoming merge of klibc
and I missed a good
2005 Jul 28
0
[PATCH] Use KLIBSRC + KLIBINC consistent in kbuild files
Factor out all kernel specific path's (those containing usr/)
into two variables: KLIBSRC + KLIBINC. Set the variables
in a kernel spcific Kbuild file.
Sam
commit e6f989c1597a837f4aecbd11083697184c089611
tree 93f88d7564bb9e4d4bc95fd455b842d0bd0fdc54
parent 8151f4a98f82fba4fe3b949f49da4ab8bba71501
author Sam Ravnborg <sam@mars.(none)> Thu, 28 Jul 2005 23:36:07 +0200
committer Sam
2006 Apr 17
0
[PATCH] kbuild: support single targets for klibc and klibc programs
With the following patch kbuild now supports:
make usr/dash/arith_yylex.i
make usr/klibc/umount.o
make usr/klibc/umount.s
Patch does also fix indention of CPP command
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
That was my number 5) item on the kbuild list (added by akpm).
Modulus the next bug hpa discover this should clear all kbuild
issues with klibc.
So I hope to see it in next
2004 Jun 30
1
initramfs and kernel 2.6.7
Hi,
I 'am trying to launch linux kernel 2.6.7 with initramfs.
My pxelinux.cfg/default file looks as follows:
default a1
prompt 1
timeout 600
label a1
kernel vmlinuz-2.6.7-1
append initrd=initramfs_data.cpio.gz root=/dev/ram0 init=/linuxrc
Kernel image vmlinuz-2.6.7-1 and initramfs_data.cpio.gz was loaded
succesfully by pxelinux.
Kernel says:
checking if image is initramfs... it is
but
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.
2004 Sep 16
3
[PATCH] gen_init_cpio uses external file list
(Apologies to klibc@zytor.com for the re-send)
This patch makes gen_init_cpio generate the initramfs_data.cpio from a
file which contains a list of entries: file, dir, nod. I swapped the
order of filename/location for the file arguments so that it would be
more uniform with the dir and nod tyes.
[thayne@torch linux-2.6.8]$ usr/gen_init_cpio --help
ERROR: unable to open '--help': No such
2005 Sep 30
1
drivers/xen/xenbus/xenbus_probe.c:610: undefined reference to `xb_suspend_comms''
changeset: 7144:fe401301929e
tag: tip
user: emellor@ewan
date: Fri Sep 30 08:59:28 2005 +0100
summary: Change rebooting specification so that we can have domains
crash and stay
make dist failed with above changset on FC4.
make[3]: Entering directory
`/media/sdb2/usr/src/redhat/SOURCES/xen-unstable.hg/linux-2.6.12-xen0''
CHK include/linux/version.h
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 Ravnborg <sam at ravnborg.org>
2004 Sep 16
3
[PATCH] gen_init_cpio processes file from a file list
The patch makes gen_init_cpio generate the initramfs_data.cpio from a
file which contains a list of entries: file, dir, nod. I swapped the
order of filename/location for the file arguments so that it would be
more uniform with the dir and nod tyes.
[thayne@torch linux-2.6.8]$ usr/gen_init_cpio --help
ERROR: unable to open '--help': No such file or directory
Usage: