From 9b43ea52884468102bd177d753a162f5479092e5 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 18 Jan 2022 23:18:33 +0000 Subject: added dracut --- repo/util/dracut.xibuild | 17 +++++++++++++++++ repo/util/mkinitcpio.xibuild | 15 --------------- 2 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 repo/util/dracut.xibuild delete mode 100644 repo/util/mkinitcpio.xibuild (limited to 'repo/util') 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 -} -- cgit v1.2.1