jammy: update hostapd to hostapd_2.10-6

This commit is contained in:
orangepi-xunlong 2022-05-17 19:14:42 +08:00
parent 6f820a4665
commit 8a7661b3af
5 changed files with 13 additions and 8 deletions

View File

@ -38,6 +38,15 @@ family_tweaks()
# install_deb_chroot "$EXTER/cache/debs/extra/bullseye-desktop/dockbarx-theme-zorin_1.1.0_all.deb"
# #install_deb_chroot "$EXTER/cache/debs/extra/bullseye-desktop/scratch-desktop_3.26.0_arm64.deb"
#fi
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 == jammy ]] && dpkg_install_deb_chroot "$EXTER/cache/debs/extra/${RELEASE}-utils/wpasupplicant_2.10-6_arm64.deb"
rm $SDCARD/root/*.deb >/dev/null 2>&1
fi
}
write_uboot_platform()

View File

@ -73,15 +73,9 @@ family_tweaks_s()
fi
if [[ $BOARD == orangepi3-lts ]]; then
[[ $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"
rm $SDCARD/root/*.deb >/dev/null 2>&1
fi
}
family_tweaks_bsp()
{
:

View File

@ -435,4 +435,6 @@ chroot_installpackages()
EOF
chmod +x "${SDCARD}"/tmp/install.sh
chroot "${SDCARD}" /bin/bash -c "/tmp/install.sh" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
[[ -f ${SDCARD}/etc/hostapd.conf ]] && sed -i "s/^ssid=.*/ssid=OrangePi/" ${SDCARD}/etc/hostapd.conf
} #############################################################################