diff options
author | davidovski <david@davidovski.xyz> | 2022-01-18 23:18:33 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-18 23:18:33 +0000 |
commit | 9b43ea52884468102bd177d753a162f5479092e5 (patch) | |
tree | 014fec1b2ee5b12fcc2c735525d95ed6f1f9b616 /repo/util | |
parent | 257adbf5a2ae32dc99f29f0818b9315fbd3af8cd (diff) |
added dracut
Diffstat (limited to 'repo/util')
-rw-r--r-- | repo/util/dracut.xibuild | 17 | ||||
-rw-r--r-- | repo/util/mkinitcpio.xibuild | 15 |
2 files changed, 17 insertions, 15 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 +} + diff --git a/repo/util/mkinitcpio.xibuild b/repo/util/mkinitcpio.xibuild deleted file mode 100644 index c17aa3c..0000000 --- a/repo/util/mkinitcpio.xibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(sh) - -PKG_VER=31 -SOURCE=https://github.com/archlinux/mkinitcpio/releases/download/v31/mkinitcpio-$PKG_VER.tar.gz -DESC="Scripts to make initramfs provided by archlinux" - -build () { - make || true -} - -package () { - make DESTDIR="$PKG_DEST" install -} |