summaryrefslogtreecommitdiffstats
path: root/abs/core/mkinitcpio
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-08-06 19:10:30 (GMT)
committerCecil <knoppmyth@gmail.com>2011-08-06 19:10:30 (GMT)
commitad58e3033f6bb5137b8dcb0e7eca12d50d888402 (patch)
tree9321335a68173bc3e4c1d237c19c8880411fa676 /abs/core/mkinitcpio
parent998faf16b1b62493b39aa13b3cb53dfac266ef4c (diff)
parent9709ca528ca5dfbdb6ec6ea283ac6670e8f33b9d (diff)
downloadlinhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.zip
linhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.tar.gz
linhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.tar.bz2
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Conflicts: abs/core/tzdata/PKGBUILD
Diffstat (limited to 'abs/core/mkinitcpio')
-rw-r--r--abs/core/mkinitcpio/PKGBUILD13
-rw-r--r--abs/core/mkinitcpio/__changelog6
-rw-r--r--abs/core/mkinitcpio/mkinitcpio.conf.patch20
3 files changed, 34 insertions, 5 deletions
diff --git a/abs/core/mkinitcpio/PKGBUILD b/abs/core/mkinitcpio/PKGBUILD
index c5b823d..69be999 100644
--- a/abs/core/mkinitcpio/PKGBUILD
+++ b/abs/core/mkinitcpio/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 131019 2011-07-09 14:04:52Z thomas $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
+
pkgname=mkinitcpio
pkgver=0.7.2
-pkgrel=1
+pkgrel=8
pkgdesc="Modular initramfs image creation utility"
arch=(any)
url="http://www.archlinux.org/"
license=('GPL')
-depends=('mkinitcpio-busybox>=1.16.1-2' 'module-init-tools' 'util-linux>=2.19' 'libarchive' 'coreutils'
+depends=('mkinitcpio-busybox>=1.16.1-2' 'mkinitcpio-nfs-utils=>0.2' 'module-init-tools' 'util-linux>=2.19' 'libarchive' 'coreutils'
'bash' 'findutils' 'sed' 'grep' 'filesystem>=2009.01-2' 'udev>=171-2' 'file' 'gzip'
'which')
optdepends=('xz: Use lzma or xz compression for the initramfs image'
@@ -17,11 +17,14 @@ optdepends=('xz: Use lzma or xz compression for the initramfs image'
'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
replaces=('mkinitrd' 'mkinitramfs' 'klibc' 'klibc-extras' 'klibc-kbd'
'klibc-module-init-tools' 'klibc-udev')
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz mkinitcpio.conf.patch)
backup=(etc/mkinitcpio.conf)
-sha256sums=('b7282c78ef3144f5547a4012f334b0beb575b7108a5f6a006289a1e78aa9823d')
package() {
cd $srcdir/${pkgname}-${pkgver}
+ patch -p0 < $srcdir/mkinitcpio.conf.patch
make DESTDIR="${pkgdir}" install
}
+
+md5sums=('e11670a7d4802b2ef20cab4b3815168a'
+ 'b697144048288424b2380d044103ec34')
diff --git a/abs/core/mkinitcpio/__changelog b/abs/core/mkinitcpio/__changelog
new file mode 100644
index 0000000..c8dbb63
--- /dev/null
+++ b/abs/core/mkinitcpio/__changelog
@@ -0,0 +1,6 @@
+added "usb" and net to the modules line in mkinitcpio.conf
++HOOKS="base udev usb net autodetect pata scsi sata filesystems usbinput"
+
+MODULES="nfs"
+
+added depends: mkinitcpio-nfs-utils
diff --git a/abs/core/mkinitcpio/mkinitcpio.conf.patch b/abs/core/mkinitcpio/mkinitcpio.conf.patch
new file mode 100644
index 0000000..68ab648
--- /dev/null
+++ b/abs/core/mkinitcpio/mkinitcpio.conf.patch
@@ -0,0 +1,20 @@
+--- mkinitcpio.conf.orig 2011-08-06 00:04:15.991131194 +0000
++++ mkinitcpio.conf 2011-08-06 00:04:02.791130644 +0000
+@@ -4,7 +4,7 @@
+ # run. Advanced users may wish to specify all system modules
+ # in this array. For instance:
+ # MODULES="piix ide_disk reiserfs"
+-MODULES=""
++MODULES="nfs"
+
+ # BINARIES
+ # This setting includes any additional binaries a given user may
+@@ -54,7 +54,7 @@
+ #
+ ## This setup loads an lvm2 volume group on a usb device.
+ # HOOKS="base udev usb lvm2 filesystems"
+-HOOKS="base udev autodetect pata scsi sata filesystems usbinput"
++HOOKS="base udev usb net autodetect pata scsi sata filesystems usbinput "
+
+ # COMPRESSION
+ # Use this to compress the initramfs image. With kernels earlier than