X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=geninitrd.spec;h=66a0335e1a3173e8b1833579292d6efc69eb2f28;hb=5dbbb84edc018b8d4324fa7345a9948dc9f05733;hp=5af4ffd1da5f423275bd42ce3946487b36d59364;hpb=bcdb1d402f8b5ec222e3654ddbfa58c6c6b0d664;p=packages%2Fgeninitrd.git diff --git a/geninitrd.spec b/geninitrd.spec index 5af4ffd..66a0335 100644 --- a/geninitrd.spec +++ b/geninitrd.spec @@ -1,28 +1,26 @@ -# TODO: -# - BUG: you can't set in /etc/mdadm.conf: -# DEVICE partitions containers -# (which is default BTW if none set). Generation of initrd will fail -# Summary: Creates an initial ramdisk image for preloading modules Summary(pl.UTF-8): Narzędzie do tworzenia inicjalnego ramdysku używanego przy starcie systemu Name: geninitrd -Version: 12757 -Release: 1 +Version: 12787 +Release: 9 License: GPL Group: Applications/System Source0: %{name}-%{version}.tar.gz -# Source0-md5: 3fb153489c3c245e5c1ee4bbc333acb4 -#Patch0: %{name}-git.patch +# Source0-md5: 35b12ef61ee1e29692d67afd94731697 +Patch0: %{name}-git.patch +Patch1: %{name}-static-dev.patch +Patch2: %{name}-posix-sh.patch URL: http://git.pld-linux.org/?p=projects/geninitrd.git BuildRequires: xmlto >= 0:0.0.18-1 Requires: /usr/bin/ldd Requires: awk -Requires: busybox-initrd >= 1.22.1-2 +Requires: busybox-implementation >= 1.30.0-1 Requires: coreutils Requires: cpio Requires: fileutils Requires: glibc-misc Requires: gzip +Requires: libgcc Requires: mktemp >= 1.5-8 Requires: mount Requires: pci-database >= 0.4 @@ -83,9 +81,10 @@ startu z initrd. Skrypt geninitrd generuje obraz ramdysku na podstawie bieżących informacji zawartych w /etc/modules.conf. %prep -%setup -qc -mv %{name}-%{version}*/* . -#%patch0 -p1 +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build %{__make} @@ -107,6 +106,7 @@ rm -rf $RPM_BUILD_ROOT %dir /lib/geninitrd /lib/geninitrd/functions +/lib/geninitrd/functions.initrd /lib/geninitrd/mod-*.sh %attr(755,root,root) /lib/geninitrd/extract-ikconfig