Peter Jones
9346982f22
Be sure and get the right architecture for rsylogd modules.
...
I've tested this locally on 64-bit with:
dracut -a syslog -f -v foo.img `uname -r`
And I see this in the output:
I: *** Sourcing module syslog
I: Installing /sbin/rsyslogd
I: Installing /lib64/rsyslog/lmnet.so
I: Installing /lib64/rsyslog/imklog.so
I: Installing /lib64/rsyslog/imuxsock.so
I: Installing /usr/share/dracut/modules.d/98syslog/parse-syslog-opts.sh
I: Installing /usr/share/dracut/modules.d/98syslog/syslog-genrules.sh
I: Installing /usr/share/dracut/modules.d/98syslog/syslog-cleanup.sh
I: Installing /usr/share/dracut/modules.d/98syslog/rsyslogd-start.sh
I: Installing /usr/share/dracut/modules.d/98syslog/rsyslogd-stop.sh
I: Installing /usr/share/dracut/modules.d/98syslog/rsyslog.conf
15 years ago
Harald Hoyer
48d2199e94
nfs/install: fixed s/LIBDIR/libdir
15 years ago
Harald Hoyer
f8bc899063
reformat source
...
untabified
15 years ago
Harald Hoyer
cc02093d69
reformat source code
...
removed tabs and set indention to 4 spaces
added emacs and vi format headers
15 years ago
Glen Gray
d95d2f3b44
update rsyslog plugin paths
...
rsyslog's plugin paths moved, so correct for them.
15 years ago
Harald Hoyer
a79f11d254
plymouth: do not create hvc0
...
must have been a copy&paste error
15 years ago
Andrey Borzenkov
89fb4162e3
mkinitrd-dracut.sh: fix stray "fi"
...
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
15 years ago
Harald Hoyer
dab1a1dc99
dmraid: switch to rd_NO_MDIMSM, if no mdadm installed
15 years ago
Andrey Borzenkov
4c77612245
bootchart module cleanup
...
- create /lib/bootchart in initramfs, not in live filesystem
- use proper dracut API to install files
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
15 years ago
Harald Hoyer
5acc508cae
fixed "use $libdir and $usrlibdir instead of ..."
15 years ago
Harald Hoyer
f844e7dc8f
manpage corrections
15 years ago
Harald Hoyer
620d031534
NEWS: fixed typo
15 years ago
Harald Hoyer
e4e3b4c821
mkinitrd: do not call dracut in host only mode
15 years ago
Harald Hoyer
094d9cae63
dm: install all md/dm* kernel modules
15 years ago
Harald Hoyer
eaa62cd541
dracut: fixed "Add support for bzip2 and xz"
...
s/xz/lzma/g and added manpage documentation
15 years ago
Harald Hoyer
ae24b1146b
dracut: fixed "Clean up some conditional checking..."
15 years ago
Harald Hoyer
0a325a917d
dracut: fixed "Shorten permission checking..."
15 years ago
Matt Smith
7254c24a76
Merged cryptroot-ask.sh from plymouth to crypt module.
...
First, it's duplicate code.
Second, it did not allow those who had plymouth installed to use other
methods, like the new usb key file. When building the initram,
it would install the plymouth cryptroot-ask script, and not
the crypt module one.
Added these new items to crypt module's cryptroot-ask.sh:
- 'unset' for used variables
- udevsettle
The non-plymouth cryptsetup prompt was using $1 instead of $device.
Changed prompt number from 1 to 5, as this is much nicer.
I believe plymouth already does infinite prompts.
Also added unset for usb key. Just saw it didn't unset its vars.
15 years ago
Amadeusz Żołnowski
55309e7800
use $libdir and $usrlibdir instead of individual detect with ldd
15 years ago
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.
15 years ago
Amadeusz Żołnowski
1ad309fbc6
60xen: use 'hash' instead of 'type'
15 years ago
Amadeusz Żołnowski
f3af7bd66b
use 'type' built-in instead of external cmd 'which' in every Bash script
15 years ago
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.
15 years ago
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.
15 years ago
Victor Lowther
1de37e808c
Trivial bashification of 00dash/install
15 years ago
Victor Lowther
b2ff4317f1
Trivial bashification and minor code rearrangement for initramfs compression.
15 years ago
Victor Lowther
690396a5b1
Prettify the option setting loop in dracut.
...
THis just makes the args line up all nice and pretty.
15 years ago
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.
15 years ago
Victor Lowther
644c5241d2
Bashify error() and usage() in mkinitrd-dracut.sh
...
Some more trivial bashification.
15 years ago
Victor Lowther
937f678ef6
Just test the status of the cpio-and-compress pipe directly.
15 years ago
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.
15 years ago
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.
15 years ago
Victor Lowther
8a4745694b
Flatten our check to ensure that depmod works.
...
No need for a nested if here.
15 years ago
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.
15 years ago
Victor Lowther
6438b4fedf
Bashify the code that actually sources out config files.
...
Just some trivial bashification.
15 years ago
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.
15 years ago
Victor Lowther
0e4fee3d5a
Get rid of unneeded dirname calls.
...
Use parameter expansion instead.
15 years ago
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.
15 years ago
Harald Hoyer
cfa5a0da6d
plymouth: udev trigger with action=add
15 years ago
Harald Hoyer
c033d96e49
version inc
15 years ago
Harald Hoyer
59a232ddcd
version 007
15 years ago
Harald Hoyer
01816f2bb1
NEWS: update for 007
15 years ago
Harald Hoyer
0d86614794
dracut.spec: add dracut.kernel man page
15 years ago
Harald Hoyer
8821f4109e
dracut.spec: build require docbook tools
15 years ago
Harald Hoyer
783721b34b
dracut.spec: remove gentoo specific modules
15 years ago
Harald Hoyer
f6c76abe8e
dracut.spec s/bootchartd/bootchart
15 years ago
Harald Hoyer
41bad60c82
dracut.spec: install fedora.conf.example
15 years ago
Harald Hoyer
9c7f67a94d
crypt: depend on dm
15 years ago
Amadeusz Żołnowski
26df1299cb
add module gensplash
15 years ago
Amadeusz Żołnowski
1f03abefad
10i18n: --quiet for loadkeys
15 years ago