platform/upstream/dracut.git
15 years agoWe now know how to configure the network interfaces.
Victor Lowther [Thu, 26 Feb 2009 02:42:05 +0000 (18:42 -0800)]
We now know how to configure the network interfaces.

Provided that you are configuring them via DHCP. RARP, BOOTP, and static
configuration are not written yet.

Also, adding nic drivers really bloats the initrd.

I am looking for feedback on these patches from people who actually implement
booting over the network.  This patch series does not include support for that
yet -- you will not find nfsroot= handling, or booting to a fs supplied by
dhcp yet.  I do want to make it as easy as possible to add support for booting
over the network, as well as making it easy for people to customize things to
meet their site requirements.

This patch series is also available as the network-configurability branch at
http://git.fnordovax.org/dracut.  It may be rebased without warning to keep
it in sync with the rest of dracut.

15 years agoAdd some predefined break points.
Victor Lowther [Thu, 26 Feb 2009 02:32:46 +0000 (18:32 -0800)]
Add some predefined break points.

We now have a breakpoint just before each of the hook invocations, and one
just before we switch to the real root.

15 years agoTrim out device nodes we do not have to actually create.
Victor Lowther [Thu, 26 Feb 2009 02:32:43 +0000 (18:32 -0800)]
Trim out device nodes we do not have to actually create.

If plymouth needs more, it can add them back in the hooks.

15 years agoModify getarg to be slightly more useful.
Victor Lowther [Thu, 26 Feb 2009 02:32:40 +0000 (18:32 -0800)]
Modify getarg to be slightly more useful.

If the last character in the argument to search for is "=", then
getarg will echo all the text after the = as well as returning 0 or 1 depending
on whether or not the arg is found.
Otherwise, getarg will jsut return 0 if the exact test of the argument is found,
1 otherwise.

15 years agoMove actually mounting the root filesystem into its own series of hooks.
Victor Lowther [Thu, 26 Feb 2009 02:32:36 +0000 (18:32 -0800)]
Move actually mounting the root filesystem into its own series of hooks.

We now have mount hooks.  They are sourced in an infinite loop until one of
them actually mounts the real root filesystem.

This makes it easier to add support for arbitrarily complex schemes to find
the root filesystem without having to patch the init script.

This patch series is also avaialble ass the hookify-finding-root branch at
http://git.fnordovax.org/dracut

15 years agocryptsetup does not like running in a while read loop.
Victor Lowther [Sun, 22 Feb 2009 06:22:36 +0000 (00:22 -0600)]
cryptsetup does not like running in a while read loop.

Add some additional manglage to ensure that stdin/stdout is always pointing
the right thing.  A more elegant way of doing this would be much appreciated

15 years agoMake cryptroot handling act as a real producer/consumer.
Victor Lowther [Sat, 21 Feb 2009 16:24:39 +0000 (08:24 -0800)]
Make cryptroot handling act as a real producer/consumer.

This should handle the case of having more than one encrypted
block device on the system as best we can right now.

15 years agoSupport rootflags and rootfstype kernel parameters.
Victor Lowther [Sat, 21 Feb 2009 16:24:35 +0000 (08:24 -0800)]
Support rootflags and rootfstype kernel parameters.

This also folds in support for ro and rw flags.

15 years agoWe now support mounting the rootfs rw.
Victor Lowther [Sat, 21 Feb 2009 16:24:30 +0000 (08:24 -0800)]
We now support mounting the rootfs rw.

15 years agoWe now support the noresume kernel parameter.
Victor Lowther [Sat, 21 Feb 2009 16:24:25 +0000 (08:24 -0800)]
We now support the noresume kernel parameter.

15 years agotiny fixup to getarg to make handling more arguments slightly easier
Victor Lowther [Sat, 21 Feb 2009 16:24:20 +0000 (08:24 -0800)]
tiny fixup to getarg to make handling more arguments slightly easier

This patch series adds support for some common mount arguments that have to be
handled in the initramfs.

It is also available at
http://git.fnordovax.org/dracut/log/?h=handle-more-parameters

15 years agoMake exec failure not kill init or switch_root.
Victor Lowther [Fri, 20 Feb 2009 17:24:26 +0000 (09:24 -0800)]
Make exec failure not kill init or switch_root.

If exec fails, then the shell will die unless the next command
is part of a command list. So, exec $whatever || onoes is the way to go

There are also some minor cleanups that were leftovers from splitting
out switch_root in its current form.

15 years agoHooks and modules have a .sh extension
Victor Lowther [Fri, 20 Feb 2009 17:24:18 +0000 (09:24 -0800)]
Hooks and modules have a .sh extension

This makes it trivial to filter out temporary files, editor backups,
package management leftovers, etc.  Thanks, Kay for the idea.

15 years agoFix typo in hook installation.
Dave Jones [Wed, 18 Feb 2009 18:00:59 +0000 (13:00 -0500)]
Fix typo in hook installation.

Spotted by Fatih Aşıcı <fatih@pardus.org.tr>

15 years agoGoodbye, nash. We won't miss you.
Victor Lowther [Tue, 17 Feb 2009 03:16:31 +0000 (19:16 -0800)]
Goodbye, nash.  We won't miss you.

This supercedes my previous switch_root patches, and applies on top of davej's
repo at git.kernel.org.

Nash is gone.  In its place we have a reasonable switch_root implementation.

Of course, this switch_root is written in some rather hideous shell script,
and relies on some rather dodgy hacks.  Rewriting in C would help things out.

However, it should be distro-independent, and it gets the job done.

15 years ago[PATCH 50/50] Some documentation updates
Victor Lowther [Fri, 13 Feb 2009 12:43:31 +0000 (04:43 -0800)]
[PATCH 50/50] Some documentation updates

15 years ago[PATCH 49/50] Modify hook loading to make it slightly easier to script.
Victor Lowther [Fri, 13 Feb 2009 12:43:29 +0000 (04:43 -0800)]
[PATCH 49/50] Modify hook loading to make it slightly easier to script.

Modules are now responsible for loading their hooks into the initrd.

This should be all the structure we need to make it easy for things
to integrate with dracut -- now to document and test it all.

15 years ago[PATCH 48/50] Shift some functionality around, make modules maskable.
Victor Lowther [Fri, 13 Feb 2009 12:43:26 +0000 (04:43 -0800)]
[PATCH 48/50] Shift some functionality around, make modules maskable.

Most of our functionality is now in scripts that we source rather than in the
main dracut script.

15 years ago[PATCH 47/50] Split out the various things we load into their own modules.
Victor Lowther [Fri, 13 Feb 2009 12:43:24 +0000 (04:43 -0800)]
[PATCH 47/50] Split out the various things we load into their own modules.

This should make it easier for distros to customize things according to
their preferences.

15 years ago[PATCH 46/50] fixed library-matching regex
Victor Lowther [Fri, 13 Feb 2009 12:43:21 +0000 (04:43 -0800)]
[PATCH 46/50] fixed library-matching regex

Forgot about /lib64

15 years ago[PATCH 45/50] Really die if a library is not found.
Victor Lowther [Fri, 13 Feb 2009 12:43:19 +0000 (04:43 -0800)]
[PATCH 45/50] Really die if a library is not found.

Also explain how to find it.

15 years ago[PATCH 44/50] Get rid of echoer script
Victor Lowther [Fri, 13 Feb 2009 12:43:16 +0000 (04:43 -0800)]
[PATCH 44/50] Get rid of echoer script

We can use sh -c to accomplish the same goal

Also move cat back on to the list of debugging tools -- all the files we were
using it on in the initrd can use read to accomplish the same goal.

15 years ago[PATCH 43/50] Use ldd to find shared library deps.
Victor Lowther [Fri, 13 Feb 2009 12:43:14 +0000 (04:43 -0800)]
[PATCH 43/50] Use ldd to find shared library deps.

This replaces the eu-readelf and ld-linux.so.2 hackery.

As a bonus it will keep working if we (for some bizzare reason) need
to load a non-elf executable or shared library on the initrd.

15 years ago[PATCH 42/50] Add very basic module functionality to dracut.
Victor Lowther [Fri, 13 Feb 2009 12:43:12 +0000 (04:43 -0800)]
[PATCH 42/50] Add very basic module functionality to dracut.

Move the i18n stuff to it.

15 years ago[PATCH 41/50] dracut will now search for files in the usual binary locations if a
Victor Lowther [Fri, 13 Feb 2009 12:43:09 +0000 (04:43 -0800)]
[PATCH 41/50] dracut will now search for files in the usual binary locations if a

15 years ago[PATCH 40/50] Rearranged dracut script to make it easier to split things out for
Victor Lowther [Fri, 13 Feb 2009 12:43:07 +0000 (04:43 -0800)]
[PATCH 40/50] Rearranged dracut script to make it easier to split things out for

15 years ago[PATCH 39/50] Prefer /bin/dash as /bin/sh on the initrd if it is available.
Victor Lowther [Fri, 13 Feb 2009 12:43:04 +0000 (04:43 -0800)]
[PATCH 39/50] Prefer /bin/dash as /bin/sh on the initrd if it is available.

This is mainly for testing purposes -- if something non-POSIX is added to the
on initrd scripts, dash will die horribly.

15 years ago[PATCH 38/50] Missed some non-POSIX substitution in root filesystem label parsing.
Victor Lowther [Fri, 13 Feb 2009 12:43:02 +0000 (04:43 -0800)]
[PATCH 38/50] Missed some non-POSIX substitution in root filesystem label parsing.

15 years ago[PATCH 37/50] Try to install file as scripts before installing them as binaries
Victor Lowther [Fri, 13 Feb 2009 12:42:59 +0000 (04:42 -0800)]
[PATCH 37/50] Try to install file as scripts before installing them as binaries

This ensures that scripts will ahve their interpreter isntalled before
they get installed.

Also included a minor fixup that skips library checking if the binary
we are testing is already installed.

15 years ago[PATCH 36/50] Move cat into the list of required executables
Victor Lowther [Fri, 13 Feb 2009 12:42:57 +0000 (04:42 -0800)]
[PATCH 36/50] Move cat into the list of required executables

15 years ago[PATCH 35/50] POSIX-ize all the shell scripts that get installed to the initramfs.
Victor Lowther [Fri, 13 Feb 2009 12:42:55 +0000 (04:42 -0800)]
[PATCH 35/50] POSIX-ize all the shell scripts that get installed to the initramfs.

Also install all the scripts using inst, so that we can install the right
shell interpreter for our scripts.  We still install bash as well.

15 years ago[PATCH 34/50] Use inst to install hooks.
Victor Lowther [Fri, 13 Feb 2009 12:42:52 +0000 (04:42 -0800)]
[PATCH 34/50] Use inst to install hooks.

This will ensure that pathname mangling is handled correctly, and that
whatever interpreter is handling /bin/sh is installed as /bin/sh

15 years ago[PATCH 33/50] We now have a simple hook structure and 3 defined hook points.
Victor Lowther [Fri, 13 Feb 2009 12:42:50 +0000 (04:42 -0800)]
[PATCH 33/50] We now have a simple hook structure and 3 defined hook points.

Any script placed in /pre-udev will be sourced just before udev starts
device scanning and loading.

Any script placed in /pre-mount will be sourced just before we try to
mount a root filesystem.

Any script placed in /pre-pivot will be sourced just before we switch to the
new root filesystem.

These hooks should be the minimum needed to add back plymouth and deal with
more advanced filesysem mounting needs (multipath, iscsi, nfs, nbd, etc.)

15 years ago[PATCH 32/50] Created pre-mount hook directory
Victor Lowther [Fri, 13 Feb 2009 12:42:48 +0000 (04:42 -0800)]
[PATCH 32/50] Created pre-mount hook directory

This is for tasks that should run after device discovery, but before
mounting the new rootfs.  Things like cryptoroot and resume from hibernate
should go here.

Hooks are sourced, not executed as separate scripts.

15 years ago[PATCH 31/50] We no longer require plymouth. Remove it from the spec.
Victor Lowther [Fri, 13 Feb 2009 12:42:45 +0000 (04:42 -0800)]
[PATCH 31/50] We no longer require plymouth.  Remove it from the spec.

15 years ago[PATCH 30/50] We no longer need plymouth.
Victor Lowther [Fri, 13 Feb 2009 12:42:43 +0000 (04:42 -0800)]
[PATCH 30/50] We no longer need plymouth.

init will ask for a passphrase directly if an encrypted root is detected.

Also, use udevadm settle with a 30 second timeout instead of a hardcoded
30 count loop.

15 years ago[PATCH 29/50] Add echoer script
Victor Lowther [Fri, 13 Feb 2009 12:42:40 +0000 (04:42 -0800)]
[PATCH 29/50] Add echoer script

15 years ago[PATCH 28/50] Remove dependency on plymouth for getroot, pass 1.
Victor Lowther [Fri, 13 Feb 2009 12:42:38 +0000 (04:42 -0800)]
[PATCH 28/50] Remove dependency on plymouth for getroot, pass 1.

15 years ago[PATCH 27/50] Don't leave cruft behind in /tmp
Victor Lowther [Fri, 13 Feb 2009 12:42:36 +0000 (04:42 -0800)]
[PATCH 27/50] Don't leave cruft behind in /tmp

15 years ago[PATCH 26/50] Make init less noisy and load fs modules for all mounted filesystems
Victor Lowther [Fri, 13 Feb 2009 12:42:33 +0000 (04:42 -0800)]
[PATCH 26/50] Make init less noisy and load fs modules for all mounted filesystems

15 years ago[PATCH 25/50] Add dmesg to the list of debugging tools
Victor Lowther [Fri, 13 Feb 2009 12:42:31 +0000 (04:42 -0800)]
[PATCH 25/50] Add dmesg to the list of debugging tools

15 years ago[PATCH 24/50] Replace inst function with a family of specialized functions
Victor Lowther [Fri, 13 Feb 2009 12:42:28 +0000 (04:42 -0800)]
[PATCH 24/50] Replace inst function with a family of specialized functions

This makes things shorter and easier to read.

15 years ago[PATCH 23/50] Rip out old recursive module loading, replace with something simpler
Victor Lowther [Fri, 13 Feb 2009 12:42:25 +0000 (04:42 -0800)]
[PATCH 23/50] Rip out old recursive module loading, replace with something simpler

bash allows unlimited recursion and several other tricks to make
finding all the dependencies of a kernel module much simpler.

This nukes about 130 lines, most of it in dracut-functions.

This diff also touches some cleanups made in the inst function.

15 years ago[PATCH 22/50] Bashify inst function where ot makes things easier to read.
Victor Lowther [Fri, 13 Feb 2009 12:42:22 +0000 (04:42 -0800)]
[PATCH 22/50] Bashify inst function where ot makes things easier to read.

15 years ago[PATCH 21/50] Simplified get_dso_deps
Victor Lowther [Fri, 13 Feb 2009 12:42:20 +0000 (04:42 -0800)]
[PATCH 21/50] Simplified get_dso_deps

This takes advantage of several bash specific constructs to make
get_dso_deps easier to read and understand.

15 years ago[PATCH 20/50] set_verbose is not used anywhere. Buh-bye.
Victor Lowther [Fri, 13 Feb 2009 12:42:18 +0000 (04:42 -0800)]
[PATCH 20/50] set_verbose is not used anywhere.  Buh-bye.

15 years ago[PATCH 19/50] The function keyword is deprecated. Get rid of it.
Victor Lowther [Fri, 13 Feb 2009 12:42:15 +0000 (04:42 -0800)]
[PATCH 19/50] The function keyword is deprecated.  Get rid of it.

15 years ago[PATCH 18/50] outfile processing can fit all on one line, so make it.
Victor Lowther [Fri, 13 Feb 2009 12:42:13 +0000 (04:42 -0800)]
[PATCH 18/50] outfile processing can fit all on one line, so make it.

15 years ago[PATCH 17/50] Tighten up the font installation case statement as well.
Victor Lowther [Fri, 13 Feb 2009 12:42:11 +0000 (04:42 -0800)]
[PATCH 17/50] Tighten up the font installation case statement as well.

15 years ago[PATCH 16/50] $MNTIMAGE? I thought the install dir was $initdir.
Victor Lowther [Fri, 13 Feb 2009 12:42:08 +0000 (04:42 -0800)]
[PATCH 16/50] $MNTIMAGE?  I thought the install dir was $initdir.

15 years ago[PATCH 15/50] Tighten up the keymap installation case statement in dracut.
Victor Lowther [Fri, 13 Feb 2009 12:42:06 +0000 (04:42 -0800)]
[PATCH 15/50] Tighten up the keymap installation case statement in dracut.

15 years ago[PATCH 14/50] Tighten up conditional checking a bit more.
Victor Lowther [Fri, 13 Feb 2009 12:42:04 +0000 (04:42 -0800)]
[PATCH 14/50] Tighten up conditional checking a bit more.

Use bash-style conditionals where ever it makes things shorter
and easier to read.

15 years ago[PATCH 13/50] Missed an instance of $initdir not being quoted.
Victor Lowther [Fri, 13 Feb 2009 12:42:02 +0000 (04:42 -0800)]
[PATCH 13/50] Missed an instance of $initdir not being quoted.

15 years ago[PATCH 12/50] Get rid of some redundancy when sourcing our functions.
Victor Lowther [Fri, 13 Feb 2009 12:41:59 +0000 (04:41 -0800)]
[PATCH 12/50] Get rid of some redundancy when sourcing our functions.

15 years ago[PATCH 11/50] Quote variable expansion where needed.
Victor Lowther [Fri, 13 Feb 2009 12:41:57 +0000 (04:41 -0800)]
[PATCH 11/50] Quote variable expansion where needed.

Otherwise, spaces in some filenames may make things interesting some fine day.

15 years ago[PATCH 10/50] Clean up initialization in dracut.
Victor Lowther [Fri, 13 Feb 2009 12:41:54 +0000 (04:41 -0800)]
[PATCH 10/50] Clean up initialization in dracut.

The source keyword is deprecated, and kernel / outfile are more legible as
conditional lists.

15 years ago[PATCH 09/50] Compact option processing.
Victor Lowther [Fri, 13 Feb 2009 12:41:52 +0000 (04:41 -0800)]
[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.

15 years ago[PATCH 08/50] Don't load commands into the initrd that are built in to bash.
Victor Lowther [Fri, 13 Feb 2009 12:41:50 +0000 (04:41 -0800)]
[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.

15 years ago[PATCH 07/50] Get rid of `` subprocess expansion when killing udevd.
Victor Lowther [Fri, 13 Feb 2009 12:41:47 +0000 (04:41 -0800)]
[PATCH 07/50] Get rid of `` subprocess expansion when killing udevd.

$() subprocess expansion is so much easier to read.

15 years ago[PATCH 06/50] Bashify results testing for selinux policy loading
Victor Lowther [Fri, 13 Feb 2009 12:41:45 +0000 (04:41 -0800)]
[PATCH 06/50] Bashify results testing for selinux policy loading

15 years ago[PATCH 05/50] Rewrite the mount loop using bash-specific features.
Victor Lowther [Fri, 13 Feb 2009 12:41:42 +0000 (04:41 -0800)]
[PATCH 05/50] Rewrite the mount loop using bash-specific features.

This makes the loop slightly more compact and easier to read.

15 years ago[PATCH 04/50] Modify root cmdline parsing to use a case statement.
Victor Lowther [Fri, 13 Feb 2009 12:41:40 +0000 (04:41 -0800)]
[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.

15 years ago[PATCH 03/50] Use getarg to get the root kernel commandline parameter.
Victor Lowther [Fri, 13 Feb 2009 12:41:38 +0000 (04:41 -0800)]
[PATCH 03/50] Use getarg to get the root kernel commandline parameter.

15 years ago[PATCH 02/50] Add a simple getarg function.
Victor Lowther [Fri, 13 Feb 2009 12:41:32 +0000 (04:41 -0800)]
[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.

15 years ago[PATCH 01/50] We have a path. Do not specify full paths to commands that are in it.
Victor Lowther [Fri, 13 Feb 2009 12:41:29 +0000 (04:41 -0800)]
[PATCH 01/50] We have a path.  Do not specify full paths to commands that are in it.

15 years agoSlightly more reasonable timeout
Jeremy Katz [Mon, 19 Jan 2009 21:00:24 +0000 (16:00 -0500)]
Slightly more reasonable timeout

15 years agoAlso rescan after each new lvm2 member appears so we can find all devs
Jeremy Katz [Mon, 19 Jan 2009 20:57:34 +0000 (15:57 -0500)]
Also rescan after each new lvm2 member appears so we can find all devs

15 years agoDon't use deprecated git-* commands
Jeremy Katz [Mon, 19 Jan 2009 20:57:18 +0000 (15:57 -0500)]
Don't use deprecated git-* commands

15 years agoImport volume info here too (noticed by wtogami with root-on-crypt-lv)
Jeremy Katz [Mon, 19 Jan 2009 18:57:09 +0000 (13:57 -0500)]
Import volume info here too (noticed by wtogami with root-on-crypt-lv)

15 years agoGo to an emergency shell if mounting the root filesystem fails.
Bill Nottingham [Sat, 10 Jan 2009 19:59:13 +0000 (14:59 -0500)]
Go to an emergency shell if mounting the root filesystem fails.

15 years agoFix 'root=LABEL=/'
Bill Nottingham [Sat, 10 Jan 2009 19:59:11 +0000 (14:59 -0500)]
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.

15 years agoFix tense.
Bill Nottingham [Sat, 10 Jan 2009 19:59:12 +0000 (14:59 -0500)]
Fix tense.

15 years agoNow that module dependencies work, we don't have to list as much
Jeremy Katz [Mon, 5 Jan 2009 20:50:00 +0000 (15:50 -0500)]
Now that module dependencies work, we don't have to list as much

15 years agoFix module dependency handling
Jeremy Katz [Mon, 5 Jan 2009 20:45:39 +0000 (15:45 -0500)]
Fix module dependency handling

Module dependency handling wasn't being followed correctly; fix it

15 years agoClean up noise from eu-readelf
Jeremy Katz [Mon, 5 Jan 2009 20:42:56 +0000 (15:42 -0500)]
Clean up noise from eu-readelf

15 years agoAdd first pass of keyboard/console font setup
Jeremy Katz [Mon, 5 Jan 2009 19:40:34 +0000 (14:40 -0500)]
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

15 years agoFix typo with local mode installing switch_root
Jeremy Katz [Mon, 5 Jan 2009 19:39:35 +0000 (14:39 -0500)]
Fix typo with local mode installing switch_root

15 years agoUpdate the documentation a bit for current status
Jeremy Katz [Mon, 5 Jan 2009 18:24:46 +0000 (13:24 -0500)]
Update the documentation a bit for current status

15 years agoBasic support for loading SELinux from the initramfs
Jeremy Katz [Mon, 5 Jan 2009 18:16:39 +0000 (13:16 -0500)]
Basic support for loading SELinux from the initramfs

15 years agoStop depending on nash to find the program interpreter; use eu-readelf instead
Jeremy Katz [Mon, 5 Jan 2009 17:46:39 +0000 (12:46 -0500)]
Stop depending on nash to find the program interpreter; use eu-readelf instead

15 years agoAdd a spec file for rpm building
Jeremy Katz [Fri, 19 Dec 2008 19:44:38 +0000 (14:44 -0500)]
Add a spec file for rpm building

15 years agoHandle rules.d being from the installed location
Jeremy Katz [Fri, 19 Dec 2008 19:43:46 +0000 (14:43 -0500)]
Handle rules.d being from the installed location

15 years agoFedora calls --allow-missing as an arg to mkinitrd; noop it
Jeremy Katz [Fri, 19 Dec 2008 19:43:30 +0000 (14:43 -0500)]
Fedora calls --allow-missing as an arg to mkinitrd; noop it

15 years agoplymouth calls set_verbose(), no noop it
Jeremy Katz [Fri, 19 Dec 2008 19:43:06 +0000 (14:43 -0500)]
plymouth calls set_verbose(), no noop it

15 years agoFix shebang at the top of the file
Jeremy Katz [Thu, 18 Dec 2008 20:59:55 +0000 (15:59 -0500)]
Fix shebang at the top of the file

15 years agoAdd a makefile
Jeremy Katz [Thu, 18 Dec 2008 20:58:15 +0000 (15:58 -0500)]
Add a makefile

15 years agoMake using the version from the current directory explicit
Jeremy Katz [Thu, 18 Dec 2008 20:57:47 +0000 (15:57 -0500)]
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

15 years agoHandle locations where we'll be installing files
Jeremy Katz [Thu, 18 Dec 2008 20:55:28 +0000 (15:55 -0500)]
Handle locations where we'll be installing files

Handle that files will be in different places once installed

15 years agoMake the generator start to be functional on a "real" system
Jeremy Katz [Wed, 17 Dec 2008 22:51:15 +0000 (17:51 -0500)]
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

15 years agoAdd some basic functions used for the initramfs
Jeremy Katz [Wed, 17 Dec 2008 21:57:43 +0000 (16:57 -0500)]
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

15 years agorstrode built a new plymouth with the changes, so we can drop that make install
Jeremy Katz [Wed, 17 Dec 2008 21:56:51 +0000 (16:56 -0500)]
rstrode built a new plymouth with the changes, so we can drop that make install

15 years agoMove generator to be called 'dracut'
Jeremy Katz [Wed, 17 Dec 2008 21:56:28 +0000 (16:56 -0500)]
Move generator to be called 'dracut'

15 years agolet mount auto-determine the fs type
Jeremy Katz [Wed, 17 Dec 2008 19:55:20 +0000 (14:55 -0500)]
let mount auto-determine the fs type

15 years agoNow called dracut; add info about the mailing list
Jeremy Katz [Wed, 17 Dec 2008 18:16:12 +0000 (13:16 -0500)]
Now called dracut; add info about the mailing list

15 years agoAdd pointer to Peter's switchroot
Jeremy Katz [Wed, 17 Dec 2008 18:15:55 +0000 (13:15 -0500)]
Add pointer to Peter's switchroot

15 years agoUpdate the README and add some docs for TODO and HACKING
Jeremy Katz [Tue, 16 Dec 2008 22:24:59 +0000 (17:24 -0500)]
Update the README and add some docs for TODO and HACKING

15 years agoSleep forever instead of exiting so you can scroll back
Jeremy Katz [Tue, 16 Dec 2008 21:56:28 +0000 (16:56 -0500)]
Sleep forever instead of exiting so you can scroll back

15 years agoDon't run udevsettle; instead, we keep looking for the rootfs
Jeremy Katz [Tue, 16 Dec 2008 19:29:43 +0000 (14:29 -0500)]
Don't run udevsettle; instead, we keep looking for the rootfs

15 years agoCut down to only creating the nodes that plymouth actually needs
Jeremy Katz [Tue, 16 Dec 2008 19:29:07 +0000 (14:29 -0500)]
Cut down to only creating the nodes that plymouth actually needs

15 years agoBump timeout to five minutes since people could be using encrypted root
Jeremy Katz [Tue, 16 Dec 2008 19:25:06 +0000 (14:25 -0500)]
Bump timeout to five minutes since people could be using encrypted root