Amadeusz Żołnowski
fa5cd2bf50
dracut: lib and usr/lib dirs detection
...
First we check if $libdir and $usrlibdir vars are already set in config
file. If not we perform simple detect. Vars are exported - to be useful
in module/check scripts.
2010-08-23 11:54:09 +02:00
Amadeusz Żołnowski
1ad309fbc6
60xen: use 'hash' instead of 'type'
2010-08-23 11:54:09 +02:00
Amadeusz Żołnowski
f3af7bd66b
use 'type' built-in instead of external cmd 'which' in every Bash script
2010-08-23 11:54:09 +02:00
Victor Lowther
5fce1ef0c9
Add a PKGBUILD file to make building on Arch Linux from a git checkout easy.
...
This might come in handy for anyone else trying out dracut on Arch.
2010-08-23 11:51:35 +02:00
Victor Lowther
85ab21a6e0
We are precise about hostonly checking these days.
...
So get rid of the comment in 90crypt/check.
Also do a bit of trivial bashification.
2010-08-23 11:51:35 +02:00
Victor Lowther
1de37e808c
Trivial bashification of 00dash/install
2010-08-23 11:51:35 +02:00
Victor Lowther
b2ff4317f1
Trivial bashification and minor code rearrangement for initramfs compression.
2010-08-23 11:51:35 +02:00
Victor Lowther
690396a5b1
Prettify the option setting loop in dracut.
...
THis just makes the args line up all nice and pretty.
2010-08-23 11:51:34 +02:00
Victor Lowther
5bc545ed79
Bashify mkinitrd-dracut.sh, introduce read_arg.
...
Hack up argument processing in dracut and mkinitrd-dracut.sh to use
read_arg to flexibly process arguments.
2010-08-23 11:51:34 +02:00
Victor Lowther
644c5241d2
Bashify error() and usage() in mkinitrd-dracut.sh
...
Some more trivial bashification.
2010-08-23 11:51:34 +02:00
Victor Lowther
937f678ef6
Just test the status of the cpio-and-compress pipe directly.
2010-08-23 11:51:34 +02:00
Victor Lowther
5b158ad3a9
Add support for bzip2 and xz compressed initramfs images.
...
Current kernels know how to uncompress bzip2 and xz, so use them for compressing
the initramfs if asked. The more compression the merrier.
Also add support for generating uncompressed images, although they
are usually not what you want.
2010-08-23 11:51:34 +02:00
Victor Lowther
afbeadb9da
We have $UID, use it instead of $(id -u)
...
No point in spawning a command and parsing its output when the UID
is already in the environment.
2010-08-23 11:51:34 +02:00
Victor Lowther
8a4745694b
Flatten our check to ensure that depmod works.
...
No need for a nested if here.
2010-08-23 11:51:34 +02:00
Victor Lowther
ebfdb219c6
Shorten permission checking to ensure we can actually write our initramfs.
...
These tests can be combined into an if... elif... elif... statement, and
that makes it clear they are all part of the same test.
2010-08-23 11:51:34 +02:00
Victor Lowther
6438b4fedf
Bashify the code that actually sources out config files.
...
Just some trivial bashification.
2010-08-23 11:51:33 +02:00
Victor Lowther
eebc929abb
Clean up some conditional checking when trying to find our config files.
...
No point in checking the same condition twice when compound commands will do.
2010-08-23 11:51:33 +02:00
Victor Lowther
0e4fee3d5a
Get rid of unneeded dirname calls.
...
Use parameter expansion instead.
2010-08-23 11:51:33 +02:00
Victor Lowther
3478b3146f
Trivial cleanups in dracut-functions
...
This is a patch series I have been playing with for awhile.
It cleans up some of the dracut code and adds a PKGBUILD file to make
it easier to use in Arch Linux.
2010-08-23 11:51:33 +02:00
Harald Hoyer
cfa5a0da6d
plymouth: udev trigger with action=add
2010-08-13 11:26:34 +02:00
Harald Hoyer
c033d96e49
version inc
2010-08-09 16:28:38 +02:00
Harald Hoyer
59a232ddcd
version 007
2010-08-09 16:13:51 +02:00
Harald Hoyer
01816f2bb1
NEWS: update for 007
2010-08-09 16:13:50 +02:00
Harald Hoyer
0d86614794
dracut.spec: add dracut.kernel man page
2010-08-09 16:13:45 +02:00
Harald Hoyer
8821f4109e
dracut.spec: build require docbook tools
2010-08-09 16:11:22 +02:00
Harald Hoyer
783721b34b
dracut.spec: remove gentoo specific modules
2010-08-09 16:06:50 +02:00
Harald Hoyer
f6c76abe8e
dracut.spec s/bootchartd/bootchart
2010-08-09 16:03:47 +02:00
Harald Hoyer
41bad60c82
dracut.spec: install fedora.conf.example
2010-08-09 16:01:48 +02:00
Harald Hoyer
9c7f67a94d
crypt: depend on dm
2010-08-09 13:24:08 +02:00
Amadeusz Żołnowski
26df1299cb
add module gensplash
2010-08-09 13:10:04 +02:00
Amadeusz Żołnowski
1f03abefad
10i18n: --quiet for loadkeys
2010-08-09 13:10:04 +02:00
Harald Hoyer
f2db681002
plymouth: load dm_crypt module
2010-08-09 13:09:13 +02:00
Harald Hoyer
5bb59e428f
Makefile: install dracut.kernel.7
2010-08-06 18:15:51 +02:00
Harald Hoyer
a1ef436531
AUTHORS update
2010-08-06 16:06:06 +02:00
Harald Hoyer
c865ecbf32
manpage update
2010-08-06 15:38:52 +02:00
Harald Hoyer
2576bec68f
manpage update
2010-08-06 15:32:08 +02:00
Harald Hoyer
7c1796860f
dracut: add --fstab, to ignore /proc/self/mountinfo
2010-08-06 13:54:34 +02:00
Harald Hoyer
d350ae6966
manpage xml: changed DTD to docbook 4.5
2010-08-06 13:53:24 +02:00
Amadeusz Żołnowski
9b3d462b68
dracut.kernel.7.xml: updated I18N and LUKS sections
...
10i18n/README: typo corrected
2010-08-06 13:36:13 +02:00
Amadeusz Żołnowski
5150d44a7e
Makefile: use $(MAKE) and $(RM) instead of make and rm -f
...
See: http://www.gnu.org/software/make/manual/make.html#MAKE-Variable
2010-08-06 11:53:02 +02:00
Harald Hoyer
30cd3616e9
fedora.conf moved back to fedora.conf.example
2010-08-06 11:47:39 +02:00
Harald Hoyer
609d00c467
manpages: changed to UTF-8
2010-08-06 11:46:39 +02:00
Harald Hoyer
27e15000d0
manpages: add note, that host-only mode does not work in chroot()
2010-08-05 19:13:16 +02:00
Harald Hoyer
029f2691f8
dracut-functions: use /proc/self/mountinfo, instead of /proc/mounts
...
1. it's easier to get the major:minor
2. it's more failsafe in a chroot() (rescue CD case)
2010-08-05 18:59:51 +02:00
Andrey Borzenkov
0493f9c849
Fix ahci detection in kernel 2.6.35
...
Kernel 2.6.35 (may be, earlier) split ahci into libahci.ko and ahci.ko
and added ahci_platform.ko. As a result, drivers ahci and ahci_platform
do not contain any symbol that are checked for storage modules (it is
libahci.ko that references ata_scsi_ioctl now). So add additional
symbol ahci_init_controller; it seems this is expected to be called by
every driver based on libahci.ko.
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
2010-08-05 18:16:37 +02:00
Harald Hoyer
3eccdb5289
manpage corrections
2010-08-05 18:12:38 +02:00
Harald Hoyer
17cb0e3fe8
dracut: let --fwdir be specified multiple times
2010-08-05 18:12:08 +02:00
Harald Hoyer
cdc8d9c403
documentation: moved to docbook man pages
2010-08-05 16:38:49 +02:00
Harald Hoyer
719cc30626
fips: udev trigger with action=add
2010-08-05 08:47:17 +02:00
Amadeusz Żołnowski
0ca3a5ee84
add option --ignore-kernel-modules
...
Instead of adding modprobe and rmmod, create symlinks to /bin/true to
don't produce unnecessary errors. Anyway it's a workaround for
following desired behaviour: modprobe tries to insert module only if
it's not built into kernel
2010-08-04 18:30:03 +02:00