[Buildroot] [git commit branch/2023.05.x] package/petitboot: fix HOST_PROG_SHUTDOWN value

Peter Korsgaard peter at korsgaard.com
Mon Sep 25 05:28:51 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=8e1f31cade1455fc16ffc91ad3dd4f1ead94891b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x

HOST_PROG_SHUTDOWN currently references a file that doesn't exist. Fix
by setting it to /usr/libexec/petitboot/bb-kexec-reboot, which this
package already installs but doesn't use.

Signed-off-by: Reza Arbab <arbab at linux.ibm.com>
Reviewed-by: Laurent Vivier <laurent at vivier.eu>
Signed-off-by: Arnout Vandecappelle <arnout at mind.be>
(cherry picked from commit ab91ddd8a8ebdc10fa26a6d9541cf5e50e297973)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/petitboot/petitboot.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/petitboot/petitboot.mk b/package/petitboot/petitboot.mk
index a798e7ca61..a21224ec34 100644
--- a/package/petitboot/petitboot.mk
+++ b/package/petitboot/petitboot.mk
@@ -21,7 +21,7 @@ PETITBOOT_CONF_OPTS = \
 	--without-twin-x11 \
 	$(if $(BR2_PACKAGE_BUSYBOX),--enable-busybox,--disable-busybox) \
 	HOST_PROG_KEXEC=/usr/sbin/kexec \
-	HOST_PROG_SHUTDOWN=/usr/sbin/kexec-restart
+	HOST_PROG_SHUTDOWN=/usr/libexec/petitboot/bb-kexec-reboot
 
 # HPA and Busybox tftp are supported. HPA tftp is part of Buildroot's tftpd
 # package.



More information about the buildroot mailing list