rk356x: Fix config prompts during install

This commit is contained in:
baiywt
2024-11-19 13:49:44 +08:00
parent 3cee1e725d
commit 23158a3ecc

View File

@@ -45,7 +45,7 @@ family_tweaks_s() {
rsync -a --chown=root:root "${EXTER}"/packages/bsp/rk356x/* ${SDCARD}/ rsync -a --chown=root:root "${EXTER}"/packages/bsp/rk356x/* ${SDCARD}/
chroot $SDCARD /bin/bash -c "apt-get -y -qq install dnsmasq v4l-utils cheese swig python3-dev python3-setuptools bluez libncurses-dev" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1 chroot $SDCARD /bin/bash -c "apt-get -y -qq install dnsmasq v4l-utils swig python3-dev python3-setuptools bluez libncurses-dev" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
[[ ${RELEASE} == jammy ]] && rm ${SDCARD}/etc/profile.d/orangepi-ssh-title.sh # for adbd [[ ${RELEASE} == jammy ]] && rm ${SDCARD}/etc/profile.d/orangepi-ssh-title.sh # for adbd
chroot "${SDCARD}" /bin/bash -c "systemctl --no-reload enable usbdevice.service >/dev/null 2>&1" chroot "${SDCARD}" /bin/bash -c "systemctl --no-reload enable usbdevice.service >/dev/null 2>&1"