From 2b57521f74eaa4af4add22b5deb7c60cbe71237d Mon Sep 17 00:00:00 2001 From: Suhaas Joshi Date: Wed, 20 Nov 2024 11:05:51 +0530 Subject: [PATCH] Add wifi packages and use hooks to disable NetworkManager In the default package lists of am62xx and am62pxx devices, add packages related to support for cc33xx wifi cards. The other platforms do not currently support these cards, so need this only in am62xx and am62pxx. Also use hooks to disable NetworkManager. Doing `systemctl disable ...` doesn't work. Signed-off-by: Suhaas Joshi --- configs/bdebstrap_configs/trixie/trixie-am62pxx-evm.yaml | 7 +++++-- configs/bdebstrap_configs/trixie/trixie-am62xx-evm.yaml | 7 +++++-- .../bdebstrap_configs/trixie/trixie-rt-am62pxx-evm.yaml | 7 +++++-- configs/bdebstrap_configs/trixie/trixie-rt-am62xx-evm.yaml | 7 +++++-- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/configs/bdebstrap_configs/trixie/trixie-am62pxx-evm.yaml b/configs/bdebstrap_configs/trixie/trixie-am62pxx-evm.yaml index 98953aa..221910e 100644 --- a/configs/bdebstrap_configs/trixie/trixie-am62pxx-evm.yaml +++ b/configs/bdebstrap_configs/trixie/trixie-am62pxx-evm.yaml @@ -24,7 +24,6 @@ mmdebstrap: - libpam-systemd - locales - neofetch - - network-manager - net-tools - openssh-server - sudo @@ -69,6 +68,11 @@ mmdebstrap: - chromium - wpasupplicant - seatd + - cc33xx-target-scripts + - cc33xx-fw + - cc33calibrator + - cc33conf + - udhcpc mirrors: - http://deb.debian.org/debian setup-hooks: @@ -111,7 +115,6 @@ mmdebstrap: - 'upload target/systemd-networkd/15-eth.network /etc/systemd/network/15-eth.network' - 'upload target/systemd-networkd/30-wlan.network /etc/systemd/network/30-wlan.network' - 'upload target/systemd-networkd/60-usb.network /etc/systemd/network/60-usb.network' - - 'chroot "$1" systemctl disable NetworkManager' # Enable seatd service - '$BDEBSTRAP_HOOKS/enable-units "$1" seatd' # Enable ssh to root user without password diff --git a/configs/bdebstrap_configs/trixie/trixie-am62xx-evm.yaml b/configs/bdebstrap_configs/trixie/trixie-am62xx-evm.yaml index 3c9caf0..2850dbb 100644 --- a/configs/bdebstrap_configs/trixie/trixie-am62xx-evm.yaml +++ b/configs/bdebstrap_configs/trixie/trixie-am62xx-evm.yaml @@ -24,7 +24,6 @@ mmdebstrap: - libpam-systemd - locales - neofetch - - network-manager - net-tools - openssh-server - sudo @@ -69,6 +68,11 @@ mmdebstrap: - chromium - wpasupplicant - seatd + - cc33xx-target-scripts + - cc33xx-fw + - cc33calibrator + - cc33conf + - udhcpc mirrors: - http://deb.debian.org/debian setup-hooks: @@ -111,7 +115,6 @@ mmdebstrap: - 'upload target/systemd-networkd/15-eth.network /etc/systemd/network/15-eth.network' - 'upload target/systemd-networkd/30-wlan.network /etc/systemd/network/30-wlan.network' - 'upload target/systemd-networkd/60-usb.network /etc/systemd/network/60-usb.network' - - 'chroot "$1" systemctl disable NetworkManager' # Enable seatd service - '$BDEBSTRAP_HOOKS/enable-units "$1" seatd' # Enable ssh to root user without password diff --git a/configs/bdebstrap_configs/trixie/trixie-rt-am62pxx-evm.yaml b/configs/bdebstrap_configs/trixie/trixie-rt-am62pxx-evm.yaml index c225798..6a0541d 100644 --- a/configs/bdebstrap_configs/trixie/trixie-rt-am62pxx-evm.yaml +++ b/configs/bdebstrap_configs/trixie/trixie-rt-am62pxx-evm.yaml @@ -24,7 +24,6 @@ mmdebstrap: - libpam-systemd - locales - neofetch - - network-manager - net-tools - openssh-server - sudo @@ -69,6 +68,11 @@ mmdebstrap: - chromium - wpasupplicant - seatd + - cc33xx-target-scripts + - cc33xx-fw + - cc33calibrator + - cc33conf + - udhcpc mirrors: - http://deb.debian.org/debian setup-hooks: @@ -111,7 +115,6 @@ mmdebstrap: - 'upload target/systemd-networkd/15-eth.network /etc/systemd/network/15-eth.network' - 'upload target/systemd-networkd/30-wlan.network /etc/systemd/network/30-wlan.network' - 'upload target/systemd-networkd/60-usb.network /etc/systemd/network/60-usb.network' - - 'chroot "$1" systemctl disable NetworkManager' # Enable seatd service - '$BDEBSTRAP_HOOKS/enable-units "$1" seatd' # Enable ssh to root user without password diff --git a/configs/bdebstrap_configs/trixie/trixie-rt-am62xx-evm.yaml b/configs/bdebstrap_configs/trixie/trixie-rt-am62xx-evm.yaml index 535b961..0df1549 100644 --- a/configs/bdebstrap_configs/trixie/trixie-rt-am62xx-evm.yaml +++ b/configs/bdebstrap_configs/trixie/trixie-rt-am62xx-evm.yaml @@ -24,7 +24,6 @@ mmdebstrap: - libpam-systemd - locales - neofetch - - network-manager - net-tools - openssh-server - sudo @@ -69,6 +68,11 @@ mmdebstrap: - chromium - wpasupplicant - seatd + - cc33xx-target-scripts + - cc33xx-fw + - cc33calibrator + - cc33conf + - udhcpc mirrors: - http://deb.debian.org/debian setup-hooks: @@ -111,7 +115,6 @@ mmdebstrap: - 'upload target/systemd-networkd/15-eth.network /etc/systemd/network/15-eth.network' - 'upload target/systemd-networkd/30-wlan.network /etc/systemd/network/30-wlan.network' - 'upload target/systemd-networkd/60-usb.network /etc/systemd/network/60-usb.network' - - 'chroot "$1" systemctl disable NetworkManager' # Enable seatd service - '$BDEBSTRAP_HOOKS/enable-units "$1" seatd' # Enable ssh to root user without password