Skip to contentSkip to conversation

package/apcupsd: set ac_cv_path_SHUTDOWN

PATCH Applied Fabrice Fontaine 3 participants 3 messages Mar 30, 2024 – May 15, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/apcupsd: set ac_cv_path_SHUTDOWN

Set ac_cv_path_SHUTDOWN to /sbin/shutdown to avoid the following build failure when shutdown is not available on host raised since the addition of the package in commit d12b63b741586b89c4017551308c43512a617287:

configure: error: Missing required tool; need any one of: shutdown shutdown.bsd

Fixes d12b63b741586b89c4017551308c43512a617287

- http://autobuild.buildroot.org/results/a8bbb5ced8343e08070361f260050de422144710

---
 package/apcupsd/apcupsd.mk | 1 +
 1 file changed, 1 insertion(+)
package/apcupsd/apcupsd.mk +1 -0
index 97e6d6a558..43a016678d 100644
@@ -11,6 +11,7 @@ APCUPSD_LICENSE_FILES = COPYING
 APCUPSD_CPE_ID_VENDOR = apcupsd
 APCUPSD_SELINUX_MODULES = apache apcupsd
 APCUPSD_CONF_OPTS = --disable-test
+APCUPSD_CONF_ENV = ac_cv_path_SHUTDOWN=/sbin/shutdown
 
 ifneq ($(BR2_PACKAGE_APCUPSD_MODBUS_USB)$(BR2_PACKAGE_APCUPSD_USB),)
 APCUPSD_CONF_ENV += ac_cv_path_usbcfg=$(STAGING_DIR)/usr/bin/libusb-config
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · On Sat, 30 Mar 2024 23:11:22 +0100 Fabrice Fontaine…

Set ac_cv_path_SHUTDOWN to /sbin/shutdown to avoid the following build failure when shutdown is not available on host raised since the addition of the package in commit d12b63b741586b89c4017551308c43512a617287:

configure: error: Missing required tool; need any one of: shutdown shutdown.bsd

Quoted 7 lines
Fixes d12b63b741586b89c4017551308c43512a617287

- http://autobuild.buildroot.org/results/a8bbb5ced8343e08070361f260050de422144710

---
 package/apcupsd/apcupsd.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Set ac_cv_path_SHUTDOWN to /sbin/shutdown to avoid the following build failure when shutdown is not available on host raised since the addition of the package in commit d12b63b741586b89c4017551308c43512a617287:

Quoted 6 lines

configure: error: Missing required tool; need any one of: shutdown shutdown.bsd

Fixes d12b63b741586b89c4017551308c43512a617287

- http://autobuild.buildroot.org/results/a8bbb5ced8343e08070361f260050de422144710

Committed to 2024.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot