diff options
Diffstat (limited to 'core/ports/dracut/Pkgfile')
-rw-r--r-- | core/ports/dracut/Pkgfile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/core/ports/dracut/Pkgfile b/core/ports/dracut/Pkgfile index a55531e..f9be5fd 100644 --- a/core/ports/dracut/Pkgfile +++ b/core/ports/dracut/Pkgfile @@ -1,13 +1,13 @@ # Description: dracut is an event driven initramfs infrastructure. # URL: https://dracut.wiki.kernel.org/ # Packager: Silvino, silvino at bk dot ru -# Depends on: grub2 nbd nfs-utils lvm2 mdadm +# Depends on: cryptsetup nbd nfs-utils lvm2 mdadm name=dracut version=044 -release=4 +release=2 source=(https://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz -README) +dracut.conf README) build() { cd $name-$version @@ -16,8 +16,10 @@ build() { make make DESTDIR=$PKG install + + install -m 0644 -D $SRC/dracut.conf $PKG/etc + mv $PKG/usr/share/man $PKG/usr/ - cd $PKG - find . -name "README" | xargs rm + find $PKG -name "README" | xargs rm } |