From 1c739e9f36999089c2b3c92ea6dcf0341daccc39 Mon Sep 17 00:00:00 2001 From: Aster Boese Date: Fri, 24 Jul 2026 15:37:39 +0200 Subject: [PATCH] main/postmarketos-base-ui: notify users upon installing iwd for MAC modification Signed-off-by: Aster Boese Part-of: --- main/postmarketos-base-ui/APKBUILD | 3 ++- .../postmarketos-base-ui-wifi-iwd.post-install | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 main/postmarketos-base-ui/postmarketos-base-ui-wifi-iwd.post-install diff --git a/main/postmarketos-base-ui/APKBUILD b/main/postmarketos-base-ui/APKBUILD index f18e4f217..62b5b11cf 100644 --- a/main/postmarketos-base-ui/APKBUILD +++ b/main/postmarketos-base-ui/APKBUILD @@ -1,6 +1,6 @@ maintainer="Clayton Craft " pkgname=postmarketos-base-ui -pkgver=56 +pkgver=57 pkgrel=0 pkgdesc="Meta package for minimal postmarketOS UI base" url="https://postmarketos.org" @@ -58,6 +58,7 @@ install=" $pkgname-openrc.post-upgrade $pkgname-openrc-settingsd.post-install $pkgname-openrc-settingsd.post-upgrade + $pkgname-wifi-iwd.post-install $pkgname-wifi-iwd-openrc.post-install $pkgname-wifi-iwd-openrc.post-upgrade $pkgname-wifi-wpa_supplicant-openrc.post-install diff --git a/main/postmarketos-base-ui/postmarketos-base-ui-wifi-iwd.post-install b/main/postmarketos-base-ui/postmarketos-base-ui-wifi-iwd.post-install new file mode 100644 index 000000000..3a6fd8c78 --- /dev/null +++ b/main/postmarketos-base-ui/postmarketos-base-ui-wifi-iwd.post-install @@ -0,0 +1,11 @@ +#!/bin/sh -e + +printf "\n" +printf "NOTICE * * * * * * * * * *\n" +printf "\n" +printf "If you are switching from wpa_supplicant and use MAC modification,\n" +printf "add the following to /etc/iwd/main.conf:\n" +printf "\n" +printf "\t[General]\n" +printf "\tAddressRandomization=network\n" +printf "\n"