summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-05-28 11:09:15 +0200
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-05-28 11:09:15 +0200
commit0d8dd99721fedc9f9fc3a7797384a58a7785074a (patch)
tree59f243025b84beff850f1c4f4ddfc343e6e4437b
parent2706a01ebf1fda85a4eb30e57d08edb5a00b0704 (diff)
downloadalpine-packages-0d8dd99721fedc9f9fc3a7797384a58a7785074a.tar.gz
alpine-packages-0d8dd99721fedc9f9fc3a7797384a58a7785074a.tar.bz2
alpine-packages-0d8dd99721fedc9f9fc3a7797384a58a7785074a.tar.lz
alpine-packages-0d8dd99721fedc9f9fc3a7797384a58a7785074a.zip

feat: rootbld

-rwxr-xr-xbuild-repo22
-rw-r--r--src/memdmp/.rootbld-repositories1
2 files changed, 13 insertions, 10 deletions
diff --git a/build-repo b/build-repo
index 41af2c1..71ec429 100755
--- a/build-repo
+++ b/build-repo
@@ -9,19 +9,21 @@ for REPOPATH in ./src/*; do
cd "$REPOPATH";
REPO="$(basename "$REPOPATH")";
for PKG in ./*; do
- cd "$PKG";
- PKG="$(basename "$PKG")";
+ if [[ -d "$PKG" ]] && [[ -f "$PKG/APKBUILD" ]]; then
+ cd "$PKG";
+ PKG="$(basename "$PKG")";
- if [[ "$FILTER" == "" ]] || [[ "$FILTER" == "$REPO" ]] || [[ "$FILTER" == "$PKG" ]]; then
- if [[ "$NEWSUM" == "1" ]]; then abuild checksum; fi
- if [[ "$ROOTBLD" == "1" ]]; then
- abuild rootbld -P "$ALL_TARGET"
- else
- abuild -r -P "$ALL_TARGET"
+ if [[ "$FILTER" == "" ]] || [[ "$FILTER" == "$REPO" ]] || [[ "$FILTER" == "$PKG" ]]; then
+ if [[ "$NEWSUM" == "1" ]]; then abuild checksum; fi
+ if [[ "$ROOTBLD" == "1" ]]; then
+ abuild rootbld -P "$ALL_TARGET"
+ else
+ abuild -r -P "$ALL_TARGET"
+ fi
fi
- fi
- cd ..;
+ cd ..;
+ fi
done
cd ../..;
done
diff --git a/src/memdmp/.rootbld-repositories b/src/memdmp/.rootbld-repositories
new file mode 100644
index 0000000..2c1c2b4
--- /dev/null
+++ b/src/memdmp/.rootbld-repositories
@@ -0,0 +1 @@
+$mirror/$version/main