Harald Hoyer
6a877a79c4
dracut-logger.sh: check is journald.socket is active
...
before using systemd-cat, make sure someone is listening
2013-08-28 20:01:54 +02:00
Harald Hoyer
cb73315dd6
resume: debian's resume is in /usr/lib/uswsusp
...
Hurray! Everybody reinvents the wheel!
2013-08-28 10:57:23 +02:00
Harald Hoyer
8552a3270c
dracut-functions.sh:get_devpath_block() make local vars local
2013-08-27 11:34:39 +02:00
Harald Hoyer
281327f72c
dmraid/mdraid: improve hostonly recognition
...
Factor out get_devpath_block(), which also fixes a dmraid hostonly bug.
Also only include dmraid and mdraid, if they are actually in use.
2013-08-26 14:04:56 +02:00
Harald Hoyer
da119ab18c
dmraid/parse-dm.sh: if rd.md=0, use dmraid for imsm and ddf
2013-08-26 12:46:51 +02:00
Harald Hoyer
87bd8907a6
i18n: check for setfont and loadkeys binaries
2013-08-26 10:19:49 +02:00
Harald Hoyer
a242ef13e0
network: move ibft parsing before all other network cmdline parser
...
otherwise the config produced by ibft will not get processed
2013-08-26 10:18:47 +02:00
Harald Hoyer
2b9d8f65a6
dracut-functions.sh:get_persistent_dev() do not check non-existent dirs
2013-08-23 19:04:12 +02:00
Harald Hoyer
ffc68f357e
use ${var:+val} rather than ${var+val}
...
${var:+val} also catches var=""
2013-08-22 11:24:01 +02:00
Harald Hoyer
ace51ef520
dracut-functions.sh:inst_rules() do not install from /etc in generic mode
...
In generic mode, local configuration should not be part of the image.
Also handle symlinks for rule files.
2013-08-22 10:53:43 +02:00
Harald Hoyer
93b02f502e
dracut-functions.sh: use builtin bash functions rather than tr
...
convert uppercase to lowercase using bash syntax
2013-08-22 10:53:25 +02:00
Harald Hoyer
49c062821a
removed freenode.txt
2013-08-22 10:24:15 +02:00
Harald Hoyer
c504d8b435
freenode IRC #dracut verification
2013-08-22 10:14:24 +02:00
Harald Hoyer
39fe00ef60
dracut.asc: document debugging dracut on shutdown
2013-08-22 09:39:38 +02:00
Harald Hoyer
bae44febb5
add dracut.css for dracut.html
2013-08-21 13:15:08 +02:00
Harald Hoyer
5c274467d6
url-lib.sh: handle 0-size files with curl
...
https://bugzilla.redhat.com/show_bug.cgi?id=989133#c9
2013-08-20 16:15:17 +02:00
Harald Hoyer
c82a11334d
dracut-functions.sh: add expand_persistent_dev()
...
also fixes missing '{' for LABEL=... swaps
2013-08-20 16:03:17 +02:00
Harald Hoyer
f34e1d6b0e
network: do not depend on ifcfg
...
rather let ifcfg return 0 if /etc/sysconfig/network-scripts exists
2013-08-20 15:09:33 +02:00
Harald Hoyer
a073aa5a26
dracut-032
2013-08-20 13:08:52 +02:00
Harald Hoyer
575733aa25
add newline to cmdline config files
2013-08-20 13:08:52 +02:00
Harald Hoyer
546d5dacf5
dracut.sh: recognize swap entries in fstab with mountpoint "none"
2013-08-20 12:01:17 +02:00
Harald Hoyer
3411ad661a
add persistent_policy configuration option
2013-08-20 10:28:14 +02:00
Harald Hoyer
a2b64e30b8
dracut.conf.5.asc: correct ro_mnt documentation
2013-08-20 10:27:29 +02:00
Harald Hoyer
50411d30d5
dracut-functions.sh:dracut_module_included() check with spaces
...
check also for surrounding spaces in the module strings
2013-08-20 09:04:20 +02:00
Harald Hoyer
88c86ac7f0
dracut.sh: fixed checking for FIPS mode
2013-08-20 09:02:48 +02:00
WANG Chao
55c912ae40
systemd: pre-pivot hooks runs after /sysroot is mounted
...
If rootflags=nofail, sysroot.mount won't strictly run "Before"
initrd-root-fs.target. So we need to order dracut-pre-pivot after
sysroot.mount.
2013-08-19 15:50:57 +02:00
Daniel Schaal
b7c770e186
dracut.sh: Fix [no-]early-microcode parameter and add documentation.
...
[no-]early-microcode was missing from getopt argument list.
Let arguments passed by command line override config files.
2013-08-19 11:13:04 +02:00
Harald Hoyer
324ea606da
dracut.sh: add --persistent-policy option
...
--persistent-policy <policy>:
Use <policy> to address disks and partitions.
<policy> can be any directory name found in /dev/disk.
E.g. "by-uuid", "by-label"
2013-08-16 11:52:07 +02:00
Harald Hoyer
df478eee75
base/dracut-lib.sh: move warn() definition before usage
2013-08-16 11:00:45 +02:00
Harald Hoyer
8f53670cc5
dracut.spec: correct License string
2013-08-16 11:00:21 +02:00
Harald Hoyer
f071d5574c
dracut.spec: add bash module
2013-08-15 16:24:13 +02:00
Harald Hoyer
1743473b2b
add parameter --print-cmdline
...
This prints the kernel command line parameters for the current disk
layout.
$ dracut --print-cmdline
rd.luks.uuid=luks-e68c8906-6542-4a26-83c4-91b4dd9f0471
rd.lvm.lv=debian/root rd.lvm.lv=debian/usr root=/dev/mapper/debian-root
rootflags=rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered
rootfstype=ext4
2013-08-15 16:06:37 +02:00
Harald Hoyer
0d6d85b494
resurrect TEST-14-IMSM
2013-08-15 16:05:35 +02:00
Harald Hoyer
bbc9bfe16e
dracut-functions.sh: add find_mp_fsopts
2013-08-15 12:23:04 +02:00
Harald Hoyer
466a59984a
dracut-functions.sh: no more 'echo'
2013-08-15 12:22:55 +02:00
Harald Hoyer
8df0b654dc
rootfs-block: search all host_devs for a journal device
2013-08-15 11:14:47 +02:00
Harald Hoyer
97af51db9d
dracut-functions.sh: add find_dev_fsopts()
2013-08-15 11:14:46 +02:00
Harald Hoyer
69f7ed9610
Create initramfs without using udevadm
...
This enables building a hostonly image, without the udev database
populated.
2013-08-15 10:44:20 +02:00
Harald Hoyer
67b4a9ea17
testsuite: fixed network interface names
2013-08-15 10:25:19 +02:00
Harald Hoyer
dc63e65419
dracut.spec: dracut-network requires dhclient
2013-08-15 08:32:38 +02:00
Harald Hoyer
62cdced342
TEST-12-RAID-DEG: enter UUID in crypttab rather than md0
2013-08-14 15:04:05 +02:00
Harald Hoyer
919a7c4d6e
Makefile: do syncheck before creating the archive or rpm
2013-08-14 15:04:05 +02:00
Harald Hoyer
f06c2b5852
dracut-functions.sh: fixed vercmp()
2013-08-14 15:04:05 +02:00
WANG Chao
613ed5cd76
network: also wait for ethernet interfaces to setup
...
We only wait for master interfaces for bridge/bonding/team/vlan case.
If none of these complex network is configured, we should wait for
ethernet interface (bootdev) instead.
2013-08-14 15:04:05 +02:00
Harald Hoyer
3605b48508
shutdown: fixed killall_proc_mountpoint()
2013-08-14 15:04:05 +02:00
Harald Hoyer
4fe1bdd406
dracut-functions.sh: if no libdirs are set, take the ld.so.cache paths
2013-08-14 15:04:05 +02:00
Harald Hoyer
a13bf117d5
crypt: only manually activate systemd-cryptsetup, if not in crypttab
...
Only additional rd.luks.UUID have to be manually activated.
2013-08-13 10:26:29 +02:00
Harald Hoyer
730b9b8b77
crypt/crypt-run-generator: also skip if UUID match in crypttab
2013-08-13 01:20:06 +02:00
Harald Hoyer
5e264a5d3e
add bash module
2013-08-13 00:39:10 +02:00
Harald Hoyer
4baac4b291
crypt/module-setup.sh: use crypttab in hostonly and don't install cmdline
2013-08-13 00:35:10 +02:00