This commit is contained in:
Igor 2025-12-01 12:24:48 +01:00 committed by GitHub
commit cfca2dc86e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -236,8 +236,8 @@ family_tweaks() {
# Create gpio and i2c groups on the build rootfs; they are matched against
# udev rules to allow non-root user access to these resources
chroot_sdcard addgroup --system --quiet --gid 900 gpio
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
return 0