diff options
author | Joe <joe@joelightning.com> | 2011-10-22 18:12:51 +0100 |
---|---|---|
committer | Joe <joe@joelightning.com> | 2011-10-22 18:12:51 +0100 |
commit | 4cde6560bfc9e4d12e9e00eed481e6ffb4325001 (patch) | |
tree | 5d10e9b4e4c8c0b69113a788a1d89db29a63561c /core | |
parent | 721f99663fc36fdb08a638f8f246b562909defdb (diff) |
change to stop it nuking system
Diffstat (limited to 'core')
-rw-r--r-- | core/mkinitcpio/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/core/mkinitcpio/PKGBUILD b/core/mkinitcpio/PKGBUILD new file mode 100644 index 000000000..06396efb6 --- /dev/null +++ b/core/mkinitcpio/PKGBUILD @@ -0,0 +1,29 @@ +pkgname=mkinitcpio +pkgver=0.7.4 +pkgrel=1 +epoch=13 +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' + 'bash' 'findutils' 'sed' 'grep' 'filesystem>=2011.10-1' 'udev>=171-2' 'file' 'gzip') +optdepends=('xz: Use lzma or xz compression for the initramfs image' + 'bzip2: Use bzip2 compression for the initramfs image' + 'lzop: Use lzo 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" + 'patch.patch') +backup=(etc/mkinitcpio.conf) +sha256sums=('60ce2c78ecec35a9762c300774753da6870b4469f3b259fe0c116771ff643fd6' + 'abf6bb9d692838cc2f97f12f0901f0209dbf6f437f9590accd26dbcfc48f1b16') + +package() { + cd "$srcdir/$pkgname-$pkgver" + + patch install/base ../patch.patch + + make DESTDIR="$pkgdir" install +}
\ No newline at end of file |