Stefan Reimer
a059f72b09
i18n/module-setup.sh: fixed include parsing
...
Due to bug in module-setup.sh in the i18n module includes from the main
keymap are not working and not added to the initrd image.
Only one quotation per line is removed. Needs to remove all.
2012-07-31 11:36:17 +02:00
Harald Hoyer
d782ffb822
i18n/parse-i18n.sh: remove udev rules
2012-07-30 17:08:52 +02:00
Harald Hoyer
aefea76cf8
set DRACUT_SYSTEMD for systemd mode in the initramfs
2012-07-30 17:08:51 +02:00
Harald Hoyer
95a5b23a38
i18n,terminfo/module-setup.sh: fixed "cp -t" calls
2012-07-27 15:34:54 +02:00
Harald Hoyer
3e51b2f6fc
fixed i18n and plymouth for systemd
2012-07-27 14:15:48 +02:00
Harald Hoyer
852105dc44
i18n/console_init.sh: skip, if we use systemd and use systemd-vconsole-init
2012-07-27 14:11:22 +02:00
Harald Hoyer
68e7661ca7
deprecate old command line options
2012-07-25 10:32:42 +02:00
Harald Hoyer
cef379bb03
i18n/10-console.rules: move console_init to the initqueue
2012-07-24 11:52:28 +02:00
Harald Hoyer
394ffc1d97
i18n/module-setup.sh: s/error/info if no keymap is configured
...
https://bugzilla.redhat.com/show_bug.cgi?id=836418
2012-07-05 11:15:35 +02:00
Harald Hoyer
99c7b70d1d
modules.d: get rid of "tr"
...
replace it with sed or str_replace or bash ${var/a/b}
2012-06-29 12:41:27 +02:00
Harald Hoyer
8c6151bd63
i18n/module-setup.sh:install_all_kbd(): speedup install
2012-06-29 12:41:26 +02:00
Harald Hoyer
ee876e03b9
fixed i18n for systemd and include more config files in host-only
2012-06-21 10:52:29 +02:00
Harald Hoyer
b7ddf6c1d8
make bzip2 optional
2012-02-25 17:22:02 +01:00
Harald Hoyer
cf38fc7389
10i18n/module-setup.sh: optimize install of all kbd files
2012-02-25 17:18:51 +01:00
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
2012-02-22 15:15:21 +01:00
Harald Hoyer
dfb08e9f1c
removed now useless cleanup hooks
...
in Fedora 17, we unpack /boot/initramfs-$(uname -r).img
on shutdown for a pivot root to disassemble the root device
2012-02-15 10:08:59 +01:00
Harald Hoyer
56ac6c7e76
move all file removal cleanups to "cleanup" hook
2012-02-07 19:44:03 +01:00
Harald Hoyer
a178ca6b5c
more cleanup in pre-pivot
2012-02-07 10:32:35 +01:00
Cong Wang
1b7fd0fa3e
Check module dependencies of mount points
...
Like -H, we need to poll every module to check if it is needed
to mount a specific device in '--mount'.
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
2012-01-13 11:35:49 +01:00
Colin Guthrie
95023eb325
Fix Unicode keytable.
...
This patch was originally from Mandriva: dracut-013-fix_unicode_keytable.patch
2012-01-09 13:25:12 +01:00
Michal Soltys
5259da1043
minor changes
...
- in 10i18n - do stty -iutf8 on non-utf8 consoles, for consistency with
iutf8 on utf8 ones
- vim modeline in xml file
Signed-off-by: Michal Soltys <soltys@ziu.info>
2011-10-20 13:06:52 +02:00
Michal Soltys
c32bda6bb9
bash3 compat patch
...
This patch replaces:
- {var}>... redirections with functionally identical eval construct +
explicit FDs
- ^^ and ,, case modifiers with temporary shopt
This allows us to lower minimum required bash version
to at least 3.1 (with current code).
Signed-off-by: Michal Soltys <soltys@ziu.info>
2011-10-11 09:37:01 +02:00
Harald Hoyer
e59f58f854
use inst_simple to install non-binary files
2011-08-12 13:11:30 +02:00
Harald Hoyer
1021371daf
i18n: disable systemd-vconsole-setup, until the tool is fixed
2011-05-20 15:17:31 +02:00
Harald Hoyer
3b403b32fc
removed trailing whitespaces
2011-05-10 11:56:09 +02:00
Harald Hoyer
6019e1053c
10i18n: do not use console_init shell script, if systemd-vconsole-setup
...
do not use console_init shell script, if systemd-vconsole-setup is
available
2011-05-03 14:49:44 +02:00
Harald Hoyer
aad6898fe4
10i18n: s/systemd-vconsole/systemd-vconsole-setup/g
2011-05-03 10:34:06 +02:00
Harald Hoyer
c99014d5ef
console_init/plymouth: use systemd-vconsole, if available
...
also init the console before starting the plymouth daemon
2011-05-03 09:59:14 +02:00
Amadeusz Żołnowski
d1ef3951f3
modules.d: logging functions adjusted to dracut-logger
2011-03-25 16:22:05 +01:00
Harald Hoyer
94cce410aa
vconsole.font.unicode -> vconsole.unicode
2011-02-21 09:23:27 +01:00
Andrey Borzenkov
06e07df001
fix c0a82e271e
...
Let inst_key_val usage agree with above patch :)
Also UNICODE is rather global console property, not font specific
(and if anything, is rather keyboard specific). Let it be just
vconsole.unicode
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Cc: initramfs@vger.kernel.org
2011-02-21 09:21:22 +01:00
Harald Hoyer
c0a82e271e
i18n: default to vconsole.font.unicode=1
2011-02-18 09:37:11 +01:00
Harald Hoyer
ebaed7d51f
i18n: fixed config file parsing in hostonly mode
...
I accidently removed some parenthesis.
2011-02-18 09:33:06 +01:00
Harald Hoyer
71df3c4329
renamed module-info.sh to module-setup.sh
2011-02-02 16:35:18 +01:00
Harald Hoyer
95d2dabc25
replaced check,install,installkernel with module-info.sh
2011-02-02 13:56:03 +01:00
Andrey Borzenkov
161da365e2
i18n: do not use systemd-vconsole-setup
...
systemd-vconsole-setup was not designed to be run from udevd.
It checks locale environment to decide, whether UNICODE should
be enabled or disabled. Normally environment is setup by
systemd; but the only environment available in udev rules is
those from device properties. It means systemd-vconsole-setup
always assumes default C locale and disables UNICODE.
Revert to using built-in console_init which explicitly
imports locale settings from /etc/vconsole.conf. Alternative
is to revert 6545b9d7
and call console_init directly :)
Additionally patch fixes console_init to use new namespace as
well as ensures that default font is always installed.
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
2010-11-10 15:53:04 +01:00
Andrey Borzenkov
d118a5990a
i18n: mention {vconsole,locale}.conf in README
...
i18n does not use /etc/sysconfig/{i18n,keyboard} anymore
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
2010-11-10 15:49:48 +01:00
Harald Hoyer
6545b9d792
i18n/parse-i18n: remove manual call for console_init
...
setfont and loadkeys are better called in udev,
because then they are started in parallel to other jobs
2010-11-05 14:13:00 -04:00
Harald Hoyer
07ecac56da
10i18n/parse-i18n.sh: run console_init directly if /dev/tty0 exists
2010-10-29 18:38:55 +02:00
Harald Hoyer
67c0c1847b
i18n/install: if hostonly install fails, install all files
2010-10-29 14:07:56 +02:00
Harald Hoyer
544de3c87f
i18n/install: s/dwarn/dwarning/
2010-10-29 14:00:13 +02:00
Harald Hoyer
1be365c500
i18n/install: do not error out, if local i18n could not be found
2010-10-29 13:58:40 +02:00
Harald Hoyer
13f91fc78d
i18n/install: cleanup and honor new config files
...
honor local /etc/locale.conf and /etc/vconsole.conf files
2010-10-29 13:55:22 +02:00
Harald Hoyer
ee6fa3240d
i18n: move to vconfig.* and locale.* namespace
2010-10-29 13:39:20 +02:00
Harald Hoyer
8541b35ed7
i18n: also search in /usr/share/kbd
2010-10-25 12:31:07 +02:00
Harald Hoyer
cc02093d69
reformat source code
...
removed tabs and set indention to 4 spaces
added emacs and vi format headers
2010-09-10 15:34:36 +02:00
Amadeusz Żołnowski
1f03abefad
10i18n: --quiet for loadkeys
2010-08-09 13:10:04 +02:00
Amadeusz Żołnowski
9b3d462b68
dracut.kernel.7.xml: updated I18N and LUKS sections
...
10i18n/README: typo corrected
2010-08-06 13:36:13 +02:00
Amadeusz Żołnowski
a0342347e9
10i18n: exit if console already initialized
2010-08-04 18:30:02 +02:00
Harald Hoyer
d6351b36b8
i18n: only source config files, if present
2010-08-02 14:17:58 +02:00