unos-repository

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

commit b7f5dd89586e58fd9eb809cdc23956bc8fd3649e
parent fef0447e0efef7ae91c3bbc2851c4da9e7e1a1b8
Author: Robin Bron <robin.bron@yourhosting.nl>
Date:   Fri, 25 Sep 2026 19:56:06 +0200

linux header publish

Diffstat:
M.conductor.yml | 2+-
Mmk/deps.sh | 1+
Mmk/publish.sh | 6++++++
Mpackages/linux-longterm/template | 2+-
4 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/.conductor.yml b/.conductor.yml @@ -90,7 +90,7 @@ tasks: arch: [x86_64] requires: [unos-sign-key] script: - - ./mk/check-revision.sh linux-longterm --pkgver 6.18.51-r0 --repo "${BUCKET_PUBLIC_URL%/}/$ARCH" || { rc=$?; [ "$rc" = 1 ] && exit 0; exit "$rc"; } + - ./mk/check-revision.sh linux-longterm --pkgver 6.18.51-r1 --repo "${BUCKET_PUBLIC_URL%/}/$ARCH" || { rc=$?; [ "$rc" = 1 ] && exit 0; exit "$rc"; } - ./mk/ci-setup.sh - ./mk/bootstrap-host.sh - ./mk/sysroot.sh --arch "$ARCH" --repo "$BUCKET_PUBLIC_URL" linux-longterm diff --git a/mk/deps.sh b/mk/deps.sh @@ -288,6 +288,7 @@ case "${1:-}" in order) shift; cmd_order "$@" ;; seed) shift; cmd_seed "$@" ;; owner) shift; owner_of "${1:?usage: deps.sh owner <name>}" ;; + subpkgs) shift; field "${1:?usage: deps.sh subpkgs <pkg>}" 4 ;; rdeps) shift; cmd_rdeps "$@" ;; changed) shift; cmd_changed "$@" ;; check) cmd_check ;; diff --git a/mk/publish.sh b/mk/publish.sh @@ -98,7 +98,13 @@ if [ "${INDEX_ONLY}" = "1" ]; then FILES="" elif [ -n "${PKGS}" ]; then FILES="" + # One template can emit several .apks; publishing only the primary leaves + # its subpackages unreachable for anything that build-depends on them. + EXPANDED="" for p in ${PKGS}; do + EXPANDED="${EXPANDED} ${p} $("${HERE}/deps.sh" subpkgs "${p}" 2>/dev/null || true)" + done + for p in ${EXPANDED}; do found="" for f in "${REPODIR}/${p}"-*.apk; do [ -e "${f}" ] || continue diff --git a/packages/linux-longterm/template b/packages/linux-longterm/template @@ -9,7 +9,7 @@ # follow-up, see mk/kernel.inc) pkgname=linux-longterm version=6.18.51 -revision=0 +revision=1 short_desc="UNOS kernel meta - longterm line" maintainer="finwo <finwo@pm.me>" license="GPL-2.0-only"