mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
28 lines
682 B
Diff
28 lines
682 B
Diff
guilt-push: Avoid duplicate hits in a series
|
|
|
|
If a series file becomes mangled and a patch name appears in there
|
|
more than once, then the guilt-push will fail a horrible and
|
|
incomprehensible death. Make it fail in a sensible way.
|
|
|
|
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
|
|
|
|
---
|
|
|
|
guilt-push | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/guilt-push
|
|
+++ b/guilt-push
|
|
@@ -90,6 +90,11 @@ else
|
|
if [ -z "$eidx" ]; then
|
|
die "Patch $patch is not in the series or is guarded."
|
|
fi
|
|
+
|
|
+ matches=`echo $eidx | wc -w`
|
|
+ if [ $matches -gt 1 ]; then
|
|
+ die "Patch $patch is in the series multiple times"
|
|
+ fi
|
|
fi
|
|
|
|
# make sure that there are no unapplied changes
|