Allow 'sudo kpartx -d' used in EACTION for Fedora

Change-Id: I0c651091d9623d7607bb59bd05ffec20fd78633c
This commit is contained in:
Matthew Farrellee 2013-07-17 17:12:07 -04:00
parent d1a24cab16
commit 1651cfb53a

View file

@ -56,6 +56,7 @@ ALL ALL=(root) NOPASSWD: /sbin/losetup --show -f /tmp/*/*.raw
ALL ALL=(root) NOPASSWD: /sbin/losetup -d /dev/loop*
ALL ALL=(root) NOPASSWD: /sbin/partprobe /dev/loop*
ALL ALL=(root) NOPASSWD: /sbin/kpartx -avr /tmp/*/*.raw
ALL ALL=(root) NOPASSWD: /sbin/kpartx -d /tmp/*/*.raw
ALL ALL=(root) NOPASSWD: /usr/bin/du --block-size=* -x -s /tmp/*/built
ALL ALL=(root) NOPASSWD: /bin/mount -t tmpfs tmpfs /tmp/image.*
ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/image.*