summaryrefslogtreecommitdiff
path: root/repo/util/dracut.xibuild
blob: e5e20d877c56f007ae68e0d143e68cd5e7d18a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

MAKEDEPS=(make asciidoc)
DEPS=(bash coreutils cpio findutils grep gzip kmod pkgconf 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

build () {
    ./configure --prefix=/usr
    make sysconfdir=/etc
}

package () {
    make DESTDIR="$PKG_DEST" sysconfdir=/etc install
}