Skip to content

Commit

Permalink
Add wifi packages and use hooks to disable NetworkManager
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jsuhaas22 committed Nov 22, 2024
1 parent bbad0ed commit 6e12837
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
7 changes: 5 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-am62pxx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ mmdebstrap:
- libpam-systemd
- locales
- neofetch
- network-manager
- net-tools
- openssh-server
- sudo
Expand Down Expand Up @@ -69,6 +68,11 @@ mmdebstrap:
- chromium
- wpasupplicant
- seatd
- cc33xx-target-scripts
- cc33xx-fw
- cc33calibrator
- cc33conf
- udhcpc
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-am62xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ mmdebstrap:
- libpam-systemd
- locales
- neofetch
- network-manager
- net-tools
- openssh-server
- sudo
Expand Down Expand Up @@ -69,6 +68,11 @@ mmdebstrap:
- chromium
- wpasupplicant
- seatd
- cc33xx-target-scripts
- cc33xx-fw
- cc33calibrator
- cc33conf
- udhcpc
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-rt-am62pxx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ mmdebstrap:
- libpam-systemd
- locales
- neofetch
- network-manager
- net-tools
- openssh-server
- sudo
Expand Down Expand Up @@ -69,6 +68,11 @@ mmdebstrap:
- chromium
- wpasupplicant
- seatd
- cc33xx-target-scripts
- cc33xx-fw
- cc33calibrator
- cc33conf
- udhcpc
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-rt-am62xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ mmdebstrap:
- libpam-systemd
- locales
- neofetch
- network-manager
- net-tools
- openssh-server
- sudo
Expand Down Expand Up @@ -69,6 +68,11 @@ mmdebstrap:
- chromium
- wpasupplicant
- seatd
- cc33xx-target-scripts
- cc33xx-fw
- cc33calibrator
- cc33conf
- udhcpc
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6e12837

Please sign in to comment.