Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Reza Arbab <arbab@linux.ibm.com>
To: buildroot@buildroot.org
Cc: Reza Arbab <arbab@linux.ibm.com>,
	Laurent Vivier <laurent@vivier.eu>, Joel Stanley <joel@jms.id.au>
Subject: [Buildroot] [PATCH v2 1/5] package/petitboot: fix HOST_PROG_SHUTDOWN value
Date: Fri, 15 Sep 2023 10:58:31 -0500	[thread overview]
Message-ID: <20230915155835.51140-2-arbab@linux.ibm.com> (raw)
In-Reply-To: <20230915155835.51140-1-arbab@linux.ibm.com>

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@linux.ibm.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
---
 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 8b4c14207ec4..8d220f88f45a 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.
-- 
2.39.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-09-15 16:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-15 15:58 [Buildroot] [PATCH v2 0/5] package/petitboot: misc enhancement Reza Arbab
2023-09-15 15:58 ` Reza Arbab [this message]
2023-09-17 18:09   ` [Buildroot] [PATCH v2 1/5] package/petitboot: fix HOST_PROG_SHUTDOWN value Arnout Vandecappelle via buildroot
2023-09-15 15:58 ` [Buildroot] [PATCH v2 2/5] package/petitboot: run pb-console at boot Reza Arbab
2023-09-17 18:44   ` Arnout Vandecappelle via buildroot
2023-09-19 15:57     ` Reza Arbab
2023-09-18  6:46   ` Joel Stanley
2023-09-18  7:13   ` Laurent Vivier
2023-09-15 15:58 ` [Buildroot] [PATCH v2 3/5] package/petitboot: poll removable devices Reza Arbab
2023-09-18  6:45   ` Joel Stanley
2023-09-15 15:58 ` [Buildroot] [PATCH v2 4/5] package/petitboot: enable discovery of software RAID devices Reza Arbab
2023-09-17 18:58   ` Arnout Vandecappelle via buildroot
2023-09-18  6:43   ` Joel Stanley
2023-09-15 15:58 ` [Buildroot] [PATCH v2 5/5] package/petitboot: enable discovery of SCSI devices Reza Arbab
2023-09-17 19:01   ` Arnout Vandecappelle via buildroot
2023-09-18  6:43   ` Joel Stanley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230915155835.51140-2-arbab@linux.ibm.com \
    --to=arbab@linux.ibm.com \
    --cc=buildroot@buildroot.org \
    --cc=joel@jms.id.au \
    --cc=laurent@vivier.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox