summaryrefslogtreecommitdiff
path: root/repo/util/dracut/dracut.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/util/dracut/dracut.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/util/dracut/dracut.xibuild')
-rw-r--r--repo/util/dracut/dracut.xibuild43
1 files changed, 0 insertions, 43 deletions
diff --git a/repo/util/dracut/dracut.xibuild b/repo/util/dracut/dracut.xibuild
deleted file mode 100644
index a489fba..0000000
--- a/repo/util/dracut/dracut.xibuild
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="make asciidoc musl-fts"
-DEPS="bash sbase cpio findutils grep gzip kmod pkg-config procps-ng sed util-linux xz"
-
-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
-ADDITIONAL="
- fix-sbase-coreutils.patch
-"
-
-prepare () {
- apply_patches
- # make all this into a patch
- find ./ -name "*.sh" | xargs sed -i "s/ln -sfn/ln -sf/g"
- find ./ -name "*.sh" | xargs sed -i "s/ln -sfr/ln -sf/g"
- find ./ -name "*.sh" | xargs sed -i "s/sort -Vu/sort -u/g"
- find ./ -name "*.sh" | xargs sed -i "s/realpath -e/realpath /g"
- find ./ -name "*.sh" | xargs sed -i "s/cp --reflink=auto/cp /g"
- find ./ -name "*.sh" | xargs sed -i "s/cp -axT/cp -a/g"
- find ./ -name "*.sh" | xargs sed -i "s/cp -ax/cp -a/g"
- find ./ -name "*.sh" | xargs sed -i "s/cp -a -t/cp -a/g"
- find ./ -name "*.sh" | xargs sed -i "s/cp -af \. -t/cp -af . /g"
- find ./ -name "*.sh" | xargs sed -i "s/cp -a -l/cp -a/g"
- find ./ -name "*.sh" | xargs sed -i "s/cp -a --/cp -a/g"
- find ./ -name "*.sh" | xargs sed -i "s/cp -f --/cp -f/g"
- find ./ -name "*.sh" | xargs sed -i "s/cp --sparse=auto --preserve=.* -dfr/cp -fr/g"
- find ./ -name "*.sh" | xargs sed -i "s/\$CP_HARDLINK --backup --suffix=.usrmove~//g"
- find ./ -name "*.sh" | xargs sed -i "s/find . -print0 | sort -z/find . -print0/g"
-
-}
-
-build () {
- ./configure --prefix=/usr
- make sysconfdir=/etc
-}
-
-package () {
- make DESTDIR="$PKG_DEST" sysconfdir=/etc install
-}
-