dom0+vm/udev: force QUBES_EXPOSED variable available to block_add_change script
This commit is contained in:
parent
aa97910d49
commit
af8cb473b2
@ -9,6 +9,7 @@ ENV{MAJOR}=="202", GOTO="qubes_block_end"
|
|||||||
# Skip device-mapper devices
|
# Skip device-mapper devices
|
||||||
ENV{MAJOR}=="253", GOTO="qubes_block_end"
|
ENV{MAJOR}=="253", GOTO="qubes_block_end"
|
||||||
|
|
||||||
|
IMPORT{db}="QUBES_EXPOSED"
|
||||||
ACTION=="add", IMPORT{program}="/usr/lib/qubes/block_add_change"
|
ACTION=="add", IMPORT{program}="/usr/lib/qubes/block_add_change"
|
||||||
ACTION=="change", IMPORT{program}="/usr/lib/qubes/block_add_change"
|
ACTION=="change", IMPORT{program}="/usr/lib/qubes/block_add_change"
|
||||||
ACTION=="remove", RUN+="/usr/lib/qubes/block_remove"
|
ACTION=="remove", RUN+="/usr/lib/qubes/block_remove"
|
||||||
|
Loading…
Reference in New Issue
Block a user