From 8e5b8354d569cc9e248c9749b440c6cb4e5e4159 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sat, 8 Aug 2026 22:47:55 +0200 Subject: [PATCH] build.sh: build libqmi then modemmanager explicitly before install pmbootstrap's install-time build plan is not topologically sorted; the versioned makedep made that a hard error instead of a stale-dep build. Explicit bottom-up build restores order; no-op when current. Co-Authored-By: Claude Fable 5 --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.sh b/build.sh index 95bc6ec..911f6c8 100755 --- a/build.sh +++ b/build.sh @@ -158,6 +158,13 @@ pmbootstrap checksum imsd pmbootstrap checksum libqmi pmbootstrap checksum modemmanager +# pmbootstrap's install-time build plan is not dependency-ordered (it tried +# building modemmanager before the libqmi its makedepends require); build +# the GNSS stack bottom-up explicitly. 'pmbootstrap build' is a no-op when +# the package is already current. +pmbootstrap build --arch aarch64 libqmi +pmbootstrap build --arch aarch64 modemmanager + # --- 4. build the image ------------------------------------------------------- # Same default credentials as the official postmarketOS images. pmbootstrap -y zap >/dev/null 2>&1 || true