[arch-commits] Commit in initscripts/trunk (ChangeLog PKGBUILD initscripts.install)
Allan McRae
allan at archlinux.org
Mon Jul 20 02:58:15 UTC 2009
Date: Sunday, July 19, 2009 @ 22:58:15
Author: allan
Revision: 46748
upgpkg: initscripts 2009.07-3
fix rtc device to match udev rule, add install script to adjust inittab file
Added:
initscripts/trunk/initscripts.install
Modified:
initscripts/trunk/ChangeLog
initscripts/trunk/PKGBUILD
---------------------+
ChangeLog | 9 +++++++++
PKGBUILD | 5 +++--
initscripts.install | 7 +++++++
3 files changed, 19 insertions(+), 2 deletions(-)
Modified: ChangeLog
===================================================================
--- ChangeLog 2009-07-20 02:44:29 UTC (rev 46747)
+++ ChangeLog 2009-07-20 02:58:15 UTC (rev 46748)
@@ -1,3 +1,12 @@
+commit d0722bd6fb631ce6c678de32d09a10e2e5fa7c35
+Author: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
+Date: Sat Jul 18 02:58:04 2009 -0300
+
+ Fix rtc device to match current rule in udev-141-4.
+
+ Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
+ Signed-off-by: Allan McRae <allan at archlinux.org>
+
commit 28d34292a9a8a03ea78a909ccb1d8d50ee21d0bb
Author: Allan McRae <allan at archlinux.org>
Date: Sat Jul 18 14:20:55 2009 +1000
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-07-20 02:44:29 UTC (rev 46747)
+++ PKGBUILD 2009-07-20 02:58:15 UTC (rev 46748)
@@ -4,7 +4,7 @@
pkgname=initscripts
pkgver=2009.07
-pkgrel=2
+pkgrel=3
pkgdesc="System initialization/bootup scripts"
arch=('i686' 'x86_64')
url="http://www.archlinux.org"
@@ -16,8 +16,9 @@
optdepends=('bridge-utils: Network bridging support'
'dhcpcd: DHCP network configuration'
'wireless_tools: Wireless networking')
+install=initscripts.install
source=(ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}-${pkgrel}.tar.gz)
-md5sums=('e0de7409d6824d556ab5bbe0f3dc3bbb')
+md5sums=('9a36513faa316ea5d5f74b9345fe3fa6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}-${pkgrel}/
Added: initscripts.install
===================================================================
--- initscripts.install (rev 0)
+++ initscripts.install 2009-07-20 02:58:15 UTC (rev 46748)
@@ -0,0 +1,7 @@
+post_upgrade() {
+ if [ "$(vercmp $2 2009.07)" -lt 0 ]; then
+ echo "==> Adjusting /etc/inittab for transition to /dev/tty standard."
+ echo "==> Original file saved as /etc/inittab.pacsave"
+ sed -i'.pacsave' 's#vc/\([0-9]\)#tty\1#' /etc/inittab
+ fi
+}
More information about the arch-commits
mailing list