diff --git a/main/postmarketos-base/APKBUILD b/main/postmarketos-base/APKBUILD index 48df1a8d8..896be2adc 100644 --- a/main/postmarketos-base/APKBUILD +++ b/main/postmarketos-base/APKBUILD @@ -1,6 +1,6 @@ pkgname=postmarketos-base pkgver=2 -pkgrel=5 +pkgrel=6 pkgdesc="Meta package for minimal postmarketos base" url="https://github.com/postmarketOS" arch="noarch" @@ -25,4 +25,4 @@ package() { sha512sums="c6de3b44bc45b9f9c641a7e34c69a481ee39b99ac0251cd28f2b3aae49c1a8d1ca448f4936b7942b1a8b8f7c18a5415c938098765ed8cf08456543800160e64b sudoers 38dc75c0ed32b76dccd3d8e7e8173e8b7d91847cf2b07123f376b95af46b4f89798b24f45302a0726fdc1cf253aecaac140f431735ac5c6511553f790badd0af firmwareload.sh 0b098828080055d3646ea54891cb0e1b578cbc30f5e16f7284f2814c08192f18079a38fb686d192715ae6a3d2cd6625d9e3cf99f234a6f0d94088bb0cb2ce43d 50-firmware.rules -62d91b43c9f2c64f8eeeb8cd89a03d3d00a904c6563ea81c09aed8df0187abe71f458503716df8e78d5aaecd1205d218d2b90c982929d1c698c5d0b1d26e85e4 postmarketos-base.post-install" +b5648649a505d2c5291a4d052996458c94feefcf681ad57f9fb1f8ec898b7cf3a8ceb0437ab8a410004331f8c21b73743af447fdcdbc18be24d8a2cdcd398d06 postmarketos-base.post-install" diff --git a/main/postmarketos-base/postmarketos-base.post-install b/main/postmarketos-base/postmarketos-base.post-install index 83297f622..98cee74f4 100644 --- a/main/postmarketos-base/postmarketos-base.post-install +++ b/main/postmarketos-base/postmarketos-base.post-install @@ -42,3 +42,10 @@ fi # Enable syslog to SHM. Note: size is 4048KiB, which *should* be More Than Enough(TM) for all but the most chattiest of devices. sed s/=\"/=\""-C4048 "/ -i /etc/conf.d/syslog + +# Enable wext, nl80211 & dbus control for wpa_supplicant +if ! grep -q Dwext /etc/conf.d/wpa_supplicant; then + sed -i 's/wpa_supplicant_args=\"/wpa_supplicant_args=\" -u -Dwext,nl80211 ' /etc/conf.d/wpa_supplicant +fi +touch /etc/wpa_supplicant/wpa_supplicant.conf +