119 lines
4.3 KiB
Diff
119 lines
4.3 KiB
Diff
|
xbps changes:
|
||
|
|
||
|
* Installs a "locale" service into the "boot" runlevel to set
|
||
|
a global system locale.
|
||
|
* Adds consolefont by default in "boot" runlevel.
|
||
|
* Modified inittab to pass correct parameters to reboot(8).
|
||
|
* Build fix for kernel>=2.6.30
|
||
|
* Sets unicode, rc_logger and rc_shell in /etc/rc.conf by default.
|
||
|
* Sets windowkeys and fix_euro in /etc/conf.d/keymaps by default.
|
||
|
|
||
|
--- runlevels/Makefile.Linux.orig 2009-05-07 15:48:37.075825332 +0000
|
||
|
+++ runlevels/Makefile.Linux 2009-05-07 15:48:52.008557039 +0000
|
||
|
@@ -1,3 +1,3 @@
|
||
|
SYSINIT+= devfs dmesg
|
||
|
-BOOT+= hwclock keymaps modules mtab procfs termencoding
|
||
|
+BOOT+= consolefont hwclock keymaps modules mtab procfs termencoding locale
|
||
|
SHUTDOWN+= killprocs mount-ro
|
||
|
--- init.d/Makefile.Linux.orig 2009-05-07 15:55:26.156910483 +0000
|
||
|
+++ init.d/Makefile.Linux 2009-05-07 15:55:35.682853819 +0000
|
||
|
@@ -2,7 +2,7 @@ NET_LO= net.lo
|
||
|
|
||
|
SRCS+= devfs.in dmesg.in hwclock.in consolefont.in keymaps.in killprocs.in \
|
||
|
modules.in mount-ro.in mtab.in numlock.in procfs.in sysfs.in \
|
||
|
- termencoding.in
|
||
|
+ termencoding.in locale.in
|
||
|
|
||
|
.SUFFIXES: .Linux.in
|
||
|
|
||
|
--- support/sysvinit/inittab.orig 2009-05-07 12:03:07.533948107 +0000
|
||
|
+++ support/sysvinit/inittab 2009-05-07 12:04:45.178070711 +0000
|
||
|
@@ -18,7 +18,7 @@ l3:3:wait:/sbin/rc default
|
||
|
l4:4:wait:/sbin/rc default
|
||
|
l5:5:wait:/sbin/rc default
|
||
|
l6:6:wait:/sbin/rc reboot
|
||
|
-l6r:6:wait:/sbin/reboot -dk
|
||
|
+l6r:6:wait:/sbin/reboot -dfi
|
||
|
#z6:6:respawn:/sbin/sulogin
|
||
|
|
||
|
# new-style single-user
|
||
|
.Linux.in:
|
||
|
--- src/rc/rc.c.orig 2009-06-20 08:14:19.018885584 +0200
|
||
|
+++ src/rc/rc.c 2009-06-20 08:13:52.000000000 +0200
|
||
|
@@ -45,6 +45,9 @@ const char rc_copyright[] = "Copyright (
|
||
|
|
||
|
#ifdef __linux__
|
||
|
# include <asm/setup.h> /* for COMMAND_LINE_SIZE */
|
||
|
+# ifndef COMMAND_LINE_SIZE
|
||
|
+# define COMMAND_LINE_SIZE 2048
|
||
|
+# endif
|
||
|
#endif
|
||
|
|
||
|
#include <errno.h>
|
||
|
--- conf.d/keymaps.orig 2009-10-09 17:09:02.537481085 +0200
|
||
|
+++ conf.d/keymaps 2009-10-09 17:12:19.694535631 +0200
|
||
|
@@ -1,10 +1,14 @@
|
||
|
# Use KEYMAP to specify the default console keymap. There is a complete tree
|
||
|
# of keymaps in /usr/share/keymaps to choose from.
|
||
|
-keymap="us"
|
||
|
+#
|
||
|
+# Please note that is mandatory to also specify the keyboard layout model,
|
||
|
+# i.e qwerty, dvorak, etc; because otherwise loadkeys(1) will use the first
|
||
|
+# one it finds and some keymaps do have the same name.
|
||
|
+keymap="qwerty/us"
|
||
|
|
||
|
# Should we first load the 'windowkeys' console keymap? Most x86 users will
|
||
|
# say "yes" here. Note that non-x86 users should leave it as "no".
|
||
|
-windowkeys="NO"
|
||
|
+windowkeys="yes"
|
||
|
|
||
|
# The maps to load for extended keyboards. Most users will leave this as is.
|
||
|
extended_keymaps=""
|
||
|
@@ -18,4 +22,4 @@ dumpkeys_charset=""
|
||
|
|
||
|
# Some fonts map AltGr-E to the currency symbol ¤ instead of the Euro €
|
||
|
# To fix this, set to "yes"
|
||
|
-fix_euro="NO"
|
||
|
+fix_euro="yes"
|
||
|
--- etc/rc.conf.in.orig 2009-06-05 10:20:11.000000000 +0200
|
||
|
+++ etc/rc.conf.in 2009-10-09 18:12:16.137121909 +0200
|
||
|
@@ -1,5 +1,9 @@
|
||
|
-# Global OpenRC configuration settings
|
||
|
-
|
||
|
+# Global OpenRC default configuration settings.
|
||
|
+#
|
||
|
+# WARNING: if you want to change these settings, use
|
||
|
+# /etc/rc.conf. This file sets global default settings and
|
||
|
+# they MUST be overwritten in /etc/rc.conf instead.
|
||
|
+#
|
||
|
# Set to "YES" if you want the rc system to try and start services
|
||
|
# in parallel for a slight speed improvement. When running in parallel we
|
||
|
# prefix the service output with it's name as the output will get
|
||
|
@@ -18,7 +22,7 @@
|
||
|
# If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
|
||
|
# otherwise /bin/sh
|
||
|
# Linux users could specify /sbin/sulogin
|
||
|
-#rc_shell=/bin/sh
|
||
|
+rc_shell=/sbin/sulogin
|
||
|
|
||
|
# Do we allow any started service in the runlevel to satisfy the depedency
|
||
|
# or do we want all of them regardless of state? For example, if net.eth0
|
||
|
@@ -44,7 +48,7 @@
|
||
|
# /var/log/rc.log
|
||
|
# NOTE: Linux systems require the devfs service to be started before
|
||
|
# logging can take place and as such cannot log the sysinit runlevel.
|
||
|
-#rc_logger="YES"
|
||
|
+rc_logger="YES"
|
||
|
|
||
|
# By default we filter the environment for our running scripts. To allow other
|
||
|
# variables through, add them here. Use a * to allow all variables through.
|
||
|
@@ -73,7 +77,7 @@
|
||
|
# There variables are shared between many init scripts
|
||
|
|
||
|
# Set unicode to YES to turn on unicode support for keyboards and screens.
|
||
|
-#unicode="NO"
|
||
|
+unicode="YES"
|
||
|
|
||
|
# Network fstypes. Below is the default.
|
||
|
net_fs_list="afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs"
|