diff options
author | Jonathan Bauer | 2020-06-03 10:57:08 +0200 |
---|---|---|
committer | Jonathan Bauer | 2020-06-03 11:09:29 +0200 |
commit | 132f75c2dbf4811f4a34f8c74ebcdceb31c50ce2 (patch) | |
tree | 1dea3166a1b917f4ca36a6aa32702e02d8ce3902 /modules.d/dnbd3-rootfs | |
parent | [dnbd3-rootfs] use xlosetup to find target dev (diff) | |
download | systemd-init-132f75c2dbf4811f4a34f8c74ebcdceb31c50ce2.tar.gz systemd-init-132f75c2dbf4811f4a34f8c74ebcdceb31c50ce2.tar.xz systemd-init-132f75c2dbf4811f4a34f8c74ebcdceb31c50ce2.zip |
[dnbd3-rootfs] include xloop udev rule
fix
Diffstat (limited to 'modules.d/dnbd3-rootfs')
-rwxr-xr-x | modules.d/dnbd3-rootfs/module-setup.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules.d/dnbd3-rootfs/module-setup.sh b/modules.d/dnbd3-rootfs/module-setup.sh index aa8e7b65..4849ec5f 100755 --- a/modules.d/dnbd3-rootfs/module-setup.sh +++ b/modules.d/dnbd3-rootfs/module-setup.sh @@ -135,6 +135,10 @@ install() { # no longer needed since we compile those libs statically into losetup #cp -a "${losetup_qcow2_dir}/.libs/"*.so* "${initdir}/usr/local/lib" fi + local xloop_udev_rule="${moddir}/binaries/xloop/udev/50-xloop.rules" + if [ -f "$xloop_udev_rule" ]; then + inst "$xloop_udev_rule" "/etc/udev/rules.d/${xloop_udev_rule##*/}" + fi # endregion # region hooks #inst_hook cmdline 00 "$moddir/hooks/enable-sysrq.sh" |