diff options
author | Platon Ryzhikov | 2020-05-18 19:10:56 +0300 |
---|---|---|
committer | Platon Ryzhikov | 2020-05-18 19:15:02 +0300 |
commit | 702f94d5e05c9336574275f36e492183bfb71961 (patch) | |
tree | 13f902e107fa3a7b99f1e16420a311a9ec00f3b9 /initcpio.install | |
parent | 37042c2623ea1e2611d3327594d7a3d22d641ebb (diff) | |
download | aur-702f94d5e05c9336574275f36e492183bfb71961.tar.gz |
fix devices with minor equal to 0
Diffstat (limited to 'initcpio.install')
-rw-r--r-- | initcpio.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/initcpio.install b/initcpio.install new file mode 100644 index 000000000000..45263960654d --- /dev/null +++ b/initcpio.install @@ -0,0 +1,21 @@ +#!/bin/bash + +build() { + add_file "/etc/smdev/proceeddev" + add_binary /usr/bin/mksh + add_binary /usr/bin/smdev + + add_file "/etc/smdev/add/00-modprobe" + [ -f /etc/smdev/add/01-uuid ] && add_file "/etc/smdev/add/01-uuid" + [ -f /etc/smdev/add/01-lvm ] && add_file "/etc/smdev/add/01-lvm" + + add_runscript +} + +help() { + cat <<HELPEOF +This hook will use smdev to process device uevents. It prepares your root device and adds some else device nodes. +HELPEOF +} + +# vim: set ft=sh ts=4 sw=4 et: |