1
0
Fork 0
forked from mirror/openwrt
openwrt/include
Paul Spooren 63e178f067 build: lock versions for special APK packages
The three packages base-files, libc and kernel are special, the former
can't be upgraded in place since it's content are modified on startup,
the latter two are virtual packages only used as constraints for the
package manager.

Historically base-files was "locked" via a special OPKG function, the
latter two were hidden from the package index and thereby never picked
as possible upgrade.

Time moved forward and we now have APK and tools like OWUT. The latter
compares available packages with installed packages and generates user
readable output, requiring versions for libc and kernel, too. At the
same time, APK uses a different looking mechanism, which is set during
installation instead of part of the package metadata.

In short, this patch adds version constraints to the three packages,
allowing them to be part of the package index.

Fixes: #17774
Fixes: #17775
Fixes: efahl/owut#31

Signed-off-by: Paul Spooren <mail@aparcar.org>
2025-02-04 13:48:59 +00:00
..
site
autotools.mk
bpf.mk
cmake.mk
debug.mk
default-packages.mk imagebuilder: move handling of DEFAULT_PACKAGES into shareable place 2024-11-17 19:29:06 +01:00
depends.mk
device_table.txt
download.mk
feeds.mk build: Unconditionally append kmod feed for BuildBot 2024-12-03 12:40:01 +01:00
hardened-ld-pie.specs
hardening.mk
host-build.mk
image-commands.mk build: add additional parameter support to Build/jffs2 2025-01-21 18:37:51 +01:00
image.mk image: apk: dont fail on removing a package that doesnt exist 2024-11-29 11:31:56 +01:00
kernel-6.6 kernel: bump 6.6 to 6.6.74 2025-01-25 14:24:30 +01:00
kernel-build.mk
kernel-defaults.mk kernel: fix rootfs initramfs not updating on subsequent single build 2025-01-20 17:22:06 +01:00
kernel-version.mk
kernel.mk
logo.png
logo.svg
meson.mk meson: allow using staging python 2024-12-02 19:30:22 +00:00
netfilter.mk
nls.mk
openssl-module.mk
optee-os.mk build: add generic build template for optee-os packages 2024-11-23 15:53:21 +01:00
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-pack.mk include/package-pack: remove leading whitespace from install scripts 2025-01-10 10:50:34 +01:00
package-seccomp.mk
package.mk
prereq-build.mk
prereq.mk
quilt.mk
rootfs.mk
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk target/metadata: set OpenWrt One as the default menuconfig target/profile 2024-12-02 13:55:36 +01:00
toolchain-build.mk
toplevel.mk build: remove targetinfo invalidation based on .config 2024-12-02 12:28:52 +01:00
trusted-firmware-a.mk include/trusted-firmware-a.mk: unset CC before compiling 2025-01-04 18:11:40 +01:00
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk build: lock versions for special APK packages 2025-02-04 13:48:59 +00:00