Update sunxi64_common.inc

This commit is contained in:
orangepi-xunlong 2022-06-01 10:36:38 +08:00
parent c5610baf98
commit 4869c8553e
1 changed files with 5 additions and 4 deletions

View File

@ -42,9 +42,8 @@ family_tweaks()
if [[ $BOARD =~ orangepi3-lts|orangepizero2|orangepizero2-b|orangepizero2-lts ]]; then if [[ $BOARD =~ orangepi3-lts|orangepizero2|orangepizero2-b|orangepizero2-lts ]]; then
[[ $RELEASE == bookworm ]] && dpkg_install_deb_chroot "$EXTER/cache/debs/extra/${RELEASE}-utils/wpasupplicant_2.10-9_arm64.deb" [[ $RELEASE == bookworm ]] && dpkg_install_deb_chroot "$EXTER/cache/debs/extra/${RELEASE}-utils/wpasupplicant_2.10-9_arm64.deb"
[[ $RELEASE == jammy ]] && dpkg_install_deb_chroot "$EXTER/cache/debs/extra/${RELEASE}-utils/wpasupplicant_2.10-6_arm64.deb" [[ $RELEASE == jammy ]] && dpkg_install_deb_chroot "$EXTER/cache/debs/extra/${RELEASE}-utils/wpasupplicant_2.10-6ubuntu1_arm64.deb"
rm $SDCARD/root/*.deb >/dev/null 2>&1
fi fi
if [[ $RELEASE == jammy && $BUILD_DESKTOP == yes && $install_chromium == yes ]]; then if [[ $RELEASE == jammy && $BUILD_DESKTOP == yes && $install_chromium == yes ]]; then
@ -60,10 +59,12 @@ family_tweaks()
wget -P ${EXTER}/cache/debs/arm64 ${chromium_url}/${chromium_extra_name} wget -P ${EXTER}/cache/debs/arm64 ${chromium_url}/${chromium_extra_name}
fi fi
dpkg_install_deb_chroot $chromium_extra install_deb_chroot $chromium_extra
dpkg_install_deb_chroot $chromium install_deb_chroot $chromium
fi fi
rm $SDCARD/root/*.deb >/dev/null 2>&1
} }
write_uboot_platform() write_uboot_platform()