root: separate out udev rules and kernel modules
This commit is contained in:
parent
129213e46a
commit
3353a41950
|
@ -129,9 +129,13 @@ dotfiles:
|
||||||
actions:
|
actions:
|
||||||
- sysctl_apply
|
- sysctl_apply
|
||||||
|
|
||||||
zram:
|
kernel_modules:
|
||||||
src: zram
|
src: kernel-modules
|
||||||
dst: /etc/
|
dst: /etc/modules-load.d/
|
||||||
|
|
||||||
|
udev_rules:
|
||||||
|
src: udev-rules
|
||||||
|
dst: /etc/udev/rules.d/
|
||||||
|
|
||||||
vconsole:
|
vconsole:
|
||||||
src: vconsole.conf
|
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