PKGBUILDs/core/initscripts/PKGBUILD

74 lines
2.1 KiB
Bash
Raw Normal View History

# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
# PlugApps changes: inittab has a line for ttyS0 at 115200, 2 ttys
# for armv5te, 6 for armv7
# rc.shutdown has an LED turn-off line
# rc.conf is different
# rc.sysinit has our copyright info
2011-03-05 20:14:44 +00:00
# 2011.03-1: Kevin Mihelich <kevin@plugapps.com>
# - fixed LED turn-off, missing ;
pkgname=initscripts
pkgver=2011.04
2009-12-07 20:25:36 +00:00
pkgrel=1
2011-01-07 06:14:59 +00:00
plugrel=1
pkgdesc="System initialization/bootup scripts"
2011-04-03 18:18:48 +00:00
arch=('arm' 'armv7')
url="http://www.plugapps.com"
license=('GPL')
groups=('base')
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
depends=('glibc' 'bash' 'awk' 'grep' 'coreutils' 'sed' 'udev>=139-1'
'net-tools' 'ncurses' 'kbd' 'findutils' 'sysvinit')
optdepends=('bridge-utils: Network bridging support'
'dhcpcd: DHCP network configuration'
'wireless_tools: Wireless networking')
install=initscripts.install
source=(adjtime.cron
functions
inittab
inittab.armv7
install.sh
minilogd
minilogd.c
netfs
network
rc.conf
rc.local
rc.local.shutdown
rc.multi
rc.shutdown
rc.single
rc.sysinit
wireless.conf.d)
md5sums=('c03a4a5be5e2579b59e0dcd6a21d310b'
'5a09834b409f579d02b22cd603bc4ea5'
'b32105ebf07f86dc354b85bcf4c8b7b7'
'd73d9303e5aae968b6e1c300f4a4fb0f'
'3fb0b6e945065ba1d283f136d17d612e'
'505290bcaaffe1b3198d0e978a5aeab2'
'2c2dcc7ce7586f27fc5e6887f8ec74b8'
'96fdb70f95844d95a9941ee319601e8d'
'faecfa79b6a19e4f947cb1e1c683f7f2'
'1333ae4ecdbe879b9731a5cd9f165ff6'
'bd236a57bc00aa4727b98c5ae401c457'
'669ce6d766dd9deb86686219f3763fe4'
'3dfa8c33cf3fac7b1721e280225498b9'
'd6daba243a961cbd2ab7a352694138ff'
'230b25d02b0c2f99b9d1053ebcb9694f'
'467a7cfaa0f7c0c94cff7c5900264de8'
'027576534885b8d5dded9be546057b12')
build() {
cd ${srcdir}/
DESTDIR=${pkgdir} ./install.sh
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
# On the armv7 boards, all ttys are enabled in this inittab file
2011-04-03 18:19:21 +00:00
if [ "${CARCH}" = "armv7" ]; then
install -D -m644 inittab.armv7 ${pkgdir}/etc/inittab
fi
}