openwrt/package
Andreas Gnau 26ba9b609b base-files: board_detect: make resilient against power-cuts
If board_detect is interrupted by cutting power on first boot,
board.json might only be half-way written and the file will not be
written again correctly on subsequent boots.

Write to a temporary file first, then rename. Since a rename on the same
file system is an atomic operation, it ensures that either
/etc/board.json does not exist or that the complete file exists.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Link: https://github.com/openwrt/openwrt/pull/20831
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-11-25 21:51:25 +01:00
..
base-files base-files: board_detect: make resilient against power-cuts 2025-11-25 21:51:25 +01:00
boot kirkwood: add support for D-Link DNS-325 A1 2025-11-25 15:41:38 +01:00
devel binutils: update to 2.45.1 2025-11-24 09:39:48 +01:00
firmware intel-microcode: update to 2025111 2025-11-15 19:28:03 +01:00
kernel mac80211: ath11k: fix rssi for IPQ5018 and QCN6122 2025-11-25 15:30:47 +01:00
libs libtraceevent: update to 1.8.6 2025-11-25 14:09:07 +01:00
network wpan-tools: update to 0.10 2025-11-25 14:08:07 +01:00
system mtd: add dump command help 2025-11-25 00:43:23 +01:00
utils busybox: backport hexdump fix for Big Endian systems 2025-11-23 17:10:00 +01:00
Makefile package: do not sign individual APK packages 2025-10-09 12:52:43 +02:00