Commit Graph

216 Commits (016)

Author SHA1 Message Date
Victor Lowther 7d18dca5c1 [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.
2009-02-16 13:56:42 -05:00
Victor Lowther 1513676235 [PATCH 42/50] Add very basic module functionality to dracut.
Move the i18n stuff to it.
2009-02-16 13:56:42 -05:00
Victor Lowther 3359c8da84 [PATCH 41/50] dracut will now search for files in the usual binary locations if a 2009-02-16 13:56:42 -05:00
Victor Lowther 8c1faa35c4 [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.
2009-02-16 13:56:42 -05:00
Victor Lowther 36b24d7c53 [PATCH 24/50] Replace inst function with a family of specialized functions
This makes things shorter and easier to read.
2009-02-16 13:56:41 -05:00
Victor Lowther 6fa0c3d60b [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.
2009-02-16 13:56:41 -05:00
Victor Lowther 170b260bd9 [PATCH 22/50] Bashify inst function where ot makes things easier to read. 2009-02-16 13:56:41 -05:00
Victor Lowther 8667f2b733 [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.
2009-02-16 13:56:41 -05:00
Victor Lowther 375a5b4084 [PATCH 20/50] set_verbose is not used anywhere. Buh-bye. 2009-02-16 13:56:41 -05:00
Victor Lowther 6b24de99d9 [PATCH 19/50] The function keyword is deprecated. Get rid of it. 2009-02-16 13:56:41 -05:00
Jeremy Katz a1119a718d Fix module dependency handling
Module dependency handling wasn't being followed correctly; fix it
2009-01-05 15:45:39 -05:00
Jeremy Katz 6eedcafc37 Clean up noise from eu-readelf 2009-01-05 15:42:56 -05:00
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
2009-01-05 14:40:34 -05:00
Jeremy Katz 0d666d610a Stop depending on nash to find the program interpreter; use eu-readelf instead 2009-01-05 12:47:36 -05:00
Jeremy Katz 5533709cdb plymouth calls set_verbose(), no noop it 2008-12-19 14:43:06 -05:00
Jeremy Katz ab81170e59 Handle locations where we'll be installing files
Handle that files will be in different places once installed
2008-12-18 15:55:28 -05:00