diff options
Diffstat (limited to 'abs/core/mkinitcpio/PKGBUILD')
-rw-r--r-- | abs/core/mkinitcpio/PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/abs/core/mkinitcpio/PKGBUILD b/abs/core/mkinitcpio/PKGBUILD index 282b2bb..32b9fdb 100644 --- a/abs/core/mkinitcpio/PKGBUILD +++ b/abs/core/mkinitcpio/PKGBUILD @@ -4,7 +4,7 @@ pkgname=mkinitcpio pkgver=0.9.2 -pkgrel=2 +pkgrel=3 pkgdesc="Modular initramfs image creation utility" arch=('any') url="http://www.archlinux.org/" @@ -18,11 +18,9 @@ optdepends=('xz: Use lzma or xz compression for the initramfs image' backup=('etc/mkinitcpio.conf') source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz" 0001-Update-module-filter-to-be-aware-of-hyphens-in-the-M.patch - 0002-shutdown-don-t-alert-udev-on-disable-VGs.patch) + 0002-shutdown-don-t-alert-udev-on-disable-VGs.patch + mkinitcpio.patch) install=mkinitcpio.install -sha256sums=('1c388ab1df4ecdf6204602c66220a79adc2c564956fdf68deb7dde9bab331c28' - '5e5f83a2f9805ce1b09602f31fd4aca93fa7085a40c74bc559cf25c29506b057' - 'e32a7955b94e378698268f9cfd07fb0285a4efbdc4b26ea40714e7f1a54705a1') package() { cd "$pkgname-$pkgver" @@ -31,9 +29,16 @@ package() { patch -Np1 <"$srcdir"/0002-shutdown-don-t-alert-udev-on-disable-VGs.patch make DESTDIR="$pkgdir" install - + # compat symlink install -dm755 "$pkgdir/sbin" ln -s /usr/bin/mkinitcpio "$pkgdir/sbin/mkinitcpio" + + cd $pkgdir/etc + patch -Np0 < $srcdir/mkinitcpio.patch || exit 1 } +md5sums=('6894147b09012054e025bfbe03445cda' + 'e6e2aafa24f6c9d58b483e8df4dafdec' + 'ffd144b1c8b3950671dacdc1c4a5e80d' + 'e317ad4c65eae59eb75bd8adba8b0b4c') |