Update for Orange Pi 5 ubuntu22.04 v1.0.2

This commit is contained in:
orangepi-xunlong
2022-12-09 14:16:22 +08:00
parent 69dd359f20
commit 22c084dd44
15 changed files with 494 additions and 109 deletions

View File

@@ -45,22 +45,24 @@ install_balenaEtcher(){
fi
}
family_tweaks_s() {
rsync -a "${EXTER}"/packages/bsp/rk3588/* ${SDCARD}/
[[ ${RELEASE} == jammy ]] && rm ${SDCARD}/etc/profile.d/orangepi-ssh-title.sh # for adbd
if [[ -f "${SDCARD}"/etc/profile.d/im-config_wayland.sh ]]; then
chroot $SDCARD /bin/bash -c "rm /etc/profile.d/im-config_wayland.sh" # for adbd
fi
# enable additional services
chroot "${SDCARD}" /bin/bash -c "systemctl --no-reload enable usbdevice.service >/dev/null 2>&1"
chroot $SDCARD /bin/bash -c "rm /etc/profile.d/im-config_wayland.sh"
sed "s/^SIZE=.*/SIZE=200M/" -i "${SDCARD}"/etc/default/orangepi-ramlog
chroot "${SDCARD}" /bin/bash -c "ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime"
chroot "${SDCARD}" /bin/bash -c "dpkg-reconfigure -f noninteractive tzdata" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
chroot $SDCARD /bin/bash -c "apt-get -y -qq install lm-sensors" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
install_deb_chroot "$EXTER/cache/debs/arm64/wiringpi_2.46.deb"
install_wiringop
install_docker
install_balenaEtcher
}