mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-03-23 17:16:43 +07:00
add firefox in zero2w/zero3 ubuntu24.04 and fix zero2w Ethernet light don't work
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user