[OE-core] [PATCH 5/5] kernel.bbclass: remove unshipped files in do_install

Bruce Ashfield bruce.ashfield at gmail.com
Tue Sep 27 13:41:17 UTC 2011


On Sat, Sep 17, 2011 at 6:18 PM, Dmitry Eremin-Solenikov
<dbaryshkov at gmail.com> wrote:
> Drop two unsed files (modules.order and modules.builtin) in do_install
> to stop the "unshipped files" warning.

One less warning is a good thing!

Looks good to me,  I can add my vote to this one.

Acked-by: Bruce Ashfield <bruce.ashfield at windriver.com>

>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
> ---
>  meta/classes/kernel.bbclass |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 59d3b89..6b2e603 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -108,6 +108,8 @@ kernel_do_install() {
>        unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
>        if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
>                oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install
> +               rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.order"
> +               rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.builtin"
>        else
>                bbnote "no modules to install"
>        fi
> --
> 1.7.2.5
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"




More information about the Openembedded-core mailing list