mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
core/initscripts to 2012.08.3-2
This commit is contained in:
parent
551999d824
commit
ef93ea5179
2 changed files with 22 additions and 12 deletions
|
@ -1,32 +1,31 @@
|
|||
# $Id$
|
||||
# $Id: PKGBUILD 165801 2012-08-30 16:58:57Z tomegun $
|
||||
# Maintainer: Tom Gundersen <teg@jklm.no>
|
||||
# Contributor: Thomas Bächler <thomas@archlinux.org>
|
||||
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - inittab serial setup for v5/v7
|
||||
# - patch to turn off LEDs on shutdown, remount / rw
|
||||
|
||||
pkgname=initscripts
|
||||
pkgver=2012.07.5
|
||||
pkgrel=1
|
||||
pkgver=2012.08.3
|
||||
pkgrel=2
|
||||
pkgdesc="System initialization/bootup scripts"
|
||||
arch=('any')
|
||||
url="http://www.archlinux.org"
|
||||
license=('GPL2')
|
||||
groups=('base')
|
||||
provides=('initscripts-systemd')
|
||||
conflicts=('initscripts-systemd')
|
||||
replaces=('initscripts-systemd')
|
||||
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown)
|
||||
depends=('glibc' 'bash' 'coreutils' 'systemd-tools' 'iproute2' 'ncurses' 'findutils' 'sysvinit')
|
||||
optdepends=('bridge-utils: Network bridging support'
|
||||
'dhcpcd: DHCP network configuration'
|
||||
'net-tools: legacy network support'
|
||||
'wireless_tools: Wireless networking')
|
||||
optdepends=('dhcpcd: DHCP network configuration'
|
||||
'bridge-utils: Legacy network bridging support'
|
||||
'net-tools: Legacy network support'
|
||||
'wireless_tools: Legacy wireless networking')
|
||||
makedepends=(asciidoc)
|
||||
install=initscripts.install
|
||||
source=("ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}.tar.xz"
|
||||
'alarm.patch'
|
||||
'rc.conf')
|
||||
md5sums=('2e3589c8e0baac7a4ea9e353edbcf26c'
|
||||
md5sums=('b5e8de40bf798637cb1634a1555d0f1f'
|
||||
'e7ec1f2d469258b91bbda84284d37c4c'
|
||||
'c618e099f522f861e08a475f8960a6c2')
|
||||
|
||||
|
@ -40,4 +39,8 @@ package() {
|
|||
[ "${CARCH}" == "armv7h" ] && sed -i 's/@TTY@/ttyO2/' inittab
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
# moved to filesystem
|
||||
rm -rf ${pkgdir}/etc/profile.d
|
||||
rm ${pkgdir}/usr/share/man/man7/archlinux.7
|
||||
}
|
||||
|
|
|
@ -16,4 +16,11 @@ post_upgrade() {
|
|||
echo "If using non-bash-compatible shell, please set LANG in /etc/locale.conf,"
|
||||
echo "as LOCALE in /etc/rc.conf no longer works."
|
||||
fi
|
||||
if [ "$(vercmp $2 2012.08.1)" -lt 0 ]; then
|
||||
echo "----"
|
||||
echo "> initscripts now ships a compatibility layer to make systemd use MODULES and"
|
||||
echo "> DAEMONS from rc.conf; and run rc.local and rc.local.shutdown on boot and"
|
||||
echo "> shutdown, respectively. Refer to arch-modules-load(8) and arch-daemons(8)."
|
||||
echo "----"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue