mirror of https://github.com/armbian/build.git
Merge 872b539b90 into ede82dbfe2
This commit is contained in:
commit
cfca2dc86e
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue