summaryrefslogtreecommitdiffstats
path: root/abs/core/mkinitcpio
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mkinitcpio')
-rw-r--r--abs/core/mkinitcpio/PKGBUILD39
-rw-r--r--abs/core/mkinitcpio/mkinitcpio.conf.diff9
2 files changed, 25 insertions, 23 deletions
diff --git a/abs/core/mkinitcpio/PKGBUILD b/abs/core/mkinitcpio/PKGBUILD
index 6ba0f0f..9a87e42 100644
--- a/abs/core/mkinitcpio/PKGBUILD
+++ b/abs/core/mkinitcpio/PKGBUILD
@@ -1,31 +1,30 @@
-# $Id: PKGBUILD 24393 2009-01-15 23:25:29Z thomas $
+# $Id: PKGBUILD 85253 2010-07-11 10:05:21Z thomas $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>
pkgname=mkinitcpio
-pkgver=0.5.21
-pkgrel=34
-pkgdesc="Advanced, modular initramfs image creation utility"
-arch=(i686 x86_64)
+pkgver=0.6.7
+pkgrel=1
+pkgdesc="Modular initramfs image creation utility"
+arch=(any)
url="http://www.archlinux.org/"
license=('GPL')
-groups=('base')
-depends=('klibc>=1.5.14-2' 'klibc-extras>=2.5' 'klibc-udev>=130'
- 'gen-init-cpio' 'klibc-module-init-tools' 'coreutils'
- 'bash' 'klibc-kbd' 'findutils' 'sed' 'grep'
- 'filesystem>=2009.01' 'udev' 'gzip' 'fbsplash')
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2 mkinitcpio.conf.diff)
+depends=('mkinitcpio-busybox>=1.16.1-2' 'module-init-tools' 'util-linux-ng>=2.17' 'gen-init-cpio' 'coreutils'
+ 'bash' 'findutils' 'sed' 'grep' 'filesystem>=2009.01-2' 'udev>=150' 'file' 'gzip'
+ 'which')
+optdepends=('xz: Use lzma compression for the initramfs image'
+ 'bzip2: Use bzip2 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 mkinitcpio.conf.diff)
backup=(etc/mkinitcpio.conf)
-replaces=('mkinitrd' 'mkinitramfs')
-md5sums=('d6673e8966d7c1f224c767d79434ed6b'
- '288d1555e8499cd791b693945ba9b3b1')
-build()
-{
- cd $startdir/src/${pkgname}-${pkgver}
+package() {
+ cd $srcdir/${pkgname}-${pkgver}
patch -p0 < ../mkinitcpio.conf.diff
- ./install.sh $startdir/pkg
- mkdir -p $pkgdir/usr/share
- mv $pkgdir/usr/man $pkgdir/usr/share
+ make DESTDIR="${pkgdir}" install
}
+sha256sums=('8d34bfa9c8018f02ee938ac68285e3aa16a1ad84ddc0433998e2d43a428cdcbd'
+ '1cc748bb291513e8202ad05f638def4ce9e48bf7d509061ba9c1f9ede3920454')
diff --git a/abs/core/mkinitcpio/mkinitcpio.conf.diff b/abs/core/mkinitcpio/mkinitcpio.conf.diff
index 1beff54..13f896b 100644
--- a/abs/core/mkinitcpio/mkinitcpio.conf.diff
+++ b/abs/core/mkinitcpio/mkinitcpio.conf.diff
@@ -1,8 +1,11 @@
---- mkinitcpio.conf.orig 2009-02-11 21:59:50.000000000 +0000
-+++ mkinitcpio.conf 2009-02-11 22:00:10.000000000 +0000
-@@ -55,4 +55,4 @@
+--- mkinitcpio.conf.orig 2010-08-15 23:10:21.000000000 +0000
++++ mkinitcpio.conf 2010-08-15 23:10:44.000000000 +0000
+@@ -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"
+HOOKS="base udev autodetect pata scsi sata filesystems fbsplash"
+
+ # COMPRESSION
+ # Use this to compress the initramfs image. With kernels earlier than