add firefox in zero2w/zero3 ubuntu24.04 and fix zero2w Ethernet light don't work

This commit is contained in:
toolsmanhehe
2024-10-11 10:43:33 +08:00
committed by baiywt
parent 4614e50543
commit f11df9bf0d
2 changed files with 16 additions and 1 deletions

View File

@@ -63,6 +63,21 @@ family_tweaks()
fi fi
if [[ $RELEASE == noble && $BUILD_DESKTOP == yes && $install_firefox == yes ]]; then
firefox_name="firefox-esr_115.15.0esr+build1-0ubuntu0.24.04.1~mt1_arm64.deb"
firefox_url="https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/pool/main/f/firefox-esr/"
firefox=${EXTER}/cache/debs/arm64/${firefox_name}
if [[ ! -f $firefox ]]; then
wget -P ${EXTER}/cache/debs/arm64 ${firefox_url}/${firefox_name}
fi
install_deb_chroot $firefox
fi
rm $SDCARD/root/*.deb >/dev/null 2>&1 rm $SDCARD/root/*.deb >/dev/null 2>&1
} }

View File

@@ -253,7 +253,7 @@ prepare_board() {
if [[ $BOARD == orangepizero2w ]]; then if [[ $BOARD == orangepizero2w ]]; then
if [[ ${DISTRIBUTION_CODENAME} == "bookworm" ]]; then if [[ ${DISTRIBUTION_CODENAME} == "bookworm" || ${DISTRIBUTION_CODENAME} == "noble" ]]; then
interface_100m="end0" interface_100m="end0"
else else
interface_100m="eth0" interface_100m="eth0"