diff options
| author | George Sapkin | 2026-01-23 16:58:36 +0000 |
|---|---|---|
| committer | Robert Marko | 2026-01-23 21:14:06 +0000 |
| commit | 7bb79b9d5391b2292d5b517822eae71a7bf5efdf (patch) | |
| tree | 8dc65adc2739011d3c12b9c5ab692b220752a12f | |
| parent | 78c98abd30844dd62ffec7c31761649cd5a44643 (diff) | |
| download | openwrt-7bb79b9d5391b2292d5b517822eae71a7bf5efdf.tar.gz | |
imagebuilder: skip repository file when standalone
Standalone image builder doesn't have a repositories file as all
packages are included, which causes:
ERROR: failed to read repositories: PATH_TO_BUILDER/repositories: No such file or directory
The images are still built, so this is more of an informational error.
Pass related argument to apk only when CONFIG_IB_STANDALONE is not set.
Fixes: a8d17c21 ("imagebuilder: actually support IB from buildbot")
Signed-off-by: George Sapkin <george@sapk.in>
Link: https://github.com/openwrt/openwrt/pull/21658
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/imagebuilder/files/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile index a44eb8b988..c9de9aee93 100644 --- a/target/imagebuilder/files/Makefile +++ b/target/imagebuilder/files/Makefile @@ -98,7 +98,7 @@ OPKG:=$(call opkg,$(TARGET_DIR)) \ export APK_KEYS:=$(TOPDIR)/keys APK:=$(call apk,$(TARGET_DIR)) \ - --repositories-file $(TOPDIR)/repositories \ + $(if $(CONFIG_IB_STANDALONE),,--repositories-file $(TOPDIR)/repositories) \ --repository $(PACKAGE_DIR)/packages.adb \ $(if $(CONFIG_SIGNATURE_CHECK),,--allow-untrusted) \ --cache-dir $(DL_DIR) |