Thomas Richard via openwrt-devel <openwrt-devel@lists.openwrt.org> wrote:

[...]

> diff --git a/scripts/feeds b/scripts/feeds
> index 7cbe07f58e..a48be670f0 100755
> --- a/scripts/feeds
> +++ b/scripts/feeds
> @@ -461,6 +461,11 @@ sub do_install_target($) {
>                 return 1;
>         }
>  
> +       # Clean packageinfo of linux kernel to force the scan.
> +       # Otherwise kernel modules defined at target level are not scanned, 
> as the
> +       # linux kernel package was scanned before the installation of the 
> target.
> +       system("rm tmp/info/.packageinfo-kernel_linux");
Why spawn shell with rm? Use 'unlink "tmp/info/.packageinfo-kernel_linux";' 
here.


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to