mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
initscripts for fewer ttys on armv5te, all 6 on armv7, hopefully all md5s match
This commit is contained in:
parent
bcc512aabc
commit
09b889950a
5 changed files with 64 additions and 12 deletions
|
@ -1,6 +1,7 @@
|
|||
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
||||
|
||||
# Plugbox changes: inittab has a line for ttyS0 at 115200
|
||||
# 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
|
||||
|
@ -9,12 +10,12 @@
|
|||
# - fixed LED turn-off, missing ;
|
||||
|
||||
pkgname=initscripts
|
||||
pkgver=2011.03
|
||||
pkgver=2011.04
|
||||
pkgrel=1
|
||||
plugrel=1
|
||||
pkgdesc="System initialization/bootup scripts"
|
||||
arch=('arm')
|
||||
url="http://www.plugboxlinux.org"
|
||||
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)
|
||||
|
@ -27,6 +28,7 @@ install=initscripts.install
|
|||
source=(adjtime.cron
|
||||
functions
|
||||
inittab
|
||||
inittab.armv7
|
||||
install.sh
|
||||
minilogd
|
||||
minilogd.c
|
||||
|
@ -43,23 +45,27 @@ source=(adjtime.cron
|
|||
|
||||
md5sums=('c03a4a5be5e2579b59e0dcd6a21d310b'
|
||||
'5a09834b409f579d02b22cd603bc4ea5'
|
||||
'b32105ebf07f86dc354b85bcf4c8b7b7'
|
||||
'd73d9303e5aae968b6e1c300f4a4fb0f'
|
||||
'3fb0b6e945065ba1d283f136d17d612e'
|
||||
'505290bcaaffe1b3198d0e978a5aeab2'
|
||||
'2c2dcc7ce7586f27fc5e6887f8ec74b8'
|
||||
'96fdb70f95844d95a9941ee319601e8d'
|
||||
'faecfa79b6a19e4f947cb1e1c683f7f2'
|
||||
'5d838064143eb66491df92a6a21bbc5b'
|
||||
'1333ae4ecdbe879b9731a5cd9f165ff6'
|
||||
'bd236a57bc00aa4727b98c5ae401c457'
|
||||
'669ce6d766dd9deb86686219f3763fe4'
|
||||
'3dfa8c33cf3fac7b1721e280225498b9'
|
||||
'd6daba243a961cbd2ab7a352694138ff'
|
||||
'230b25d02b0c2f99b9d1053ebcb9694f'
|
||||
'8b0c2132217c4b03493cdea26415a424'
|
||||
'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
|
||||
install -D -m644 inittab.armv7 ${pkgdir}/etc/inittab
|
||||
}
|
||||
|
|
|
@ -27,10 +27,10 @@ su:S:wait:/sbin/sulogin -p
|
|||
s0:12345:respawn:/sbin/agetty -8 115200 ttyS0 linux
|
||||
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
|
||||
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
|
||||
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
|
||||
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
|
||||
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
|
||||
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
|
||||
#c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
|
||||
#c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
|
||||
#c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
|
||||
#c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
|
||||
|
||||
# Hypervisor Virtual Console for Xen and KVM
|
||||
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux
|
||||
|
|
46
core/initscripts/inittab.armv7
Normal file
46
core/initscripts/inittab.armv7
Normal file
|
@ -0,0 +1,46 @@
|
|||
#
|
||||
# /etc/inittab
|
||||
#
|
||||
|
||||
# Runlevels:
|
||||
# 0 Halt
|
||||
# 1(S) Single-user
|
||||
# 2 Not used
|
||||
# 3 Multi-user
|
||||
# 4 Not used
|
||||
# 5 X11
|
||||
# 6 Reboot
|
||||
|
||||
## Only one of the following two lines can be uncommented!
|
||||
# Boot to console
|
||||
id:3:initdefault:
|
||||
# Boot to X11
|
||||
#id:5:initdefault:
|
||||
|
||||
rc::sysinit:/etc/rc.sysinit
|
||||
rs:S1:wait:/etc/rc.single
|
||||
rm:2345:wait:/etc/rc.multi
|
||||
rh:06:wait:/etc/rc.shutdown
|
||||
su:S:wait:/sbin/sulogin -p
|
||||
|
||||
# -8 options fixes umlauts problem on login
|
||||
s0:12345:respawn:/sbin/agetty -8 115200 ttyS0 linux
|
||||
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
|
||||
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
|
||||
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
|
||||
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
|
||||
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
|
||||
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
|
||||
|
||||
# Hypervisor Virtual Console for Xen and KVM
|
||||
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux
|
||||
|
||||
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
|
||||
|
||||
# Example lines for starting a login manager
|
||||
x:5:respawn:/usr/bin/xdm -nodaemon
|
||||
#x:5:respawn:/usr/sbin/gdm -nodaemon
|
||||
#x:5:respawn:/usr/bin/kdm -nodaemon
|
||||
#x:5:respawn:/usr/bin/slim >& /dev/null
|
||||
|
||||
# End of file
|
|
@ -37,7 +37,7 @@ USELVM="no"
|
|||
#
|
||||
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
|
||||
#
|
||||
HOSTNAME="Plugbox"
|
||||
HOSTNAME="PlugApps"
|
||||
|
||||
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
|
||||
#
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
. /etc/rc.d/functions
|
||||
|
||||
echo " "
|
||||
printhl "Plugbox Linux\n"
|
||||
printhl "${C_H2}http://www.plugboxlinux.org"
|
||||
printhl "PlugApps Linux\n"
|
||||
printhl "${C_H2}http://www.plugapps.com"
|
||||
printhl "Copyright 2009-2011 Mike Staszel"
|
||||
printhl "Distributed under the GNU General Public License (GPL)"
|
||||
printsep
|
||||
|
|
Loading…
Reference in a new issue