[arch-commits] Commit in mkinitcpio/trunk (PKGBUILD mkinitcpio.install)

2012-12-01 Thread Dave Reisner
Date: Saturday, December 1, 2012 @ 20:59:33
  Author: dreisner
Revision: 172191

upgpkg: mkinitcpio 0.12.0-1

https://projects.archlinux.org/mkinitcpio.git/log/?id=0.11.2..0.12.0

Modified:
  mkinitcpio/trunk/PKGBUILD
  mkinitcpio/trunk/mkinitcpio.install

+
 PKGBUILD   |6 +++---
 mkinitcpio.install |5 +
 2 files changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-12-01 14:32:58 UTC (rev 172190)
+++ PKGBUILD2012-12-02 01:59:33 UTC (rev 172191)
@@ -3,7 +3,7 @@
 # Maintainer: Thomas Bächler tho...@archlinux.org
 
 pkgname=mkinitcpio
-pkgver=0.11.2
+pkgver=0.12.0
 pkgrel=1
 pkgdesc=Modular initramfs image creation utility
 arch=('any')
@@ -18,8 +18,8 @@
 backup=('etc/mkinitcpio.conf')
 
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
 install=mkinitcpio.install
-sha256sums=('39962cd8025fc803cf8ca5a1447b1f6ea048e91a88e7ab6f0647dc7d2e51972b'
-'d226193d1044fafeb15ea20a0a8a74e4f0acd11ecd70926248548e0d128fa249')
+sha256sums=('ed9bd16999e75b42c8ad78a62cd744f95aca1d1078bb1ecff94c9d31d6765761'
+'SKIP')
 
 package() {
   make -C $pkgname-$pkgver DESTDIR=$pkgdir install

Modified: mkinitcpio.install
===
--- mkinitcpio.install  2012-12-01 14:32:58 UTC (rev 172190)
+++ mkinitcpio.install  2012-12-02 01:59:33 UTC (rev 172191)
@@ -5,4 +5,9 @@
 printf '== If your /usr is on a separate partition, you must add the 
usr hook\n'
 printf 'to /etc/mkinitcpio.conf and regenerate your images before 
rebooting\n'
   fi
+
+  if [ $(vercmp 0.12.0 $2) -eq 1 ]; then
+printf '== The block hook has replaced several hooks. Replace any and 
all of the\n'
+printf 'deprecated hooks with a single instance of the block hook.\n'
+  fi
 }



[arch-commits] Commit in mkinitcpio/trunk (PKGBUILD mkinitcpio.install)

2012-05-21 Thread Dave Reisner
Date: Monday, May 21, 2012 @ 13:23:59
  Author: dreisner
Revision: 159336

upgpkg: mkinitcpio 0.9.0-2

- add phony udev dep to ensure proper ordering on upgrade
- add install scriptlet to warn about new usr hook

Added:
  mkinitcpio/trunk/mkinitcpio.install
Modified:
  mkinitcpio/trunk/PKGBUILD

+
 PKGBUILD   |5 +++--
 mkinitcpio.install |8 
 2 files changed, 11 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-05-21 16:28:07 UTC (rev 159335)
+++ PKGBUILD2012-05-21 17:23:59 UTC (rev 159336)
@@ -4,19 +4,20 @@
 
 pkgname=mkinitcpio
 pkgver=0.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc=Modular initramfs image creation utility
 arch=('any')
 url=http://www.archlinux.org/;
 license=('GPL')
 depends=('mkinitcpio-busybox=1.19.4-2' 'kmod=3' 'util-linux=2.21' 
'libarchive' 'coreutils'
- 'bash' 'findutils' 'sed' 'grep' 'filesystem=2011.10-1' 'file' 'gzip')
+ 'bash' 'findutils' 'sed' 'grep' 'filesystem=2011.10-1' 'file' 'gzip' 
'udev=182-3')
 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')
 backup=('etc/mkinitcpio.conf')
 source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz;)
+install=mkinitcpio.install
 md5sums=('cbe4783c39e48dff91385f443d300103')
 sha256sums=('e4a58ccb3b5293931fbc28de6b48df7e9e6fe63b41ef7b5038ea33a2e01dc878')
 

Added: mkinitcpio.install
===
--- mkinitcpio.install  (rev 0)
+++ mkinitcpio.install  2012-05-21 17:23:59 UTC (rev 159336)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+post_upgrade() {
+  if [ $(vercmp 0.9.0 $2) -eq 1 ]; then
+printf '== If your /usr is on a separate partition, you must add the 
usr hook\n'
+printf 'to /etc/mkinitcpio.conf and regenerate your images before 
rebooting\n'
+  fi
+}