ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] RE: [PATCH] Change trigger to packages with suffix _MOD


From: Yin Olivia-R63875
Subject: [Ltib] RE: [PATCH] Change trigger to packages with suffix _MOD
Date: Thu, 3 Dec 2009 11:53:31 +0800

Hi Stuart,

Since transient config has been cleaned, 'PKG_KERNEL_LEAVESRC=y' in
defconfig will be changed into '# PKG_KERNEL_LEAVESRC is not set' in
.config
But the packages with suffix _MOD's build key is set as 1.
If we run ./ltib without any configuration changes, the packages with
suffix _MOD will not find the built unpacked kernel source tree.

I think the module packages don't need force rebuild unless the kernel
rebuilt and the kernel source tree left.

Best Regards,
Olivia

> Signed-off-by: Olivia Yin <address@hidden>
> ---
>  ltib |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/ltib b/ltib
> index 7dcf730..1dce7d3 100755
> --- a/ltib
> +++ b/ltib
> @@ -1723,8 +1723,8 @@ sub process_pkg_triggers
>              if(exists $$mod->{was_en} && $$mod->{was_en}) {
>                  $$mod->{en} = 1;
>              }
> -            $$mod->{build} = 1;
> -            warn "$$mod->{sn} rebuild forced by $$key->{sn}\n" if
$$mod->{en};
> +            $$mod->{build} = 1 if $$key->{build} && $cf->{leavesrc};
> +            warn "$$mod->{sn} rebuild forced by $$key->{sn}\n" if
$$mod->{build};
>          }
>      }
>      foreach my $dep ( @{$install_deps->{$key}} ) {
> --
> 1.6.4
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]