diff --git a/pkg.info b/pkg.info index 095ed57..d31fdb0 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,10 @@ name: dracut description: Event driven initramfs infrastructure -version: 102 -revision: 3 +version: 106 url: https://github.com/dracut-ng/dracut-ng license: GPL2-or-later architecture: any -depends: ["cpio","kmod","coreutils","util-linux","bash","findutils","gawk","grep","procps-ng","sed","pkgconf"] +depends: ["cpio","kmod","coreutils","util-linux","bash","findutils","gawk","grep","procps-ng","sed","udev","pkgconf"] optional_depends: ["lvm2"] make_depends: ["rustc"] provides: ["initramfs"] diff --git a/source.sh b/source.sh index 81bccdb..6d878e5 100644 --- a/source.sh +++ b/source.sh @@ -23,4 +23,7 @@ build() { # This function is used to move the compiled files into the output directory package() { make DESTDIR="$BPM_OUTPUT" install + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/dracut/COPYING }