From a0aad25941796a88fc0d5d98b2294c0c4e98a80b Mon Sep 17 00:00:00 2001 From: Reza Arbab Date: Fri, 15 Sep 2023 10:58:31 -0500 Subject: [PATCH] package/petitboot: fix HOST_PROG_SHUTDOWN value 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 Reviewed-by: Laurent Vivier Signed-off-by: Arnout Vandecappelle (cherry picked from commit ab91ddd8a8ebdc10fa26a6d9541cf5e50e297973) Signed-off-by: Peter Korsgaard --- 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 8b4c14207e..8d220f88f4 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.