Update for Orange Pi 3B v1.0.4

This commit is contained in:
baiywt
2023-10-26 13:34:11 +08:00
parent ed4ced31b6
commit a0a0aeaaa6
10 changed files with 39 additions and 10 deletions

View File

@@ -38,7 +38,7 @@ install_balenaEtcher(){
family_tweaks_bsp()
{
:
install -m 755 $EXTER/packages/bsp/adb/adbd-${ARCH} ${destination}/usr/bin/adbd
}
family_tweaks_s() {
@@ -47,6 +47,13 @@ family_tweaks_s() {
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
[[ ${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"
if [[ -f "${SDCARD}"/etc/profile.d/im-config_wayland.sh && ${DESKTOP_ENVIRONMENT} =~ xfce|kde-plasma ]]; then
chroot $SDCARD /bin/bash -c "rm /etc/profile.d/im-config_wayland.sh" # for adbd
fi
install_docker
install_balenaEtcher
install_wiringop