p4wnp1: Add spi/gpio groups in build script

The P4wnp1 needs the groups added before the system boots for the first
time, because the udev rules happen earlier, so add them in here instead
of in the bsp
This commit is contained in:
Steev Klimaszewski
2023-03-25 02:50:42 -05:00
parent 66710e2865
commit 57b2cd711c

View File

@@ -119,6 +119,11 @@ rm /etc/runonce.d/03-check-ssh-keys
# Copy in bluetooth overrides # Copy in bluetooth overrides
status_stage3 'Add systemd service overrides for bluetooth' status_stage3 'Add systemd service overrides for bluetooth'
cp -a /bsp/overrides/* /etc/systemd/system/ cp -a /bsp/overrides/* /etc/systemd/system/
# Create spi and gpio groups
status_stage3 'Add spi and gpio groups'
groupadd -f -r spi
groupadd -f -r gpio
EOF EOF
# Run third stage # Run third stage