Page MenuHomeFreeBSD

D43296.diff
No OneTemporary

D43296.diff

diff --git a/release/arm64/RPI.conf b/release/arm64/RPI.conf
--- a/release/arm64/RPI.conf
+++ b/release/arm64/RPI.conf
@@ -17,6 +17,7 @@
OVERLAYS="mmc.dtbo pwm.dtbo disable-bt.dtbo"
PART_SCHEME="MBR"
export BOARDNAME="RPI"
+CONFIG_POWERD_ENABLE=1
arm_install_uboot() {
UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi-arm64"
diff --git a/release/tools/arm.subr b/release/tools/arm.subr
--- a/release/tools/arm.subr
+++ b/release/tools/arm.subr
@@ -224,6 +224,9 @@
echo 'sendmail_outbound_enable="NO"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
echo 'sendmail_msp_queue_enable="NO"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
echo 'growfs_enable="YES"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
+ if [ -n "${CONFIG_POWERD_ENABLE}" ]; then
+ echo 'powerd_enable="YES"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
+ fi
sync
umount_loop ${CHROOTDIR}/${DESTDIR}

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 7:15 AM (4 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30805450
Default Alt Text
D43296.diff (860 B)

Event Timeline