commit 137b23b9993315a7ea3dfa33e72720f2f8c4c459 parent 014a69dd856148d6be1ff23b93694e83f45f2e7d Author: torter <koubbamohamedrayan@gmail.com> Date: Wed, 21 Oct 2026 14:40:43 +0000 repo: core list includes our own packages' deps Diffstat:
| M | tools/repo/build-repo.sh | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/repo/build-repo.sh b/tools/repo/build-repo.sh @@ -49,7 +49,9 @@ todo=$OUT/todo.list FIRST= if ls "$OUT"/index-*.plist >/dev/null 2>&1; then FIRST=$OUT/first.list - sed 's/#.*//' "$HERE"/../../editions/*.packages "$HERE"/../../editions/*/packages | tr ' \t' '\n\n' | grep -v '^$' | + # the editions' packages and what our own packages (tools/pkg) depend on + { sed 's/#.*//' "$HERE"/../../editions/*.packages "$HERE"/../../editions/*/packages + sed -n 's/^depends="\(.*\)"/\1/p' "$HERE"/../pkg/*/recipe; } | tr ' \t' '\n\n' | grep -v '^$' | python3 "$HERE/xbps2apk.py" --closure "$OUT"/index-*.plist > "$FIRST" fi python3 "$HERE/xbps2apk.py" --todo "$CACHE" "$OUT/$ARCH" $FIRST > "$todo"