unos-repository

APK repository for unos
git clone git://git.finwo.net/misc/unos-repository
Log | Files | Refs | README

commit b8c0ff88643d2c3cde6a37d42f168b57a980fa09
parent 4c01c41e7c6c16291eae1798c72a959a7210726d
Author: Robin Bron <robin.bron@yourhosting.nl>
Date:   Fri, 25 Sep 2026 18:08:31 +0200

More apk-tools fixes

Diffstat:
Mmk/build.sh | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/mk/build.sh b/mk/build.sh @@ -126,6 +126,10 @@ for _m in ${makedepends}; do msg "makedepends '${_m}': not built locally, but found in sysroot (CI seed)" elif ls "${SYSROOT}/usr/include/${_m}" >/dev/null 2>&1; then msg "makedepends '${_m}': not built locally, but found in sysroot" + elif command -v apk >/dev/null 2>&1 \ + && apk --root "${SYSROOT}" info -e "${_m}" 2>/dev/null | grep -qx "${_m}"; then + # No .pc and no include subdir of its own (glibc); ask the sysroot db. + msg "makedepends '${_m}': installed in sysroot apk db" else die "makedepends '${_m}' has not been built. Build it first: ./mk/build.sh ${_m}