From 24eaf6da9ec665633c47ff4d4c5bb72ae141b015 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 19 Oct 2025 00:00:00 +0200 Subject: [PATCH] patches: carry forward uci-defaults sync (0052) Adds sync after uci-defaults execution to ensure changes are written to disk. Renumbered from patches/0096. Signed-off-by: John Crispin --- ...2-base-files-boot-add-sync-after-uci-defaults.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename patches/0096-base-files-boot-add-sync-after-uci-defaults.patch => patches-24.10/0052-base-files-boot-add-sync-after-uci-defaults.patch (78%) diff --git a/patches/0096-base-files-boot-add-sync-after-uci-defaults.patch b/patches-24.10/0052-base-files-boot-add-sync-after-uci-defaults.patch similarity index 78% rename from patches/0096-base-files-boot-add-sync-after-uci-defaults.patch rename to patches-24.10/0052-base-files-boot-add-sync-after-uci-defaults.patch index 84d766b61..808adbc7f 100644 --- a/patches/0096-base-files-boot-add-sync-after-uci-defaults.patch +++ b/patches-24.10/0052-base-files-boot-add-sync-after-uci-defaults.patch @@ -1,7 +1,7 @@ -From 309a419087da906a2f3b0f39763f021e9729dd85 Mon Sep 17 00:00:00 2001 +From 2e3b5d5a612dd2d47f9d239b9594b40239d64647 Mon Sep 17 00:00:00 2001 From: Paul White Date: Mon, 4 Aug 2025 04:14:23 +0000 -Subject: [PATCH] base-files: boot: add sync after uci-defaults +Subject: [PATCH 52/55] base-files: boot: add sync after uci-defaults A scenario was seen where UCI config was not flushed to disk before an AP power-cycle after uci-defaults was completed. Since these @@ -17,10 +17,10 @@ Signed-off-by: Paul White 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot -index 15756669a9..c8a803e32c 100755 +index a26d4886b2..6ff9207de4 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot -@@ -15,6 +15,7 @@ uci_apply_defaults() { +@@ -14,6 +14,7 @@ uci_apply_defaults() { ( . "./$(basename $file)" ) && rm -f "$file" done uci commit @@ -29,5 +29,5 @@ index 15756669a9..c8a803e32c 100755 boot() { -- -2.43.0 +2.34.1