summaryrefslogtreecommitdiff
path: root/repo/util/dracut.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-18 23:18:33 +0000
committerdavidovski <david@davidovski.xyz>2022-01-18 23:18:33 +0000
commit9b43ea52884468102bd177d753a162f5479092e5 (patch)
tree014fec1b2ee5b12fcc2c735525d95ed6f1f9b616 /repo/util/dracut.xibuild
parent257adbf5a2ae32dc99f29f0818b9315fbd3af8cd (diff)
added dracut
Diffstat (limited to 'repo/util/dracut.xibuild')
-rw-r--r--repo/util/dracut.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/util/dracut.xibuild b/repo/util/dracut.xibuild
new file mode 100644
index 0000000..31190ef
--- /dev/null
+++ b/repo/util/dracut.xibuild
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+DEPS=()
+
+DESC="An initramfs infastructure aimin gto have as little possible hardcoded into the initramfs"
+
+PKG_VER=055
+SOURCE=https://mirrors.edge.kernel.org/pub/linux/utils/boot/dracut/dracut-$PKG_VER.tar.xz
+
+build () {
+ make sysconfdir=/etc
+}
+
+package () {
+ make DESTDIR="$PKG_DEST" sysconfdir=/etc install
+}
+