1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 14:38:20 +02:00
openwrt/include
Jeff Kletsky f0b76d02e8 build: define check-kernel-size to remove unflashable images
Certain boards have limitations on U-Boot that prevent flashing
of images where the kernel size exceeds a threshold, yet
sysupgrade can sucessfully manage larger kernels. The current
check-size will remove the target artifact if its total size
exceeds the threshold. If applied after append-kernel,
it will remove the kernel, but the remaining image-assembly
steps will continue, resulting in an image without a kernel
that is likely unbootable.

By defining check-kernel-size, it is now possible to prevent release
of such unbootable images through a construct similar to:

  IMAGE/factory.img := append-kernel | pad-to $$$$(GL_UBOOT_UBI_OFFSET) | \
    append-ubi | check-kernel-size $$$$(GL_UBOOT_UBI_OFFSET)

Cc: Chuanhong Guo <gch981213@gmail.com>

Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
2020-01-15 20:05:48 +01:00
..
site Revert faulty tree push 2019-08-12 12:27:06 +02:00
autotools.mk autotools.mk: autoreconf: fix missing install-sh 2019-07-26 08:09:16 +02:00
cmake.mk cmake: Install host packages to lib instead of lib64 2019-12-23 00:22:07 +01:00
debug.mk
depends.mk
device_table.txt
download.mk build: add PKG_SOURCE_URL_FILE support 2019-11-23 13:35:43 +01:00
feeds.mk
hardened-ld-pie.specs
hardening.mk buildsystem: Make PIE ASLR option tristate 2020-01-13 15:34:36 +01:00
host-build.mk build: call Host/Uninstall before wiping the host build dir 2019-10-21 14:18:17 +02:00
image-commands.mk build: define check-kernel-size to remove unflashable images 2020-01-15 20:05:48 +01:00
image-legacy.mk
image.mk build: image: add SOC device variable 2019-12-20 01:07:25 +01:00
kernel-build.mk kernel-build: ignore runtime config options during reconfig 2019-11-24 14:19:43 +01:00
kernel-defaults.mk kernel-defaults: ensure SOURCE_DATE_EPOCH on /init 2019-10-02 17:11:44 +02:00
kernel-version.mk kernel: remove support for kernel 4.9 2020-01-08 16:45:08 +01:00
kernel.mk kernel.mk: add KCFLAGS to make kmods reproducible 2019-10-09 09:13:44 +02:00
netfilter.mk netfilter: package required kmods for nftables 2020-01-14 16:58:43 +01:00
nls.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk base-files: fix build for /sbin/pkg_check 2020-01-14 17:52:34 +01:00
package-seccomp.mk
package.mk Revert faulty tree push 2019-08-12 12:27:06 +02:00
prereq-build.mk build: prereq: add support for Python 3.8 2019-11-14 22:53:31 +01:00
prereq.mk
quilt.mk
rootfs.mk rootfs.mk: ensure all timestamp are set to SOURCE_DATE_EPOCH 2019-09-21 03:26:38 +02:00
scan.awk
scan.mk build: have scripts/feeds honor all toplevel .mk-files of a feed 2019-10-27 14:32:13 +01:00
shell.sh
subdir.mk
target.mk
toolchain-build.mk
toplevel.mk build: fix host menu config targets using ncurses 2019-09-25 12:50:24 +02:00
u-boot.mk u-boot.mk: use openwrt url instead of lede project 2019-08-18 15:14:13 +00:00
uclibc++.mk libcxx: Add package 2019-12-23 00:22:07 +01:00
unpack.mk
verbose.mk
version.mk