[arch-commits] Commit in mkinitcpio/repos (3 files)

Dave Reisner dreisner at archlinux.org
Sun Jul 29 16:14:36 UTC 2012


    Date: Sunday, July 29, 2012 @ 12:14:36
  Author: dreisner
Revision: 164273

archrelease: copy trunk to testing-any

Added:
  mkinitcpio/repos/testing-any/
  mkinitcpio/repos/testing-any/PKGBUILD
    (from rev 164272, mkinitcpio/trunk/PKGBUILD)
  mkinitcpio/repos/testing-any/mkinitcpio.install
    (from rev 164272, mkinitcpio/trunk/mkinitcpio.install)

--------------------+
 PKGBUILD           |   27 +++++++++++++++++++++++++++
 mkinitcpio.install |    8 ++++++++
 2 files changed, 35 insertions(+)

Copied: mkinitcpio/repos/testing-any/PKGBUILD (from rev 164272, mkinitcpio/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-07-29 16:14:36 UTC (rev 164273)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=mkinitcpio
+pkgver=0.10
+pkgrel=1
+pkgdesc="Modular initramfs image creation utility"
+arch=('any')
+url="http://www.archlinux.org/"
+license=('GPL')
+depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.21' 'libarchive' 'coreutils'
+         'bash' 'findutils' 'grep' 'filesystem>=2011.10-1' 'file' 'gzip' 'systemd-tools')
+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"{,.sig})
+install=mkinitcpio.install
+sha256sums=('cd3526b135ede8ca60e05222b1e86cdf3a917947d4fd5b6e6a0a34ec408bc494'
+            '21bd8a75203d15706fd66bfc9520ea1eb728736ee8f6c6a595f63f997b2673e3')
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
+

Copied: mkinitcpio/repos/testing-any/mkinitcpio.install (from rev 164272, mkinitcpio/trunk/mkinitcpio.install)
===================================================================
--- testing-any/mkinitcpio.install	                        (rev 0)
+++ testing-any/mkinitcpio.install	2012-07-29 16:14:36 UTC (rev 164273)
@@ -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