diff options
author | Paul Spooren <mail@aparcar.org> | 2020-12-27 11:26:37 -1000 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-01-06 14:04:34 -1000 |
commit | a323a653f0338474ce9f2044574d2adc67d527d7 (patch) | |
tree | 42847fff485334d020407e592e54cd82d33be3d4 /scripts | |
parent | 849d4b394000234687a41fe2d6e5b9d71131c84a (diff) | |
download | upstream-a323a653f0338474ce9f2044574d2adc67d527d7.tar.gz upstream-a323a653f0338474ce9f2044574d2adc67d527d7.tar.bz2 upstream-a323a653f0338474ce9f2044574d2adc67d527d7.zip |
scripts/feed: no warn on toolchain/linux overwrite
The recent 7f285d "scripts/feeds: warn when skipping core package
override" floods SDK output with warning of overwriting "linux" and
"toolchain" core packages. This should be ignored as these are not
regular packages added via feeds.
While at it slightly improve the warning string.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/feeds | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds index 122f8568cb..eee0a50717 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -537,7 +537,9 @@ sub install_src { my $override = 0; if (is_core_src($name)) { if (!$force) { - warn "Not overriding core package $name; use -f to force\n"; + if ($name ne "toolchain" && $name ne "linux") { + warn "WARNING: Not overriding core package '$name'; use -f to force\n"; + } return 0; } $override = 1; |