Commit 007ce82b authored by abveritas's avatar abveritas
Browse files

trials for fixing locale and other issues in ISO's, initscript/live

parent 9f66fd41
......@@ -6,7 +6,7 @@
_origname=initscripts
pkgname=initscripts-live
pkgver=2012.05
pkgrel=1
pkgrel=2
pkgdesc="System initialization/bootup scripts"
arch=('i686' 'x86_64')
url="http://www.chakra-project.org"
......@@ -15,13 +15,14 @@ groups=('livecd')
provides=("initscripts=${pkgver}")
conflicts=('initscripts' 'chakra-initscripts')
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
depends=('glibc' 'bash' 'grep' 'coreutils' 'udev>=174' 'iproute2'
depends=('glibc' 'bash' 'grep' 'coreutils' 'udev>=182' 'iproute2'
'ncurses' 'kbd' 'findutils' 'sysvinit')
makedepends=('asciidoc')
optdepends=('bridge-utils: Network bridging support'
optdepends=('net-tools: legacy networking support'
'bridge-utils: Network bridging support'
'dhcpcd: DHCP network configuration'
'net-tools: legacy network support'
'wireless_tools: Wireless networking')
makedepends=('asciidoc')
install=initscripts.install
source=('Makefile' 'binfmt.d.5.txt' 'chakra-tmpfiles' 'hostname.5.txt' 'locale.conf.5.txt'
'network' 'rc.d.8.txt' 'rc.shutdown' 'wireless.conf.d' 'bootlog' 'chakra-tmpfiles'
'hwclock' 'locale.conf.5.txt' 'rc.conf' 'rc.local' 'rc.single' 'zsh-completion'
......@@ -47,7 +48,7 @@ md5sums=('022d743d6c324fa1325d8187e9354365'
'00ee10313b866a3fe6520a86f6318518'
'f9b3005a8eaae5eb69d2c3d5641534ed'
'a6affe9c73bd416a97d727a54b0b40dd'
'ae1a83c85f0de6f120cf23adac9444e2'
'c366072d0b230eb9ee7ab31dd77cf245'
'b910fd6e0b5c421d083de72da03d9d1a'
'ac2d6d1cf7df7d65efc90b7766fceae1'
'669ce6d766dd9deb86686219f3763fe4'
......
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
if [ "$(vercmp $2 2011.06.1)" -lt 0 ]; then
echo "Blacklisting of modules is no longer supported in rc.conf,"
echo "please add blacklist entries to /etc/modprobe.d/ instead."
fi
if [ "$(vercmp $2 2011.07.2)" -lt 0 ]; then
echo "VERBOSE= in rc.conf no longer has any effect."
echo "Please append 'quiet' to your kernel command line."
fi
if [ "$(vercmp $2 2011.10.1)" -lt 0 ]; then
echo "If using non-bash-compatible shell, please set LANG in /etc/locale.conf,"
echo "as LOCALE in /etc/rc.conf no longer works."
rcdata=$(cat /etc/rc.conf | grep "LOCALE=" | grep -v "DAEMON" | cut -d '"' -f2)
if [ "$rcdata" != "" ] ; then
rm /etc/locale.conf
echo "Found old language configuration in /etc/rc.conf"
echo "the file /etc/locale.conf will be configured automatically"
echo "LANG=${rcdata}" >> /etc/locale.conf
echo "LC_MESSAGES=${rcdata}" >> /etc/locale.conf
echo " "
fi
if [ -f /etc/profile.d/locale,sh ] ; then
rm /etc/profile.d/locale.sh
fi
mv /etc/profile.d/locale.sh.new /etc/profile.d/locale.sh
fi
}
......@@ -5,7 +5,7 @@
pkgname=initscripts
pkgver=2012.05
pkgrel=2
pkgrel=3
pkgdesc="System initialization/bootup scripts"
arch=('i686' 'x86_64')
url="http://www.chakra-project.org"
......@@ -18,7 +18,7 @@ optdepends=('net-tools: legacy networking support'
'bridge-utils: Network bridging support'
'dhcpcd: DHCP network configuration'
'wireless_tools: Wireless networking')
makedepends=(asciidoc)
makedepends=('asciidoc')
install=initscripts.install
source=('Makefile' 'binfmt.d.5.txt' 'chakra-tmpfiles' 'hostname.5.txt' 'locale.conf.5.txt'
'network' 'rc.d.8.txt' 'rc.shutdown' 'wireless.conf.d' 'bootlog' 'chakra-tmpfiles'
......@@ -28,7 +28,7 @@ source=('Makefile' 'binfmt.d.5.txt' 'chakra-tmpfiles' 'hostname.5.txt' 'locale.c
'rc.d' 'rc.multi' 'tmpfiles.conf' 'vconsole.conf.5.txt')
md5sums=('022d743d6c324fa1325d8187e9354365'
'94bf95df61a06ec45107c4ce9bb59439'
'31969954d2762f5a1f0118f1843a9975'
'e5e9f79dac305c9a0ffa2077a817d354'
'bdb87ed9c8bd97fcc8ae0c643909c813'
'b772c5a6489881f796a6ec13a4e48cc3'
'e886ba94b6d5fd7987ecf9dfee7cbab3'
......@@ -36,14 +36,14 @@ md5sums=('022d743d6c324fa1325d8187e9354365'
'e4798daef2b565e3b6f2ec5e0d5ce3d2'
'dc5462ed765fa34c907f974d67fb776a'
'5d253f4da16e543efaff53ac9684c1c6'
'31969954d2762f5a1f0118f1843a9975'
'e5e9f79dac305c9a0ffa2077a817d354'
'75e147e59b91751b451dcc7bab225278'
'b772c5a6489881f796a6ec13a4e48cc3'
'727e677a2dca88a9dde4fc5846076b69'
'bd236a57bc00aa4727b98c5ae401c457'
'bbdeefad2a1732af6b04484b02527266'
'00ee10313b866a3fe6520a86f6318518'
'd98b09250e49a09cd6f33fa296ebe24b'
'f9b3005a8eaae5eb69d2c3d5641534ed'
'a6affe9c73bd416a97d727a54b0b40dd'
'c366072d0b230eb9ee7ab31dd77cf245'
'b910fd6e0b5c421d083de72da03d9d1a'
......@@ -63,7 +63,4 @@ package() {
cd ${srcdir}
make DESTDIR=${pkgdir} install
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
# Avoid conflicts
mv ${pkgdir}/etc/profile.d/locale.sh ${pkgdir}/etc/profile.d/locale.sh.new
}
#!/bin/bash
#
# /usr/lib/initscripts/arch-binfmt
# /usr/lib/initscripts/chakra-binfmt
#
# Configure additional binary formats at boot
#
......
#!/bin/bash
#
# /usr/lib/initscripts/arch-tmpfiles
# /usr/lib/initscripts/chakra-tmpfiles
#
# Control creation, deletion, and cleaning of volatile and temporary files
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment