Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
11 years ago
Harald Hoyer
8bcfd683bd
*/module-setup.sh: add comments for dracut called functions
12 years ago
Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
12 years ago
Harald Hoyer
41eba87b32
dracut_need_initqueue
12 years ago
Harald Hoyer
68e7661ca7
deprecate old command line options
13 years ago
Harald Hoyer
53fe81e752
modules.d/*/module-setup.sh: combine and specify type for installs
...
To speedup image creation, combine dracut_install calls and specify the exact type.
E.g. inst_script instead of the generic inst.
13 years ago
Jon Ander Hernandez
c9143a63fe
Debian multiarch support
...
Another solution could be searching in directories found at
/etc/ld.so.conf.d/*.conf or adding a new parameter. Here is a patch
which adds a new --libdirs parameter, and also a new inst_libdir_file
function which will try to expand metacharacters on each lib
directory:
inst_libdir_file "libdevmapper-event-lvm*.so"
13 years ago
Harald Hoyer
56ac6c7e76
move all file removal cleanups to "cleanup" hook
13 years ago
Harald Hoyer
29b10e65b1
dracut-functions: make local vars local and prefix with "_"
14 years ago
Harald Hoyer
3b403b32fc
removed trailing whitespaces
14 years ago
Harald Hoyer
fb59f4c967
get rid of absolute PATHs
14 years ago
Harald Hoyer
d125a47061
mkdir always with -m 0755
14 years ago
Amadeusz Żołnowski
d1ef3951f3
modules.d: logging functions adjusted to dracut-logger
14 years ago
Harald Hoyer
c9f1e3d1f4
check for getarg() function before sourcing dracut-lib.sh
...
make use of "type getarg" to check, if we really need to source
dracut-lib.sh
14 years ago
Harald Hoyer
29cfd6c80b
syslog: fixed warn() and dwarning() calls
14 years ago
Harald Hoyer
71df3c4329
renamed module-info.sh to module-setup.sh
14 years ago
Harald Hoyer
95d2dabc25
replaced check,install,installkernel with module-info.sh
14 years ago
Harald Hoyer
fa7ada31d0
new parameter option names with "rd.*" namespace
...
Renamed Options
Here is a list of options, which were used in dracut prior to
version 008, and their new replacement.
rdbreak
rd.break
rd_CCW
rd.ccw
rdcopystate
rd.copystate
rd_DASD_MOD
rd.dasd_mod.dasd
rd_DASD
rd.dasd
rdinitdebug rdnetdebug
rd.debug
rd_NO_DM
rd.dm=0
rd_DM_UUID
rd.dm.uuid
rdblacklist
rd.driver.blacklist
rdinsmodpost
rd.driver.post
rdloaddriver
rd.driver.pre
rd_NO_FSTAB
rd.fstab=0
rdinfo
rd.info
check
rd.live.check
rdlivedebug
rd.live.debug
live_dir
rd.live.dir
liveimg
rd.live.image
overlay
rd.live.overlay
readonly_overlay
rd.live.overlay.readonly
reset_overlay
rd.live.overlay.reset
live_ram
rd.live.ram
rd_NO_CRYPTTAB
rd.luks.crypttab=0
rd_LUKS_KEYDEV_UUID
rd.luks.keydev.uuid
rd_LUKS_KEYPATH
rd.luks.keypath
rd_NO_LUKS
rd.luks=0
rd_LUKS_UUID
rd.luks.uuid
rd_LUKS_UUID
rd.luks.uuid
rd_NO_LVMCONF
rd.lvm.conf
rd_LVM_LV
rd.lvm.lv
rd_NO_LVM
rd.lvm=0
rd_LVM_SNAPSHOT
rd.lvm.snapshot
rd_LVM_SNAPSIZE
rd.lvm.snapsize
rd_LVM_VG
rd.lvm.vg
rd_NO_MDADMCONF
rd.md.conf=0
rd_NO_MDIMSM
rd.md.imsm=0
rd_NO_MD
rd.md=0
rd_MD_UUID
rd.md.uuid
rd_NFS_DOMAIN
rd.nfs.domain
rd_NO_PLYMOUTH
rd.plymouth=0
rd_retry
rd.retry
rdshell
rd.shell
rd_NO_SPLASH
rd.splash
rdudevdebug
rd.udev.debug
rdudevinfo
rd.udev.info
rd_NO_ZFCPCONF
rd.zfcp.conf=0
rd_ZFCP
rd.zfcp
15 years ago
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
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
Amadeusz Żołnowski
f3af7bd66b
use 'type' built-in instead of external cmd 'which' in every Bash script
15 years ago
Harald Hoyer
e54a84113e
get rid of rdnetdebug
...
set PS4 and output to /dev/initlog.pipe
15 years ago
Philippe Seewer
7ce55fd6b7
syslog-genrules.sh: Shebang should be /bin/sh not /bin/dash
15 years ago
Harald Hoyer
187d04ccb0
syslog: use initqueue to start syslog
16 years ago
Harald Hoyer
d41f7ae750
rsyslogd-start.sh: read correct filters file
16 years ago
Marc Grimme
e15bc1f330
Syslog support for dracut
...
This module provides syslog functionality in the initrd.
This is especially interesting when complex configuration being
used to provide access to the device the rootfs resides on.
When this module is installed into the ramfs it is triggered by
the udev event from the nic being setup (online).
Then if syslog is configured it is started and will forward all
kernel messages to the given syslog server.
The syslog implementation is detected automatically by finding the
apropriate binary with the following order:
rsyslogd
syslogd
syslog-ng
Then if detected the syslog.conf is generated and syslog is started.
Bootparameters:
syslogserver=ip Where to syslog to
sysloglevel=level What level has to be logged
syslogtype=rsyslog|syslog|syslogng
Don't auto detect syslog but set it
16 years ago