Harald Hoyer
a4f88b8a49
rootfs-block/mount-root.sh: set prompt in emergency shell
2010-11-10 20:45:02 +01:00
Harald Hoyer
3d7c58ca1e
rootfs-block/mount-root.sh: echo fsck return code to
...
/dev/.initramfs/fsck
2010-11-10 20:43:22 +01:00
Harald Hoyer
ce51f3be11
rootfs-block/mount-root.sh: fixed filesystem type udev parsing
2010-11-10 20:12:05 +01:00
Harald Hoyer
4cba811f6c
rootfs-block/mount-root.sh: correctly printf to fstab
2010-11-10 20:11:31 +01:00
Harald Hoyer
85de3d281a
rootfs-block/mount-root.sh: only warn if fsck returned != 0
2010-11-10 20:06:34 +01:00
Harald Hoyer
3817c2f138
rootfs-block/mount-root.sh: default rootfs to auto, even without fstab
2010-11-10 20:01:30 +01:00
Harald Hoyer
13af399f65
rootfs-block/mount-root.sh: clear fsckoptions
2010-11-10 19:58:15 +01:00
Harald Hoyer
2cbcbd7532
AUTHORS: update
2010-11-10 19:07:16 +01:00
Peter Rajnoha
c2c3108882
*.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.
2010-11-10 18:14:59 +01:00
Harald Hoyer
cd7ee4913d
busybox/check: disable module by default and check for busybox binary
2010-11-10 16:38:40 +01:00
Andrey Borzenkov
856285aa90
resume: merge uswsusp module into resume
...
uswsusp almost completely duplicates resume; merge them.
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
2010-11-10 16:07:01 +01:00
Andrey Borzenkov
0e08f1de8d
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>
2010-11-10 16:03:14 +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
Daniel Drake
dbcc4e94c5
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.
2010-11-10 15:49:48 +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
498a131239
Makefile: use xhtml instead of xhtml-1_1 for the docbook.xsl
2010-11-10 15:05:04 +01:00
Harald Hoyer
9840eaade6
rootfs-block/install: install e2fsck for slackware
2010-11-10 15:00:30 +01:00
Harald Hoyer
f8fcc56ed9
dm/install: install dmeventd, only if present
2010-11-10 15:00:01 +01:00
Harald Hoyer
1c290032a4
dracut.spec: bump release
2010-11-05 14:15:09 -04:00
Harald Hoyer
1fbe575888
base/init: removed scsi_wait_scan hack
2010-11-05 14:14:34 -04: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
67bde9f067
bootchart/install: create tmpfs directory
2010-11-05 14:12:33 -04:00
Harald Hoyer
921f4b5b52
base/init: fixed " typo
2010-11-03 15:41:50 -04:00
Harald Hoyer
7853bbfa7d
base/init: do not clean RD_* environment variables
2010-11-03 14:15:11 -04:00
Harald Hoyer
c79517b4d9
base/init: fixed indention
2010-11-03 14:12:30 -04:00
Harald Hoyer
5e1898fa5a
base/init: only mknod /dev/null, if it does not exist yet
2010-11-03 13:45:14 -04:00
Harald Hoyer
11a2ab6228
base/init: merge mkdir calls
2010-11-03 13:42:20 -04:00
Harald Hoyer
c56e44a63a
rootfs-block/mount-root.sh: fixed fsck "-a" option
2010-11-03 13:40:42 -04:00
Harald Hoyer
3871942d13
rootfs-block:mount-root.sh add fsck
2010-10-29 19:00:35 +02: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
5ce6642fed
dracut.spec: s#fedora_version#fedora#g and simplified %if checks
2010-10-29 16:57:52 +02:00
Harald Hoyer
fb4ba86f44
dracut.conf.d/suse.conf.example: remove hostonly mode
2010-10-29 16:22:56 +02:00
Harald Hoyer
353ef76019
dracut.spec: dracut-network obsoletes and provides dracut-generic
2010-10-29 15:22:59 +02:00
Harald Hoyer
44b013967a
dracut.spec: add dracut.html to %doc
2010-10-29 15:08:51 +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
256a816c9f
dracut.conf.d/fedora.conf.example: SYSFONT -> FONT
2010-10-29 13:47:05 +02:00
Harald Hoyer
ee6fa3240d
i18n: move to vconfig.* and locale.* namespace
2010-10-29 13:39:20 +02:00
Harald Hoyer
9b79345001
base/init: rd.shell=1 per default
...
to securely lock a machine, the admin has to set rd.shell=0!
2010-10-29 13:24:12 +02:00
Harald Hoyer
51c977d1ff
dracut-functions:find_block_device() workaround for btrfs
...
/proc/self/mountinfo contains the btrfs virtual device major minor.
Determine the real major minor with the device.
2010-10-29 12:34:27 +02:00
Harald Hoyer
577b1fc833
base/init: s/RDTIMESTAMP/RD_TIMESTAMP/g
...
systemd will clear all RD_* env for its children
2010-10-28 18:09:45 +02:00
Harald Hoyer
6ef8e5b4d3
mkdir /dev/.initramfs with "-p"
2010-10-28 17:11:35 +02:00
Harald Hoyer
9bfff3746f
base: send DRACUT_LOG_END to loginit at the end
2010-10-28 17:11:35 +02:00
Harald Hoyer
b2559a8895
TEST-50-MULTINIC/test.sh: only set hdc for no cdrom
2010-10-28 17:11:35 +02:00
Harald Hoyer
51b28ba9c4
test/TEST-*/test.sh: set -serial to null for servers
...
-serial udp might have stalled
2010-10-28 17:11:35 +02:00
Pádraig Brady
c8584872be
network: don't die if gateway is down and root server is local
...
modules.d/40network/netroot: Don't arping the gateway if we don't need to
2010-10-28 17:11:34 +02:00
Harald Hoyer
387bf82e30
test/*/*-init: set PATH
...
/sbin and /usr/sbin are no longer in $PATH
2010-10-28 17:11:34 +02:00
Harald Hoyer
11adeb7c01
dracut-functions:inst_symlink() create target dir
...
if the target directory of the symlink didn't exist, we failed
2010-10-28 17:11:34 +02:00