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}