We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d9cce1 commit 872b539Copy full SHA for 872b539
config/sources/families/rockchip.conf
@@ -203,8 +203,8 @@ family_tweaks() {
203
204
# Create gpio and i2c groups on the build rootfs; they are matched against
205
# udev rules to allow non-root user access to these resources
206
- chroot_sdcard addgroup --system --quiet --gid 900 gpio
207
- chroot_sdcard addgroup --system --quiet --gid 901 i2c
+ chroot_sdcard getent group gpio >/dev/null || chroot_sdcard addgroup --system --quiet --gid 900 gpio
+ chroot_sdcard getent group i2c >/dev/null || chroot_sdcard addgroup --system --quiet --gid 901 i2c
208
209
return 0
210
0 commit comments