summaryrefslogtreecommitdiff
path: root/repo/i2c-tools/i2c-tools.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/i2c-tools/i2c-tools.xibuild')
-rw-r--r--repo/i2c-tools/i2c-tools.xibuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/repo/i2c-tools/i2c-tools.xibuild b/repo/i2c-tools/i2c-tools.xibuild
index 27a8e72..6e9cd9a 100644
--- a/repo/i2c-tools/i2c-tools.xibuild
+++ b/repo/i2c-tools/i2c-tools.xibuild
@@ -36,3 +36,7 @@ package() {
}
+postinstall () {
+ groupadd i2c
+ echo 'KERNEL=="i2c-[0-9]*", GROUP="i2c"' >> /etc/udev/rules.d/10-local_i2c_group.rules
+}