Re: [PATCH 2.6.9-bk7] Select cpio_list or source directory forinitramfs image updates [u]

From: Andrew Morton
Date: Sun Oct 24 2004 - 05:17:14 EST


"Martin Schlemmer [c]" <azarah@xxxxxxxxxxxxxxxx> wrote:
>
> Here is some updates after talking to Sam Ravnborg. He did not yet come
> back to me, I am not sure if I understood 100% what he meant, but hopefully
> somebody else will be so kind as to comment.
>
> Here is a shortish changelog:
>
> - Fix an issue reported by Esben Nielsen <simlo@xxxxxxxxxx> (with
> suggestion from Sam Ravnborg). Build failed if $O (output dir) was
> set. This is done by pre-pending $srctree if the shipped list is
> referenced.
>
> - Also fix calling of gen_initramfs_list.sh if $O (output dir) is set
> by pre-pending $srctree.
>
> - I also moved initramfs_list to initramfs_list.shipped, to make sure we
> always have an 'fall back' list (say you unset CONFIG_INITRAMFS_SOURCE
> and deleted your custom intramfs source directory, then building will not
> fail).
>
> - Kbuild style cleanups.
>
> - Improved error checking. For example gen_initramfs_list.sh will
> output a simple list if the target directory is empty, and we verify
> that the shipped initramfs_list is present before touching it.
>
> - Only update the temp initramfs_list if the source list/directory have
> changed.
>
> - Cleanup temporary initramfs_list when 'make clean' or 'make mrproper'
> is called.
>
>
> This patch should apply to both 2.6.9-bk7 and 2.6.9-mm1.

hmm. You have a patch in the email body and two slightly different patches
as attachments. All bases covered ;)

I'll stick
"select-cpio_list-or-source-directory-for-initramfs-image-v7.patch" into
-mm but would prefer that this patch come in via Sam's tree please.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/