platform/upstream/dracut.git
13 years agofips/fips.sh: do not load tcrypt with "noexit" parameter
Harald Hoyer [Mon, 7 Mar 2011 12:15:09 +0000 (13:15 +0100)]
fips/fips.sh: do not load tcrypt with "noexit" parameter

"noexit=1" is the default mode for the tcrypt module now.

[forward ported 7e7308158c9149c33309c0d36a6e1126e690fb58]

13 years agofips/fips.sh: die(), if boot=<device> is not present or has wrong format
Harald Hoyer [Mon, 7 Mar 2011 12:14:10 +0000 (13:14 +0100)]
fips/fips.sh: die(), if boot=<device> is not present or has wrong format

13 years agofips/fips.sh: only trigger udev, if device node of boot is not present
Harald Hoyer [Mon, 7 Mar 2011 12:13:00 +0000 (13:13 +0100)]
fips/fips.sh: only trigger udev, if device node of boot is not present

13 years agodracut.spec: add dracut logrotate
Harald Hoyer [Mon, 7 Mar 2011 12:11:25 +0000 (13:11 +0100)]
dracut.spec: add dracut logrotate

13 years agodracut-functions: fixed instmods() return value
Harald Hoyer [Mon, 7 Mar 2011 12:09:25 +0000 (13:09 +0100)]
dracut-functions: fixed instmods() return value

The FIPS installkernel() relies on the instmods() return value. So only
return 0, if the module and its dependencies were actually installed
correctly.

13 years agodracut-functions: check for missing dracut modules
Harald Hoyer [Mon, 7 Mar 2011 12:08:13 +0000 (13:08 +0100)]
dracut-functions: check for missing dracut modules

If the user explicitly specified "-a <modules>" or "-m <modules>",
   warn him about possible missing modules.

13 years agodracut-functions: if .hmac files are present, install them also
Harald Hoyer [Mon, 7 Mar 2011 12:06:14 +0000 (13:06 +0100)]
dracut-functions: if .hmac files are present, install them also

For FIPS mode, we need all checksum files, called .<filename>.hmac. So,
if we find one, we install it.

13 years agodracut-functions: space
Harald Hoyer [Mon, 7 Mar 2011 12:05:33 +0000 (13:05 +0100)]
dracut-functions: space

13 years agodracut-functions: more verbose logging message format
Harald Hoyer [Mon, 7 Mar 2011 12:01:18 +0000 (13:01 +0100)]
dracut-functions: more verbose logging message format

13 years agodracut-functions: check if directory of logfile is writable
Harald Hoyer [Mon, 7 Mar 2011 11:59:29 +0000 (12:59 +0100)]
dracut-functions: check if directory of logfile is writable

Do not check, if the logfile itsself is writable. Check the directory
instead.

13 years agodracut: more verbose logging
Harald Hoyer [Mon, 7 Mar 2011 11:54:47 +0000 (12:54 +0100)]
dracut: more verbose logging

13 years agoGentoo ebuild for LVM2 prior to 2.02.63-r1 doesn't install rules:
Amadeusz Żołnowski [Wed, 2 Mar 2011 17:02:57 +0000 (18:02 +0100)]
Gentoo ebuild for LVM2 prior to 2.02.63-r1 doesn't install rules:

  10-dm.rules
  11-dm-lvm.rules
  13-dm-disk.rules
  95-dm-notify.rules

but provides only 64-device-mapper.rules combining more or less the
above rules files.

13 years agodracut-functions: fixed doubled $initdir prefix inst_library()
Amadeusz Żołnowski [Fri, 25 Feb 2011 08:59:34 +0000 (09:59 +0100)]
dracut-functions: fixed doubled $initdir prefix inst_library()

Commit 172d85b9c949b321771d63dbd5f06ecf19cf94f0 caused following error:

./dracut-functions: line 307: cd: /tmp/initramfs.mP7cPY/tmp/initramfs.mP7cPY/lib64: No such file or directory

Patch removes beginning $initdir for symlink case.

13 years agokernel-modules: add hid-cherry hid-logitech hid-microsoft kbd drivers
Harald Hoyer [Wed, 23 Feb 2011 15:34:23 +0000 (16:34 +0100)]
kernel-modules: add hid-cherry hid-logitech hid-microsoft kbd drivers

13 years agoAUTHORS: update
Harald Hoyer [Wed, 23 Feb 2011 12:35:46 +0000 (13:35 +0100)]
AUTHORS: update

13 years agodracut: do not use "derror", when we cannot find dracut-functions
Harald Hoyer [Wed, 23 Feb 2011 12:32:31 +0000 (13:32 +0100)]
dracut: do not use "derror", when we cannot find dracut-functions

13 years agodracut.spec: add /var/lib/initramfs
Harald Hoyer [Wed, 23 Feb 2011 12:21:07 +0000 (13:21 +0100)]
dracut.spec: add /var/lib/initramfs

13 years agoadd missing editor format commands
Harald Hoyer [Wed, 23 Feb 2011 08:41:08 +0000 (09:41 +0100)]
add missing editor format commands

13 years agoadd missing shebang
Harald Hoyer [Wed, 23 Feb 2011 08:38:25 +0000 (09:38 +0100)]
add missing shebang

13 years ago90lvm/lvm_scan.sh: removed garbage line
Harald Hoyer [Tue, 22 Feb 2011 17:40:40 +0000 (18:40 +0100)]
90lvm/lvm_scan.sh: removed garbage line

13 years ago90lvm/lvm_scan.sh: fixed lvm version parsing
Harald Hoyer [Tue, 22 Feb 2011 16:45:11 +0000 (17:45 +0100)]
90lvm/lvm_scan.sh: fixed lvm version parsing

13 years agovconsole.font.unicode -> vconsole.unicode
Harald Hoyer [Mon, 21 Feb 2011 08:23:27 +0000 (09:23 +0100)]
vconsole.font.unicode -> vconsole.unicode

13 years agofix c0a82e271e2730159f042ee7d7fc4aca2e08d28a
Andrey Borzenkov [Sat, 19 Feb 2011 06:57:55 +0000 (09:57 +0300)]
fix c0a82e271e2730159f042ee7d7fc4aca2e08d28a

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
13 years agoinit: set cdrom polling in kernel
Harald Hoyer [Fri, 18 Feb 2011 12:27:31 +0000 (13:27 +0100)]
init: set cdrom polling in kernel

and reset to -1 after we are done.

13 years agoMakefile: do not dash syntax check module-setup.sh
Harald Hoyer [Fri, 18 Feb 2011 12:11:53 +0000 (13:11 +0100)]
Makefile: do not dash syntax check module-setup.sh

module-setup.sh is bash syntax, so dash complains about bash contructs

13 years agolvm: use --sysinit, if lvm version >= v2.02.65
Harald Hoyer [Fri, 18 Feb 2011 09:58:39 +0000 (10:58 +0100)]
lvm: use --sysinit, if lvm version >=  v2.02.65

13 years agoselinux: turn off selinux by default
Harald Hoyer [Fri, 18 Feb 2011 08:44:47 +0000 (09:44 +0100)]
selinux: turn off selinux by default

In Fedora selinux is now handled by systemd. If you want to enable
selinux by default, just add it to your /etc/dracut.conf.d/01-dist.conf
with:
add_dracutmodules+=" selinux "

13 years agoi18n: default to vconsole.font.unicode=1
Harald Hoyer [Fri, 18 Feb 2011 08:37:11 +0000 (09:37 +0100)]
i18n: default to vconsole.font.unicode=1

13 years agoi18n: fixed config file parsing in hostonly mode
Harald Hoyer [Fri, 18 Feb 2011 08:33:06 +0000 (09:33 +0100)]
i18n: fixed config file parsing in hostonly mode

I accidently removed some parenthesis.

13 years agodracut-functions: fixed installing libraries which links to another directory
Jon Ander Hernandez [Thu, 17 Feb 2011 09:35:27 +0000 (10:35 +0100)]
dracut-functions: fixed installing libraries which links to another directory

$ ldd `which bash` | grep ld
/lib64/ld-linux-x86-64.so.2 (0x00007fa1cc3ff000)

$ readlink -f /lib64/ld-linux-x86-64.so.2
/lib/ld-2.12.1.so

So inst_library /lib64/ld-linux-x86-64.so.2 was doing :

(cd "/tmp/initramfs.4uaeD9/lib64" && ln -s "/lib/ld-2.12.1.so"
 "ld-linux-x86-64.so.2")

But, /tmp/initramfs.4uaeD9/lib64 -> /lib... :-S

13 years agodracut-functions: handle shared objects in find_binary w/o the exec flag
Harald Hoyer [Thu, 17 Feb 2011 09:48:35 +0000 (10:48 +0100)]
dracut-functions: handle shared objects in find_binary w/o the exec flag

13 years agodracut: Don't suppress the modprobe error output.
maximilian attems [Wed, 16 Feb 2011 13:56:07 +0000 (14:56 +0100)]
dracut: Don't suppress the modprobe error output.

It happens that either due to newer modprobe or missing depmod
module-init-tools cries.
Suppressing the error ensures for a funny debug search for the user.
Resulting initramfs is generally unbootable due to missing module deps.

Better use the quiet option of modprobe itself.
It makes it less chatty, but doesn't suppress "fatal" errors.

Signed-off-by: maximilian attems <max@stro.at>
13 years agoplymouth: touch /dev/.systemd/plymouth
Harald Hoyer [Wed, 9 Feb 2011 12:22:49 +0000 (13:22 +0100)]
plymouth: touch /dev/.systemd/plymouth

until plymouth does it itsself, touch /dev/.systemd/plymouth
https://bugzilla.redhat.com/show_bug.cgi?id=676302

13 years agodracut.8.xml: corrected typo
Harald Hoyer [Tue, 8 Feb 2011 17:06:25 +0000 (18:06 +0100)]
dracut.8.xml: corrected typo

13 years agodracut-functions: write to $HOME/dracut.log instead of /tmp/dracut.log
Harald Hoyer [Tue, 8 Feb 2011 16:59:48 +0000 (17:59 +0100)]
dracut-functions: write to $HOME/dracut.log instead of /tmp/dracut.log

13 years agodracut.spec: add biosdevname 008
Harald Hoyer [Wed, 2 Feb 2011 16:43:03 +0000 (17:43 +0100)]
dracut.spec: add biosdevname

13 years agoadd rpmversion and fips to the fedora default modules
Harald Hoyer [Wed, 2 Feb 2011 16:39:45 +0000 (17:39 +0100)]
add rpmversion and fips to the fedora default modules

13 years agorenamed module-info.sh to module-setup.sh
Harald Hoyer [Wed, 2 Feb 2011 15:35:18 +0000 (16:35 +0100)]
renamed module-info.sh to module-setup.sh

13 years agoversion 008
Harald Hoyer [Wed, 2 Feb 2011 15:33:35 +0000 (16:33 +0100)]
version 008

13 years agoselinux: call emergency_shell for failures
Harald Hoyer [Wed, 2 Feb 2011 14:10:42 +0000 (15:10 +0100)]
selinux: call emergency_shell for failures

13 years agofips: add aes-xts module
Harald Hoyer [Wed, 2 Feb 2011 13:48:37 +0000 (14:48 +0100)]
fips: add aes-xts module

13 years agodracut: use derror for error messages
Harald Hoyer [Wed, 2 Feb 2011 12:38:07 +0000 (13:38 +0100)]
dracut: use derror for error messages

13 years agomultipath: use new "-B" parameter
Harald Hoyer [Wed, 2 Feb 2011 12:34:34 +0000 (13:34 +0100)]
multipath: use new "-B" parameter

13 years agobase/init: do not poll cdrom, if kernel supports polling
Harald Hoyer [Wed, 2 Feb 2011 12:32:46 +0000 (13:32 +0100)]
base/init: do not poll cdrom, if kernel supports polling

13 years agoreplaced check,install,installkernel with module-info.sh
Harald Hoyer [Wed, 2 Feb 2011 12:34:58 +0000 (13:34 +0100)]
replaced check,install,installkernel with module-info.sh

13 years agoadd 97biosdevname dracut module
Harald Hoyer [Wed, 26 Jan 2011 11:58:52 +0000 (12:58 +0100)]
add 97biosdevname dracut module

13 years agoiscsi: changed parameters to new rd.iscsi style
Harald Hoyer [Tue, 25 Jan 2011 10:53:52 +0000 (11:53 +0100)]
iscsi: changed parameters to new rd.iscsi style

13 years agodracut.kernel.7.xml: s/rd_ZNET/rd.znet
Harald Hoyer [Tue, 25 Jan 2011 10:34:25 +0000 (11:34 +0100)]
dracut.kernel.7.xml: s/rd_ZNET/rd.znet

13 years agobase/init: drop "noexec" from /dev/shm
Harald Hoyer [Tue, 25 Jan 2011 09:35:20 +0000 (10:35 +0100)]
base/init: drop "noexec" from /dev/shm

13 years agobase/install: create emergency subdir
Harald Hoyer [Mon, 24 Jan 2011 12:41:24 +0000 (13:41 +0100)]
base/install: create emergency subdir

13 years agodracut.spec: removed "mount" requirement
Harald Hoyer [Mon, 17 Jan 2011 10:15:16 +0000 (11:15 +0100)]
dracut.spec: removed "mount" requirement

mount is part of util-linux-ng. There is no mount package.

13 years agobase/install: make install of "less" optional
Harald Hoyer [Fri, 7 Jan 2011 11:05:42 +0000 (12:05 +0100)]
base/install: make install of "less" optional

13 years agofips: s/==/=
Harald Hoyer [Mon, 3 Jan 2011 08:48:37 +0000 (09:48 +0100)]
fips: s/==/=

13 years agomultipath/install: install the complete /etc/multipath directory
Harald Hoyer [Mon, 6 Dec 2010 15:20:43 +0000 (16:20 +0100)]
multipath/install: install the complete /etc/multipath directory

Resolves: rhbz#630911

13 years agomkinitrd-dracut.sh: add "--force"
Harald Hoyer [Mon, 6 Dec 2010 15:18:54 +0000 (16:18 +0100)]
mkinitrd-dracut.sh: add "--force"

Resolves: rhbz#626389

13 years agomdraid/parse-md.sh: create new rules, then mv to old one
Harald Hoyer [Mon, 6 Dec 2010 15:05:37 +0000 (16:05 +0100)]
mdraid/parse-md.sh: create new rules, then mv to old one

If udevd is already running, then we should assemble the new rules files
in a seperate file first, before calling it *.rules

Resolves: rhbz#595096

13 years agokernel-modules/installkernel: add hid_sunplus to keyboard drivers
Harald Hoyer [Thu, 2 Dec 2010 16:13:15 +0000 (17:13 +0100)]
kernel-modules/installkernel: add hid_sunplus to keyboard drivers

13 years agoadded dracut logo
Harald Hoyer [Thu, 2 Dec 2010 16:12:33 +0000 (17:12 +0100)]
added dracut logo

13 years agofix installation of `modules.builtin.bin'
Christian Heinz [Fri, 26 Nov 2010 02:21:17 +0000 (03:21 +0100)]
fix installation of `modules.builtin.bin'

`modules.builtin.bin' is installed like a regular file, thereby ending
up in the wrong place when `--kmoddir' is in effect. Fix this by
specifying the installation destination.

13 years ago- move btrfs rules order from 40 to 80 for ID_FS_TYPE to work (which is populated...
Tomasz Torcz [Wed, 24 Nov 2010 17:33:19 +0000 (18:33 +0100)]
- move btrfs rules order from 40 to 80 for ID_FS_TYPE to work (which is populated by 60-persistent-storage.rules)

13 years agodracut.xml: fixed "Omitting dracut Modules"
Harald Hoyer [Tue, 23 Nov 2010 11:51:31 +0000 (12:51 +0100)]
dracut.xml: fixed "Omitting dracut Modules"

13 years agodracut.spec: inc release
Harald Hoyer [Mon, 22 Nov 2010 09:05:42 +0000 (10:05 +0100)]
dracut.spec: inc release

13 years agoSearch in for KMS-capable drivers in extra/ as well
Lubomir Rintel [Fri, 19 Nov 2010 17:32:30 +0000 (18:32 +0100)]
Search in for KMS-capable drivers in extra/ as well

User can have an out-of-tree video driver supporting KMS installed;
Intel GMA500 drivers from RPM Fusion are one example of such module.

13 years agobase/init: fix init executable check
Harald Hoyer [Fri, 19 Nov 2010 12:40:34 +0000 (13:40 +0100)]
base/init: fix init executable check

13 years agobase/init: honor old "real_init="
Harald Hoyer [Fri, 19 Nov 2010 12:37:17 +0000 (13:37 +0100)]
base/init: honor old "real_init="

13 years agobase: use systemd-timestamp for RD_TIMESTAMP, if possible
Harald Hoyer [Thu, 18 Nov 2010 11:28:21 +0000 (12:28 +0100)]
base: use systemd-timestamp for RD_TIMESTAMP, if possible

13 years agobase/init: do not set umask
Harald Hoyer [Wed, 17 Nov 2010 16:37:22 +0000 (17:37 +0100)]
base/init: do not set umask

somehow /dev/dri gets created with the wrong permissions
https://bugzilla.redhat.com/show_bug.cgi?id=626559

13 years agodracut-lib.sh: splitsep fix
Amadeusz Żołnowski [Mon, 15 Nov 2010 16:34:36 +0000 (17:34 +0100)]
dracut-lib.sh: splitsep fix

13 years agodracut.spec: remove uswsusp and added busybox module
Harald Hoyer [Fri, 12 Nov 2010 13:27:36 +0000 (14:27 +0100)]
dracut.spec: remove uswsusp and added busybox module

13 years agocrypt: change /tmp/luks.keys seperator from "|" to ":"
Harald Hoyer [Fri, 12 Nov 2010 13:11:33 +0000 (14:11 +0100)]
crypt: change /tmp/luks.keys seperator from "|" to ":"

Do it like on the kernel command line, so we only have one forbidden
character.

13 years agodracut.kernel.7: updated to latest changes in 90crypt
Amadeusz Żołnowski [Fri, 12 Nov 2010 09:21:50 +0000 (10:21 +0100)]
dracut.kernel.7: updated to latest changes in 90crypt

13 years ago90crypt: probe for keydev asynchronously; changed kernel arg
Amadeusz Żołnowski [Fri, 12 Nov 2010 09:21:49 +0000 (10:21 +0100)]
90crypt: probe for keydev asynchronously; changed kernel arg

New kernel argument syntax for LUKS-keydev is introduced:

  rd.luks.key=<key_path>[:<key_dev>[:<luks_dev>]]

Unfolding <key_dev> in BNF:

  <key_dev> ::= "UUID=" <uuid> | "LABEL=" <label> | <kname>

Where <kname> matches following regular expression:

  ^/dev/.*

<kname> need to be a character device and not a symlink for now.

For every rd.luks.key argument udev rule is created.  That rule runs
test to check whether matching device contains <key_path>.  If it does
it's applied to matching <luks_dev>.

13 years ago99base/dracut-lib.sh: 5 new functions & 1 modified
Amadeusz Żołnowski [Fri, 12 Nov 2010 09:21:48 +0000 (10:21 +0100)]
99base/dracut-lib.sh: 5 new functions & 1 modified

New:
  str_starts, str_replace
  funiq - print new unique file name
  mkuniqdir - create and print new unique dir
  splitsep - splits given string 'str' with separator 'sep' into vars
  udevmatch - create udev rule match for a device

Modified:
  foreach_uuid_until - use $___ as a place holder

13 years agomove initlog.pipe to /dev/.initramfs
Harald Hoyer [Thu, 11 Nov 2010 09:56:26 +0000 (10:56 +0100)]
move initlog.pipe to /dev/.initramfs

13 years agobase/init: merge mkdir and add more mount options
Harald Hoyer [Thu, 11 Nov 2010 09:58:38 +0000 (10:58 +0100)]
base/init: merge mkdir and add more mount options

13 years agobase/loginit: s/==/=
Harald Hoyer [Wed, 10 Nov 2010 21:50:20 +0000 (22:50 +0100)]
base/loginit: s/==/=

stupid bug!

13 years agorootfs-block/mount-root.sh: remove $NEWROOT/.autofsck if possible
Harald Hoyer [Wed, 10 Nov 2010 21:10:54 +0000 (22:10 +0100)]
rootfs-block/mount-root.sh: remove $NEWROOT/.autofsck if possible

13 years agobase/init: re-add initqueue-finished
Harald Hoyer [Wed, 10 Nov 2010 20:27:33 +0000 (21:27 +0100)]
base/init: re-add initqueue-finished

13 years agorootfs-block/mount-root.sh: remove $NEWROOT/{.autofsck,forcefsck} if possible
Harald Hoyer [Wed, 10 Nov 2010 19:45:12 +0000 (20:45 +0100)]
rootfs-block/mount-root.sh: remove $NEWROOT/{.autofsck,forcefsck} if possible

13 years agorootfs-block/mount-root.sh: set prompt in emergency shell
Harald Hoyer [Wed, 10 Nov 2010 19:45:02 +0000 (20:45 +0100)]
rootfs-block/mount-root.sh: set prompt in emergency shell

13 years agorootfs-block/mount-root.sh: echo fsck return code to
Harald Hoyer [Wed, 10 Nov 2010 19:43:22 +0000 (20:43 +0100)]
rootfs-block/mount-root.sh: echo fsck return code to
/dev/.initramfs/fsck

13 years agorootfs-block/mount-root.sh: fixed filesystem type udev parsing
Harald Hoyer [Wed, 10 Nov 2010 19:12:05 +0000 (20:12 +0100)]
rootfs-block/mount-root.sh: fixed filesystem type udev parsing

13 years agorootfs-block/mount-root.sh: correctly printf to fstab
Harald Hoyer [Wed, 10 Nov 2010 19:11:31 +0000 (20:11 +0100)]
rootfs-block/mount-root.sh: correctly printf to fstab

13 years agorootfs-block/mount-root.sh: only warn if fsck returned != 0
Harald Hoyer [Wed, 10 Nov 2010 19:06:34 +0000 (20:06 +0100)]
rootfs-block/mount-root.sh: only warn if fsck returned != 0

13 years agorootfs-block/mount-root.sh: default rootfs to auto, even without fstab
Harald Hoyer [Wed, 10 Nov 2010 19:01:30 +0000 (20:01 +0100)]
rootfs-block/mount-root.sh: default rootfs to auto, even without fstab

13 years agorootfs-block/mount-root.sh: clear fsckoptions
Harald Hoyer [Wed, 10 Nov 2010 18:58:15 +0000 (19:58 +0100)]
rootfs-block/mount-root.sh: clear fsckoptions

13 years agoAUTHORS: update
Harald Hoyer [Wed, 10 Nov 2010 18:07:16 +0000 (19:07 +0100)]
AUTHORS: update

13 years ago*.rules: honor DM_UDEV_DISABLE_OTHER_RULES_FLAG
Peter Rajnoha [Wed, 10 Nov 2010 17:14:59 +0000 (18:14 +0100)]
*.rules: honor DM_UDEV_DISABLE_OTHER_RULES_FLAG

honour the DM_UDEV_DISABLE_OTHER_RULES_FLAG which is set by
libdevmapper/LVM directly for devices that should be skipped.

13 years agobusybox/check: disable module by default and check for busybox binary
Harald Hoyer [Wed, 10 Nov 2010 15:38:40 +0000 (16:38 +0100)]
busybox/check: disable module by default and check for busybox binary

13 years agoresume: merge uswsusp module into resume
Andrey Borzenkov [Fri, 5 Nov 2010 15:29:26 +0000 (18:29 +0300)]
resume: merge uswsusp module into resume

uswsusp almost completely duplicates resume; merge them.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
13 years ago95rootfs-block: fix missing root when label contains slash
Andrey Borzenkov [Sat, 6 Nov 2010 21:46:53 +0000 (00:46 +0300)]
95rootfs-block: fix missing root when label contains slash

It is not clearly documented, but apparently fsck
(or, probably, getmntent) is using backslash as
escape character.

Label containing slash is converted to \x2f but '\'
is eaten by fsck later. Escape '\' before writing
into fstab.

v2:
- fix sed expression
- use printf instead of echo because echo eats '\' as well

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
13 years agoi18n: do not use systemd-vconsole-setup
Andrey Borzenkov [Sat, 6 Nov 2010 21:14:49 +0000 (00:14 +0300)]
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>
13 years agoAdd busybox shell replacements module
Daniel Drake [Mon, 8 Nov 2010 19:49:33 +0000 (19:49 +0000)]
Add busybox shell replacements module

On the OLPC XO-1, there is a noticable delay during boot while the
initramfs is loaded from disk and uncompressed, so we have an interest
in making it small. We are also pushed for disk space.

Using busybox instead of all the regular tools saves a lot of space.
I have not tried every module but the basics are working with busybox's
replacements. Our initramfs is now down to 1.9mb.

13 years agoi18n: mention {vconsole,locale}.conf in README
Andrey Borzenkov [Sat, 6 Nov 2010 14:26:08 +0000 (17:26 +0300)]
i18n: mention {vconsole,locale}.conf in README

i18n does not use /etc/sysconfig/{i18n,keyboard} anymore

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
13 years agoMakefile: use xhtml instead of xhtml-1_1 for the docbook.xsl
Harald Hoyer [Wed, 10 Nov 2010 14:05:04 +0000 (15:05 +0100)]
Makefile: use xhtml instead of xhtml-1_1 for the docbook.xsl

13 years agorootfs-block/install: install e2fsck for slackware
Harald Hoyer [Wed, 10 Nov 2010 14:00:30 +0000 (15:00 +0100)]
rootfs-block/install: install e2fsck for slackware

13 years agodm/install: install dmeventd, only if present
Harald Hoyer [Wed, 10 Nov 2010 14:00:01 +0000 (15:00 +0100)]
dm/install: install dmeventd, only if present

13 years agodracut.spec: bump release
Harald Hoyer [Fri, 5 Nov 2010 18:15:09 +0000 (14:15 -0400)]
dracut.spec: bump release

13 years agobase/init: removed scsi_wait_scan hack
Harald Hoyer [Fri, 5 Nov 2010 18:14:34 +0000 (14:14 -0400)]
base/init: removed scsi_wait_scan hack

13 years agoi18n/parse-i18n: remove manual call for console_init
Harald Hoyer [Fri, 5 Nov 2010 18:13:00 +0000 (14:13 -0400)]
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