* [Buildroot] [PATCH] support/script/scancpan: fix corelist check
@ 2014-12-03 18:05 Francois Perrad
2014-12-07 22:04 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2014-12-03 18:05 UTC (permalink / raw)
To: buildroot
module could be removed of the core,
so check if the module is currently in the core,
but not if the module was once time included in the core.
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
support/scripts/scancpan | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/support/scripts/scancpan b/support/scripts/scancpan
index 7ff647d..0eac132 100755
--- a/support/scripts/scancpan
+++ b/support/scripts/scancpan
@@ -569,8 +569,8 @@ sub fetch {
next if $modname eq q{perl};
next if $modname =~ m|^Alien|;
next if $modname =~ m|^Win32|;
- next if !$test && $modname =~ m|^Test|;
- next if Module::CoreList::first_release( $modname );
+ next if !$test && $modname =~ m|^Test|;
+ next if Module::CoreList::is_core( $modname, undef, $] );
# we could use the host Module::CoreList data, because host perl and
# target perl have the same major version
next if ${$dep}{phase} eq q{develop};
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] support/script/scancpan: fix corelist check
2014-12-03 18:05 [Buildroot] [PATCH] support/script/scancpan: fix corelist check Francois Perrad
@ 2014-12-07 22:04 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-12-07 22:04 UTC (permalink / raw)
To: buildroot
Dear Francois Perrad,
On Wed, 3 Dec 2014 19:05:37 +0100, Francois Perrad wrote:
> module could be removed of the core,
> so check if the module is currently in the core,
> but not if the module was once time included in the core.
>
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> support/scripts/scancpan | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-07 22:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-03 18:05 [Buildroot] [PATCH] support/script/scancpan: fix corelist check Francois Perrad
2014-12-07 22:04 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox