Skip to content

Commit

Permalink
add firefox in zero2w/zero3 ubuntu24.04 and fix zero2w Ethernet light…
Browse files Browse the repository at this point in the history
… don't work
  • Loading branch information
toolsmanhehe authored and baiywt committed Oct 11, 2024
1 parent 4614e50 commit f11df9b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions external/config/sources/families/include/sunxi64_common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,21 @@ family_tweaks()

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
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ prepare_board() {

if [[ $BOARD == orangepizero2w ]]; then

if [[ ${DISTRIBUTION_CODENAME} == "bookworm" ]]; then
if [[ ${DISTRIBUTION_CODENAME} == "bookworm" || ${DISTRIBUTION_CODENAME} == "noble" ]]; then
interface_100m="end0"
else
interface_100m="eth0"
Expand Down

0 comments on commit f11df9b

Please sign in to comment.