root: separate out udev rules and kernel modules
This commit is contained in:
parent
129213e46a
commit
3353a41950
|
@ -129,9 +129,13 @@ dotfiles:
|
|||
actions:
|
||||
- sysctl_apply
|
||||
|
||||
zram:
|
||||
src: zram
|
||||
dst: /etc/
|
||||
kernel_modules:
|
||||
src: kernel-modules
|
||||
dst: /etc/modules-load.d/
|
||||
|
||||
udev_rules:
|
||||
src: udev-rules
|
||||
dst: /etc/udev/rules.d/
|
||||
|
||||
vconsole:
|
||||
src: vconsole.conf
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
ACTION=="remove", GOTO="persistent_storage_end"
|
||||
ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}=="1", GOTO="persistent_storage_end"
|
||||
|
||||
# by-label/by-uuid links (filesystem metadata)
|
||||
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
|
||||
|
||||
LABEL="persistent_storage_end"
|
Reference in New Issue