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

MAKEDEPS="make asciidoc"
DEPS="bash sbase 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
}