openwrt/package
Paul Spooren ad1c1b7047 imagebuilder: fix APK for packages dir and cache
This commit solves multiple issues. First of just install the three
special packages base-files, libc and kernel directly from the index. In
upstream indexes, those will never appear to prevent accidental upgrades
may breaking the system.

Next, enable caching for the ImageBuilder, which speeds up consecutive
builds from ~33 seconds to ~5 seconds. Using cache however makes APK
create the folder `/var/cache/apk/` which conflicts with the base-files
installation, which ships a symlink from `/var` to `/tmp`, so specify
`--no-cache` for the rootfs initialization.

Lastly, drop the use of `apk update` since APK automatically does that.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-11-09 16:46:35 +01:00
..
base-files base-files: add SOURCE_DATE_EPOCH as OPENWRT_BUILD_DATE to os-release 2024-10-20 23:30:27 +02:00
boot ath79: Add support for Sophos AP15C 2024-11-09 03:21:36 +01:00
devel gdb: Remove MIPS NSIG patch 2024-10-12 21:51:25 +02:00
firmware packages: drop DEVICE specific dependency for omnia 2024-11-05 09:59:49 +01:00
kernel vrx518_tc: allow larger MTU to support RFC4638 2024-11-08 17:22:31 +01:00
libs mbedtls: update to 3.6.2 2024-10-24 20:17:27 +02:00
network netifd: update to Git HEAD (2024-11-08) 2024-11-08 10:51:00 +01:00
system procd: update to Git HEAD (2024-11-06) 2024-11-06 10:38:20 +01:00
utils fritz-tools: fix mixed indentation 2024-11-05 20:23:01 +01:00
Makefile imagebuilder: fix APK for packages dir and cache 2024-11-09 16:46:35 +01:00