Victor Lowther
e4191d353f
[PATCH 11/50] Quote variable expansion where needed.
...
Otherwise, spaces in some filenames may make things interesting some fine day.
16 years ago
Victor Lowther
c8937ec4a7
[PATCH 10/50] Clean up initialization in dracut.
...
The source keyword is deprecated, and kernel / outfile are more legible as
conditional lists.
16 years ago
Victor Lowther
b368a5f3bb
[PATCH 09/50] Compact option processing.
...
Most of the options are one-liners, and the shift can be factored out of
the case expression entirely.
16 years ago
Victor Lowther
70c26b7fce
[PATCH 08/50] Don't load commands into the initrd that are built in to bash.
...
No sense in loading commands that will never be used.
16 years ago
Victor Lowther
8b691309de
[PATCH 07/50] Get rid of `` subprocess expansion when killing udevd.
...
$() subprocess expansion is so much easier to read.
16 years ago
Victor Lowther
39b4c02111
[PATCH 06/50] Bashify results testing for selinux policy loading
16 years ago
Victor Lowther
e0bb3c3613
[PATCH 05/50] Rewrite the mount loop using bash-specific features.
...
This makes the loop slightly more compact and easier to read.
16 years ago
Victor Lowther
f9a0b9f868
[PATCH 04/50] Modify root cmdline parsing to use a case statement.
...
This code takes less space and is easier to read at a glance.
16 years ago
Victor Lowther
9f99d479b3
[PATCH 03/50] Use getarg to get the root kernel commandline parameter.
16 years ago
Victor Lowther
047891955e
[PATCH 02/50] Add a simple getarg function.
...
If we ever need to get more than one kernel command line argument, this
function will pay for itself. It relies on a feature of the way bash
handles string comparisons in [[ ]] statements -- the RHS is matched
according to globbing rules, and is not a straight string match.
16 years ago
Victor Lowther
09f9fec00c
[PATCH 01/50] We have a path. Do not specify full paths to commands that are in it.
16 years ago
Jeremy Katz
dd1ae3a105
Slightly more reasonable timeout
16 years ago
Jeremy Katz
c58bf1b1f2
Also rescan after each new lvm2 member appears so we can find all devs
16 years ago
Jeremy Katz
e47d25ffb8
Don't use deprecated git-* commands
16 years ago
Jeremy Katz
ce1d00e166
Import volume info here too (noticed by wtogami with root-on-crypt-lv)
16 years ago
Bill Nottingham
09bab2aa8e
Go to an emergency shell if mounting the root filesystem fails.
16 years ago
Bill Nottingham
2064166d84
Fix 'root=LABEL=/'
...
As you can't have /dev/disk/by-label//, we need to escape the '/'
character in the same way that udev does.
16 years ago
Bill Nottingham
a019b9531f
Fix tense.
16 years ago
Jeremy Katz
549e53a4ee
Now that module dependencies work, we don't have to list as much
16 years ago
Jeremy Katz
a1119a718d
Fix module dependency handling
...
Module dependency handling wasn't being followed correctly; fix it
16 years ago
Jeremy Katz
6eedcafc37
Clean up noise from eu-readelf
16 years ago
Jeremy Katz
aabc0553b5
Add first pass of keyboard/console font setup
...
First pass of keyboard/console font setup. This ends up being Fedora/RHEL
specific as everyone specifies these things in a different place
16 years ago
Jeremy Katz
dd19241084
Fix typo with local mode installing switch_root
16 years ago
Jeremy Katz
55ca5f4f14
Update the documentation a bit for current status
16 years ago
Jeremy Katz
654568b39e
Basic support for loading SELinux from the initramfs
16 years ago
Jeremy Katz
0d666d610a
Stop depending on nash to find the program interpreter; use eu-readelf instead
16 years ago
Jeremy Katz
38672ee8b4
Add a spec file for rpm building
16 years ago
Jeremy Katz
ee67b75f1e
Handle rules.d being from the installed location
16 years ago
Jeremy Katz
4f25a3b9c0
Fedora calls --allow-missing as an arg to mkinitrd; noop it
16 years ago
Jeremy Katz
5533709cdb
plymouth calls set_verbose(), no noop it
16 years ago
Jeremy Katz
c0815e4e42
Fix shebang at the top of the file
16 years ago
Jeremy Katz
533cd7781a
Add a makefile
16 years ago
Jeremy Katz
5c481d345f
Make using the version from the current directory explicit
...
Rather than looking at the contents of the current directory always, require
explicitly specifying --local to use those files
16 years ago
Jeremy Katz
ab81170e59
Handle locations where we'll be installing files
...
Handle that files will be in different places once installed
16 years ago
Jeremy Katz
641cc35629
Make the generator start to be functional on a "real" system
...
Start to pull in modules from the system rather than the crude hack of
everything in a tree and explicitly list some classes of modules
including what's needed for dm-crypt
With this, I am now running a dracut initramfs on my laptop
16 years ago
Jeremy Katz
04b56f3a01
Add some basic functions used for the initramfs
...
Add some functions used by the initramfs generator from Fedora's mkinitrd with
bits and pieces stripped out. This needs a closer look to ensure that we're
not bringing along any other old baggage
16 years ago
Jeremy Katz
aec3529511
rstrode built a new plymouth with the changes, so we can drop that make install
16 years ago
Jeremy Katz
26eb9b952e
Move generator to be called 'dracut'
16 years ago
Jeremy Katz
7f70392f4b
let mount auto-determine the fs type
16 years ago
Jeremy Katz
1cdc7175f7
Now called dracut; add info about the mailing list
16 years ago
Jeremy Katz
4a3acd3b7b
Add pointer to Peter's switchroot
16 years ago
Jeremy Katz
78ad9ceb56
Update the README and add some docs for TODO and HACKING
16 years ago
Jeremy Katz
ed16343e66
Sleep forever instead of exiting so you can scroll back
16 years ago
Jeremy Katz
7e1bf3845f
Don't run udevsettle; instead, we keep looking for the rootfs
16 years ago
Jeremy Katz
b8bdba2104
Cut down to only creating the nodes that plymouth actually needs
16 years ago
Jeremy Katz
ca377f5294
Bump timeout to five minutes since people could be using encrypted root
16 years ago
Jeremy Katz
eb25ff7a27
Support root on LUKS (dm-crypt)
...
Support having root on LUKS with the password prompting handled by plymouth.
This requires ensuring our input is from /dev/console and also requires that
we import vol_id info about all block devices rather than ignoring dm devs
(which is what the persistent storage rules do by default)
16 years ago
Jeremy Katz
f39a104630
Add some modules
...
dm-crypt support requires that we have some modules, so add some basic
support for copying over a module tree for testing
16 years ago
Jeremy Katz
0c70846e5d
Add plymouth support
...
Add basic support for the use of plymouth in the new initrd world. Also
includes a hack at the moment to install from a local plymouth tree to make
testing easier
16 years ago
Jeremy Katz
ca9f625917
Some debugging helpers
...
Install terminfo files so that less is useful. Also, timeout mounting
the rootfs so that we can debug better
16 years ago