Harald Hoyer
4cba811f6c
rootfs-block/mount-root.sh: correctly printf to fstab
15 years ago
Harald Hoyer
85de3d281a
rootfs-block/mount-root.sh: only warn if fsck returned != 0
15 years ago
Harald Hoyer
3817c2f138
rootfs-block/mount-root.sh: default rootfs to auto, even without fstab
15 years ago
Harald Hoyer
13af399f65
rootfs-block/mount-root.sh: clear fsckoptions
15 years ago
Harald Hoyer
2cbcbd7532
AUTHORS: update
15 years ago
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.
15 years ago
Harald Hoyer
cd7ee4913d
busybox/check: disable module by default and check for busybox binary
15 years ago
Andrey Borzenkov
856285aa90
resume: merge uswsusp module into resume
...
uswsusp almost completely duplicates resume; merge them.
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
15 years ago
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>
15 years ago
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>
15 years ago
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.
15 years ago
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>
15 years ago
Harald Hoyer
498a131239
Makefile: use xhtml instead of xhtml-1_1 for the docbook.xsl
15 years ago
Harald Hoyer
9840eaade6
rootfs-block/install: install e2fsck for slackware
15 years ago
Harald Hoyer
f8fcc56ed9
dm/install: install dmeventd, only if present
15 years ago
Harald Hoyer
1c290032a4
dracut.spec: bump release
15 years ago
Harald Hoyer
1fbe575888
base/init: removed scsi_wait_scan hack
15 years ago
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
15 years ago
Harald Hoyer
67bde9f067
bootchart/install: create tmpfs directory
15 years ago
Harald Hoyer
921f4b5b52
base/init: fixed " typo
15 years ago
Harald Hoyer
7853bbfa7d
base/init: do not clean RD_* environment variables
15 years ago
Harald Hoyer
c79517b4d9
base/init: fixed indention
15 years ago
Harald Hoyer
5e1898fa5a
base/init: only mknod /dev/null, if it does not exist yet
15 years ago
Harald Hoyer
11a2ab6228
base/init: merge mkdir calls
15 years ago
Harald Hoyer
c56e44a63a
rootfs-block/mount-root.sh: fixed fsck "-a" option
15 years ago
Harald Hoyer
3871942d13
rootfs-block:mount-root.sh add fsck
15 years ago
Harald Hoyer
07ecac56da
10i18n/parse-i18n.sh: run console_init directly if /dev/tty0 exists
15 years ago
Harald Hoyer
5ce6642fed
dracut.spec: s#fedora_version#fedora#g and simplified %if checks
15 years ago
Harald Hoyer
fb4ba86f44
dracut.conf.d/suse.conf.example: remove hostonly mode
15 years ago
Harald Hoyer
353ef76019
dracut.spec: dracut-network obsoletes and provides dracut-generic
15 years ago
Harald Hoyer
44b013967a
dracut.spec: add dracut.html to %doc
15 years ago
Harald Hoyer
67c0c1847b
i18n/install: if hostonly install fails, install all files
15 years ago
Harald Hoyer
544de3c87f
i18n/install: s/dwarn/dwarning/
15 years ago
Harald Hoyer
1be365c500
i18n/install: do not error out, if local i18n could not be found
15 years ago
Harald Hoyer
13f91fc78d
i18n/install: cleanup and honor new config files
...
honor local /etc/locale.conf and /etc/vconsole.conf files
15 years ago
Harald Hoyer
256a816c9f
dracut.conf.d/fedora.conf.example: SYSFONT -> FONT
15 years ago
Harald Hoyer
ee6fa3240d
i18n: move to vconfig.* and locale.* namespace
15 years ago
Harald Hoyer
9b79345001
base/init: rd.shell=1 per default
...
to securely lock a machine, the admin has to set rd.shell=0!
15 years ago
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.
15 years ago
Harald Hoyer
577b1fc833
base/init: s/RDTIMESTAMP/RD_TIMESTAMP/g
...
systemd will clear all RD_* env for its children
15 years ago
Harald Hoyer
6ef8e5b4d3
mkdir /dev/.initramfs with "-p"
15 years ago
Harald Hoyer
9bfff3746f
base: send DRACUT_LOG_END to loginit at the end
15 years ago
Harald Hoyer
b2559a8895
TEST-50-MULTINIC/test.sh: only set hdc for no cdrom
15 years ago
Harald Hoyer
51b28ba9c4
test/TEST-*/test.sh: set -serial to null for servers
...
-serial udp might have stalled
15 years ago
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
15 years ago
Harald Hoyer
387bf82e30
test/*/*-init: set PATH
...
/sbin and /usr/sbin are no longer in $PATH
15 years ago
Harald Hoyer
11adeb7c01
dracut-functions:inst_symlink() create target dir
...
if the target directory of the symlink didn't exist, we failed
15 years ago
Vladislav Bogdanov
3afca618da
ifcfg/write-ifcfg.sh: fixes typos and generated ifcfg files
15 years ago
Harald Hoyer
2c1f37d45c
base/init: fix for /sbin/init being an absolute softlink
15 years ago
Harald Hoyer
fa7ada31d0
new parameter option names with "rd.*" namespace
...
Renamed Options
Here is a list of options, which were used in dracut prior to
version 008, and their new replacement.
rdbreak
rd.break
rd_CCW
rd.ccw
rdcopystate
rd.copystate
rd_DASD_MOD
rd.dasd_mod.dasd
rd_DASD
rd.dasd
rdinitdebug rdnetdebug
rd.debug
rd_NO_DM
rd.dm=0
rd_DM_UUID
rd.dm.uuid
rdblacklist
rd.driver.blacklist
rdinsmodpost
rd.driver.post
rdloaddriver
rd.driver.pre
rd_NO_FSTAB
rd.fstab=0
rdinfo
rd.info
check
rd.live.check
rdlivedebug
rd.live.debug
live_dir
rd.live.dir
liveimg
rd.live.image
overlay
rd.live.overlay
readonly_overlay
rd.live.overlay.readonly
reset_overlay
rd.live.overlay.reset
live_ram
rd.live.ram
rd_NO_CRYPTTAB
rd.luks.crypttab=0
rd_LUKS_KEYDEV_UUID
rd.luks.keydev.uuid
rd_LUKS_KEYPATH
rd.luks.keypath
rd_NO_LUKS
rd.luks=0
rd_LUKS_UUID
rd.luks.uuid
rd_LUKS_UUID
rd.luks.uuid
rd_NO_LVMCONF
rd.lvm.conf
rd_LVM_LV
rd.lvm.lv
rd_NO_LVM
rd.lvm=0
rd_LVM_SNAPSHOT
rd.lvm.snapshot
rd_LVM_SNAPSIZE
rd.lvm.snapsize
rd_LVM_VG
rd.lvm.vg
rd_NO_MDADMCONF
rd.md.conf=0
rd_NO_MDIMSM
rd.md.imsm=0
rd_NO_MD
rd.md=0
rd_MD_UUID
rd.md.uuid
rd_NFS_DOMAIN
rd.nfs.domain
rd_NO_PLYMOUTH
rd.plymouth=0
rd_retry
rd.retry
rdshell
rd.shell
rd_NO_SPLASH
rd.splash
rdudevdebug
rd.udev.debug
rdudevinfo
rd.udev.info
rd_NO_ZFCPCONF
rd.zfcp.conf=0
rd_ZFCP
rd.zfcp
15 years ago