From: Sam Ravnborg Date: Tue, 11 Apr 2006 11:24:32 +0000 (+0200) Subject: kbuild: rebuild initramfs if content of initramfs changes X-Git-Tag: v2.6.17-rc2~98^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d39a206bc35d46a3b2eb98cd4f34e340d5e56a50;p=pandora-kernel.git kbuild: rebuild initramfs if content of initramfs changes initramfs.cpio.gz being build in usr/ and included in the kernel was not rebuild when the included files changed. To fix this the following was done: - let gen_initramfs.sh generate a list of files and directories included in the initramfs - gen_initramfs generate the gzipped cpio archive so we could simplify the kbuild file (Makefile) - utilising the kbuild infrastructure so when uid/gid root mapping changes the initramfs will be rebuild With this change we have a much more robust initramfs generation. Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed