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 b15593b commit ef5966aCopy full SHA for ef5966a
config/sources/families/rockchip.conf
@@ -237,8 +237,8 @@ family_tweaks() {
237
238
# Create gpio and i2c groups on the build rootfs; they are matched against
239
# udev rules to allow non-root user access to these resources
240
- chroot_sdcard addgroup --system --quiet --gid 900 gpio
241
- 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
242
243
return 0
244
0 commit comments