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 21, 2024
1 parent 6e8ec83 commit e675902
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
6 changes: 6 additions & 0 deletions configs/bdebstrap_configs/trixie/trixie-am62pxx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,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 @@ -112,6 +117,7 @@ mmdebstrap:
- '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'
- '$BDEBSTRAP_HOOKS/disable-units "$1" NetworkManager'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
Expand Down
7 changes: 6 additions & 1 deletion configs/bdebstrap_configs/trixie/trixie-am62xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,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 +116,7 @@ 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'
- '$BDEBSTRAP_HOOKS/disable-units "$1" NetworkManager'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
Expand Down
7 changes: 6 additions & 1 deletion configs/bdebstrap_configs/trixie/trixie-rt-am62pxx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,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 +116,7 @@ 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'
- '$BDEBSTRAP_HOOKS/disable-units "$1" NetworkManager'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
Expand Down
7 changes: 6 additions & 1 deletion configs/bdebstrap_configs/trixie/trixie-rt-am62xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,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 +116,7 @@ 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'
- '$BDEBSTRAP_HOOKS/disable-units "$1" NetworkManager'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
Expand Down

0 comments on commit e675902

Please sign in to comment.