Harald Hoyer
9b30d4793d
base/init: do not lazy umount /run
2011-05-20 15:17:32 +02:00
Harald Hoyer
dd483f4f42
base/init: mkdir non-existant dirs
2011-05-20 15:17:32 +02:00
Harald Hoyer
543f39cb52
base/init: save timestamp earlier and remove /sys mount duplicate
2011-05-20 15:17:32 +02:00
Harald Hoyer
4826b9b0d5
base/init: mkdir $NEWROOT, if it does not exist
2011-05-20 15:17:32 +02:00
Harald Hoyer
683db19a7d
base/module-setup.sh: only mkdir /lib, if it does not exist
2011-05-20 15:17:31 +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
6a0b3ccf4e
busybox: install busybox to /usr/bin
2011-05-20 15:17:31 +02:00
Harald Hoyer
b938443e2f
lsinitrd: handle new output of "file" for XZ compressed images
2011-05-20 15:17:31 +02:00
Harald Hoyer
7db18ccd13
dracut-functions: change search path for find_binary
2011-05-20 15:17:31 +02:00
Harald Hoyer
c3b0d83ddf
dracut-functions: handle symlinked directories
2011-05-20 14:04:57 +02:00
Harald Hoyer
785a6cd21c
dracut: handle toplevel symlinks
2011-05-20 14:03:50 +02:00
Harald Hoyer
6f22336784
dracut: s/bzip/bzip2
2011-05-20 14:02:35 +02:00
Harald Hoyer
3da7836035
dracut: fix overlayfs paths
2011-05-20 13:00:46 +02:00
Harald Hoyer
23b28c0ab5
lvm/lvm_scan.sh: remove references to lvm-cleanup
...
lvm-cleanup was removed long time ago
2011-05-17 12:29:47 +02:00
Will Woods
7573ac58f2
Fix "can't shift that many" crash with empty /proc/cmdline
...
If /proc/cmdline is empty (like if root=... is set in /etc/cmdline),
modules.d/99base/init will crash with a message saying "can't shift that
many" right before switch_root. The problem is in the block of code that
tries to look for init args. It does something like:
read CMDLINE </proc/cmdline
[...]
set $CMDLINE
shift
If CMDLINE="" then "set $CMDLINE" will dump all the variables to stdout.
(That should be "set -- $CMDLINE" instead.) Since there's no $1, the
"shift" causes an error, and dracut crashes.
The 'shift' was copy-and-pasted from the previous block. It doesn't
belong here; remove it.
[Harald Hoyer <harald@redhat.com>: corrected commit message]
[Harald Hoyer <harald@redhat.com>: fixed indention]
Signed-off-by: Will Woods <wwoods@redhat.com>
2011-05-17 10:29:48 +02:00
Harald Hoyer
6787b8ccee
dracut: set TMPDIR to /var/tmp
...
we really don't want anything else than /var/tmp for our operations.
/tmp might be too small and any other location might not fit our needs.
2011-05-16 18:10:27 +02:00
Harald Hoyer
00dd4db5d2
dracut.spec: add crypt-gpg module
2011-05-12 17:17:47 +02:00
Harald Hoyer
7417574cdb
cut.conf.d/fedora.conf.example: removed filename in comment
2011-05-12 16:42:25 +02:00
Alan Pevec
f7c05c5514
dmsquash-live/dmsquash-live-root: add missing changes for /run
...
Change to /run/initramfs/squashfs/ was not complete.
2011-05-12 14:28:04 +02:00
Harald Hoyer
29b10e65b1
dracut-functions: make local vars local and prefix with "_"
2011-05-12 11:06:47 +02:00
Harald Hoyer
982e78234c
TODO: update
2011-05-12 11:06:47 +02:00
Harald Hoyer
c09a9932b8
README: s/initrd/initramfs
2011-05-12 11:06:46 +02:00
Amadeusz Żołnowski
7aa622cd14
dracut.conf: explain dracutmodules option better
2011-05-12 11:06:46 +02:00
Amadeusz Żołnowski
37b73a235a
dracut.kernel.7: crypto LUKS - info about gpg-encrypted keys
2011-05-12 11:04:56 +02:00
Harald Hoyer
beb015706b
dracut-lib.sh: warn, even if "quiet" is set
2011-05-11 20:19:13 +02:00
Michal Soltys
6e43debe67
dracut-functions: remove find_rule()
...
Not used anymore.
Signed-off-by: Michal Soltys <soltys@ziu.info>
2011-05-10 14:46:06 +02:00
Michal Soltys
09a19bb1ba
dracut-functions: update inst_binary()
...
This update adds support for sort-of corner case - when explicitly
specified binary (e.g. through dracut_install or inst) is a library
itself.
In such case, we would expect the binary to undergo typical
library-related handling (symlinks and such).
Apart from that, the patch cleans indenting and a few unused variables
in inst_binary() (probably leftovers from the past ?)
Signed-off-by: Michal Soltys <soltys@ziu.info>
2011-05-10 14:46:06 +02:00
Harald Hoyer
0279111026
documentation: update TODO and links
2011-05-10 14:13:58 +02:00
Harald Hoyer
f58c3ccf44
TODO: updated
2011-05-10 12:03:49 +02:00
Harald Hoyer
3b403b32fc
removed trailing whitespaces
2011-05-10 11:56:09 +02:00
Harald Hoyer
e2cdb570ae
dracut-functions: only dinfo() about missing firmware files
...
People are scared about those messages, so only dwarn() if the module
is actually loaded on the system.
2011-05-10 11:31:45 +02:00
Harald Hoyer
9a5393ac7e
dracut: use /var/tmp rather than /tmp for the initramfs creation
...
/tmp might be to small to hold the initramfs image
2011-05-10 10:59:18 +02:00
Harald Hoyer
da5f8554a4
ifcfg/write-ifcfg.sh: do not source net.*.override, if it doesn't exist
2011-05-10 10:55:48 +02:00
Amadeusz Żołnowski
ba902275d5
new module - 91crypt-gpg
...
It's an extension to 90crypt module. Adds support for GPG-encrypted
keys (symmetrically, of course). Module is optional.
2011-05-06 12:23:52 +02:00
Amadeusz Żołnowski
3909d7edfc
crypt: functions for ask-for-password and reading key
...
Asking for password and reading key parts are moved to separate
functions in crypt-lib.sh: ask_for_password and readkey.
2011-05-06 12:23:52 +02:00
Amadeusz Żołnowski
2f95d699dc
crypt-lib.sh: 'command -v' preferred over 'type'
2011-05-06 12:23:51 +02:00
Amadeusz Żołnowski
d04de5fdd0
.gitignore: ignore dracut.html, dracut.conf.d/*.conf files, test.log
2011-05-06 12:23:50 +02:00
Amadeusz Żołnowski
f584c502a6
.gitignore: cleanup (prefix paths with /, remove unnecessary)
...
*~ should be globally ignored anyway. Paths were prefix with / to be
strict.
2011-05-06 12:23:49 +02:00
Harald Hoyer
3cf14ae1ae
parse-kernel.sh: wrong index was used in for loop
...
Thanks Mike Snitzer <msnitzer@redhat.com>
2011-05-06 12:06:20 +02:00
Harald Hoyer
7c18802966
iscsi: find iscsi kernel modules by symbol names
2011-05-04 10:19:02 +02:00
Harald Hoyer
424ecce632
plymouth/gensplash: reset tty after plymouth messed with it
2011-05-03 14:49:45 +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
44110df25a
base/init: remove double nosuid from devtmpfs mount line
2011-05-03 09:59:15 +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
Harald Hoyer
a7ee1cd7f6
test/TEST-13-ENC-RAID-LVM: double test root disk space
2011-05-03 09:59:14 +02:00
Harald Hoyer
c3f7567a65
dracut.kernel.7.xml: clarify iscsi_firmware parameter usage
2011-05-02 11:33:05 +02:00
Harald Hoyer
ba7457ee00
network/parse-ip-opts.sh: fix ifname for ibft with all args
2011-05-02 11:30:29 +02:00
Harald Hoyer
7b069d5ea7
network/net-genrules.sh: also honor rename events
2011-05-02 11:29:58 +02:00
Marian Ganisin
c34130f705
don't overwrite ifname=
...
[Harald Hoyer <harald@redhat.com>: replaced grep with strstr]
[Harald Hoyer <harald@redhat.com>: handle multiple ifname= arguments]
2011-05-02 11:28:29 +02:00