prplos/include
Christian Marangi efd31beb2a image: fix race between mkits.sh and mkimage in .itb squashfs generation
With further investigation it was found a race in generating .itb images
that include a RootFS caused by the mkits.sh and the mkimage.

Due to the fact that mkits.sh generates a .pagesync image of the passed
rootfs, it can happen that, concurrently, mkimage can be called at the
same time mkits.sh is creating another .pagesync for the same rootfs.

This cause mkimage to use an half made rootfs.pagesync creating a
corrupted image.

To address this, also protect the mkimage with the same lock used for
mkits.sh preventing any kind of concurrent usage/generation of the
rootfs.pagesync blob

Fixes: 52cc9d82f1 ("kernel: rework Initramfs locking logic")
Link: https://github.com/openwrt/openwrt/pull/20492
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 3de1bbd5aeb542de9a4b20eff0f6bbf1767fd6b9)
(cherry picked from commit bdb89ee6dff4742f2d7bcf101077ee6f9f8031f7)
2026-07-09 10:57:30 +01:00
..
overlay-feed BuildSystem: Use cached list of Makefile.append's during package processing 2025-11-16 15:54:49 +00:00
site
autotools.mk
bpf.mk build: bpf: fix LLVM tool paths with host toolchain 2025-04-09 18:30:49 +02:00
cmake.mk include: cmake.mk: honor CONFIG_DEBUG 2024-11-26 12:23:06 +00:00
debug.mk
default-packages.mk imagebuilder: move handling of DEFAULT_PACKAGES into shareable place 2025-01-03 11:14:12 +01:00
depends.mk
device_table.txt
download.mk download: improve rawgit tar reliability 2026-07-09 10:57:26 +01:00
feeds.mk build: Unconditionally append kmod feed for BuildBot 2024-12-03 12:41:08 +01:00
hardened-ld-pie.specs
hardening.mk
host-build.mk
image-commands.mk image: fix race between mkits.sh and mkimage in .itb squashfs generation 2026-07-09 10:57:30 +01:00
image.mk image: integrate the secure initramfs generator 2026-06-22 18:24:25 +02:00
kernel-build.mk
kernel-defaults.mk image: add the implementation to support the secure initramfs 2026-06-22 18:24:25 +02:00
kernel-version.mk kernel: move kernel version files to linux/generic directory 2025-07-31 15:27:30 +00:00
kernel.mk
logo.png
logo.svg
meson.mk include: meson.mk: honor CONFIG_DEBUG 2024-11-26 12:23:06 +00:00
netfilter.mk iptables: update to 1.8.10 2024-10-22 00:52:03 +02:00
nls.mk
openssl-module.mk
optee-os.mk optee-os.mk: override default PATH to not use hostpkg python 2025-03-17 16:21:23 +01:00
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-pack.mk build: add support for checksec.sh based mitigation reports 2025-07-31 15:20:37 +00:00
package-seccomp.mk
package.mk build: exclude checksec report files from rebuild check 2026-02-10 15:26:24 +00:00
prereq-build.mk
prereq.mk
quilt.mk
rootfs.mk imagebuilder: complete support for local signing keys 2024-10-29 00:07:52 +01:00
scan.awk BuildSystem: Add <package>/Makefile.append files in all active feeds as dependency for <package>/Makefile 2025-09-15 13:46:17 +03:00
scan.mk Buildsystem: Invalidate OpenWrt package information when some of SCAN_DEPS deleted 2025-09-15 13:46:17 +03:00
shell.sh
subdir.mk
target.mk target: fix kernel_menuconfig with external feed overwriting generic 2025-07-31 15:29:47 +00:00
toolchain-build.mk
toplevel.mk build: remove targetinfo invalidation based on .config 2025-01-03 11:16:17 +01:00
trusted-firmware-a.mk include/trusted-firmware-a.mk: support LTS releases 2025-06-16 15:35:49 +02:00
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk OpenWrt v24.10.4: revert to branch defaults 2026-07-09 10:57:29 +01:00