From 32ce8a293f6f653639e87d17bec529641273282e Mon Sep 17 00:00:00 2001 From: Aster Boese Date: Mon, 21 Jul 2025 13:19:28 -0400 Subject: [PATCH] samsung-manta: remove wlan modification files As per https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6804#note_491990, these files are irrelevant and not useful anymore, so just remove them. Signed-off-by: Aster Boese Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6804 [ci:skip-build]: already built successfully in CI --- .../community/device-samsung-manta/100-wlan-mac.rules | 1 - device/community/device-samsung-manta/APKBUILD | 10 ++-------- .../community/device-samsung-manta/networkmanager.conf | 2 -- device/community/device-samsung-manta/wifi-macaddr.sh | 5 ----- 4 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 device/community/device-samsung-manta/100-wlan-mac.rules delete mode 100644 device/community/device-samsung-manta/networkmanager.conf delete mode 100644 device/community/device-samsung-manta/wifi-macaddr.sh diff --git a/device/community/device-samsung-manta/100-wlan-mac.rules b/device/community/device-samsung-manta/100-wlan-mac.rules deleted file mode 100644 index 567219f37..000000000 --- a/device/community/device-samsung-manta/100-wlan-mac.rules +++ /dev/null @@ -1 +0,0 @@ -ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan0", RUN+="/usr/lib/device-samsung-manta/wifi-macaddr.sh" diff --git a/device/community/device-samsung-manta/APKBUILD b/device/community/device-samsung-manta/APKBUILD index 6a103b1ba..a7505d7f1 100644 --- a/device/community/device-samsung-manta/APKBUILD +++ b/device/community/device-samsung-manta/APKBUILD @@ -3,8 +3,8 @@ # Co-Maintainer: Alexandre Marquet pkgname=device-samsung-manta pkgdesc="Google Nexus 10" -pkgver=8 -pkgrel=1 +pkgver=9 +pkgrel=0 url="https://postmarketos.org" license="MIT" arch="armv7" @@ -19,9 +19,6 @@ subpackages="$pkgname-nonfree-firmware:nonfree_firmware" source=" deviceinfo modules-initfs - 100-wlan-mac.rules - wifi-macaddr.sh - networkmanager.conf hwclock " replaces="openrc" # for hwclock configuration @@ -58,8 +55,5 @@ nonfree_firmware() { sha512sums=" 9a566c5be457834f0cfa5750ced12ed1c26019dd24c311f4c8b3bf8b6417658c2868a6b2b6d2eb73b75a67e3bb707d8ae8016f80342d2b467d1e44eff7303269 deviceinfo e00c58936fa4340f8531538136ad028d002342a4399b68d26190b931831108007486257f9d8a48c3ed454696b45d176b1497d624c33ace21e61eba33ac7ce136 modules-initfs -37a18d36e1e08ddcc605de73214dc02a9e7737f6a66b2e4be301fca816bbf3c2ba6b5ead1f12c745fd0fa019e2a8e959e4fc20386ad94ca7277d4c7d7f9fb703 100-wlan-mac.rules -cfba48f87335ed8810004e02db165203149532ade7be206947f8195bbcc14d61bf3a898378566aca7295ba08784665f462442bf5e74d7f58b2cc62d996376317 wifi-macaddr.sh -5c3a692f22a29fca792c114c6d94ff1bf0d6921f068f207a2894a8f99c73dcc319e7c803ed7adfe64eb3e60088f37e2a2730118b2ed57aa01b35415664085567 networkmanager.conf 8a9756c66bf1eacd6a9717abf772a198123391deac7e32a520666dd6f72c4c5b09d1a4791437c8902f62cf4b49106ace195d57082972b1cb4c843c8e1b065875 hwclock " diff --git a/device/community/device-samsung-manta/networkmanager.conf b/device/community/device-samsung-manta/networkmanager.conf deleted file mode 100644 index 4da663fae..000000000 --- a/device/community/device-samsung-manta/networkmanager.conf +++ /dev/null @@ -1,2 +0,0 @@ -[connection] -wifi.cloned-mac-address=preserve diff --git a/device/community/device-samsung-manta/wifi-macaddr.sh b/device/community/device-samsung-manta/wifi-macaddr.sh deleted file mode 100644 index 9e68247ea..000000000 --- a/device/community/device-samsung-manta/wifi-macaddr.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -macaddr=$(sed -n "s/^.*androidboot\.wifimacaddr=\(\([0-9A-Fa-f]\{2\}:\)\{5\}[0-9A-Fa-f]\{2\}\).*$/\1/p" < /proc/cmdline) - -/sbin/ip link set wlan0 address "$macaddr"