summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPlaton Ryzhikov2019-02-07 15:16:03 +0300
committerPlaton Ryzhikov2019-02-07 15:16:03 +0300
commite6b6b49f957c8837ab986d0eefb69691794a7aca (patch)
treeb9d14658a1fe2f717e6cba3828101a25b9509e90 /install
parenteff88c60dba8afbf2be424c4267760f08837e9b9 (diff)
downloadaur-e6b6b49f957c8837ab986d0eefb69691794a7aca.tar.gz
Add initramfs support
Diffstat (limited to 'install')
-rw-r--r--install23
1 files changed, 23 insertions, 0 deletions
diff --git a/install b/install
new file mode 100644
index 000000000000..a3df118bee2f
--- /dev/null
+++ b/install
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+build() {
+ add_binary /etc/smdev/proceeddev
+ add_binary /usr/bin/mksh
+ add_binary /usr/bin/smdev
+ add_binary /usr/bin/nldev
+ add_binary /usr/bin/nltrigger
+ add_binary /usr/bin/find
+ add_file /usr/lib/libm.so.6
+
+ for file in /etc/smdev/add/*; do
+ add_file $file
+ done
+
+ add_runscript
+}
+
+help() {
+ cat <<HELPEOF
+This hook will use nldev to process device uevents. It prepares your root device and adds some else device nodes.
+HELPEOF
+}