buildroot: Move to 2021.02 LTS release
The busybox init patch was refreshed as it did not apply cleanly.
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/.gitmodules b/.gitmodules
index 499afdf..27c5792 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,4 +1,4 @@
[submodule "buildroot"]
path = buildroot
- branch = 2020.08.2-op-build
+ branch = 2021.02-op-build
url = https://github.com/open-power/buildroot
diff --git a/buildroot b/buildroot
index a84aaae..2c7a998 160000
--- a/buildroot
+++ b/buildroot
@@ -1 +1 @@
-Subproject commit a84aaaeacbd1a69053cde2e50f26250e9328de1e
+Subproject commit 2c7a9984796b03506a1a2b1ccf3f76fc85733c17
diff --git a/openpower/custom/patches/busybox/0001-init-Only-print-shutdown-messages-to-log.patch b/openpower/custom/patches/busybox/0001-init-Only-print-shutdown-messages-to-log.patch
index 196567a..89efe07 100644
--- a/openpower/custom/patches/busybox/0001-init-Only-print-shutdown-messages-to-log.patch
+++ b/openpower/custom/patches/busybox/0001-init-Only-print-shutdown-messages-to-log.patch
@@ -1,4 +1,4 @@
-From eb48b173dc3d09db483b97c4210303eee27df1db Mon Sep 17 00:00:00 2001
+From 1939276efa4a12ef9e14ea139a525c887de2bb77 Mon Sep 17 00:00:00 2001
From: Joel Stanley <joel@jms.id.au>
Date: Thu, 25 Oct 2018 15:18:56 +1030
Subject: [PATCH] init: Only print shutdown messages to log
@@ -17,10 +17,10 @@
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/init/init.c b/init/init.c
-index 6439e2bcd862..11561143e5f1 100644
+index efab5dcb44c0..afac0fd7dee5 100644
--- a/init/init.c
+++ b/init/init.c
-@@ -763,16 +763,16 @@ static void run_shutdown_and_kill_processes(void)
+@@ -762,16 +762,16 @@ static void run_shutdown_and_kill_processes(void)
* shut things down gracefully... */
run_actions(SHUTDOWN);
@@ -32,14 +32,14 @@
- message(L_CONSOLE, "Sent SIG%s to all processes", "TERM");
+ message(L_LOG, "Sent SIG%s to all processes", "TERM");
sync();
- sleep(1);
+ sleep1();
kill(-1, SIGKILL);
- message(L_CONSOLE, "Sent SIG%s to all processes", "KILL");
+ message(L_LOG, "Sent SIG%s to all processes", "KILL");
sync();
- /*sleep(1); - callers take care about making a pause */
+ /*sleep1(); - callers take care about making a pause */
}
--
-2.19.1
+2.32.0