[arch-commits] Commit in mkinitcpio/repos/testing-any (3 files)
Dave Reisner
dreisner at archlinux.org
Mon May 21 17:24:08 UTC 2012
Date: Monday, May 21, 2012 @ 13:24:07
Author: dreisner
Revision: 159337
archrelease: copy trunk to testing-any
Added:
mkinitcpio/repos/testing-any/PKGBUILD
(from rev 159336, mkinitcpio/trunk/PKGBUILD)
mkinitcpio/repos/testing-any/mkinitcpio.install
(from rev 159336, mkinitcpio/trunk/mkinitcpio.install)
Deleted:
mkinitcpio/repos/testing-any/PKGBUILD
--------------------+
PKGBUILD | 61 +++++++++++++++++++++++++--------------------------
mkinitcpio.install | 8 ++++++
2 files changed, 39 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-05-21 17:23:59 UTC (rev 159336)
+++ PKGBUILD 2012-05-21 17:24:07 UTC (rev 159337)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Maintainer: Thomas Bächler <thomas at archlinux.org>
-
-pkgname=mkinitcpio
-pkgver=0.9.0
-pkgrel=1
-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')
-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")
-md5sums=('cbe4783c39e48dff91385f443d300103')
-sha256sums=('e4a58ccb3b5293931fbc28de6b48df7e9e6fe63b41ef7b5038ea33a2e01dc878')
-
-package() {
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
-
- # compat symlink
- install -dm755 "$pkgdir/sbin"
- ln -s /usr/bin/mkinitcpio "$pkgdir/sbin/mkinitcpio"
-}
-
Copied: mkinitcpio/repos/testing-any/PKGBUILD (from rev 159336, mkinitcpio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-05-21 17:24:07 UTC (rev 159337)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=mkinitcpio
+pkgver=0.9.0
+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' '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')
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+ # compat symlink
+ install -dm755 "$pkgdir/sbin"
+ ln -s /usr/bin/mkinitcpio "$pkgdir/sbin/mkinitcpio"
+}
+
Copied: mkinitcpio/repos/testing-any/mkinitcpio.install (from rev 159336, mkinitcpio/trunk/mkinitcpio.install)
===================================================================
--- mkinitcpio.install (rev 0)
+++ mkinitcpio.install 2012-05-21 17:24:07 UTC (rev 159337)
@@ -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
+}
More information about the arch-commits
mailing list