Harald Hoyer
87af1cba3c
50plymouth/plymouth-pretrigger.sh: respect primary console setting
...
The kernel's primary console device is determined by the last "console="
argument on the kernel command line. This setting should be respected by
dracut-generated initial RAM disks.
Steps to Reproduce:
(Easiest using a KVM VM, virt-manager and "virsh console")
1. Boot with a kernel command line ending in
console=tty0 console=ttyS0,115200
2. Observe both tty0 and ttyS0.
The output of init scripts is sent to ttyS0, as the final "console="
argument determines the primary console device as per
Documentation/serial-console.txt in the kernel sources.
https://bugzilla.redhat.com/show_bug.cgi?id=752073
13 years ago
Harald Hoyer
a3381af1de
50plymouth: add plymouth.enable kernel command line option
14 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
424ecce632
plymouth/gensplash: reset tty after plymouth messed with it
14 years ago
Harald Hoyer
c99014d5ef
console_init/plymouth: use systemd-vconsole, if available
...
also init the console before starting the plymouth daemon
14 years ago
Harald Hoyer
d125a47061
mkdir always with -m 0755
14 years ago
Harald Hoyer
8ee30d09a4
plymouth: use /run/plymouth/pid instead of /run/initramfs/plymouth
14 years ago
Harald Hoyer
7931bf0420
plymouth gensplash: check for console_init before calling it
...
Thanks Jon Ander Hernandez!
14 years ago
Harald Hoyer
19f3a804e7
s#/dev/.run#/run#g
...
Move things where they really belong to.
14 years ago
Harald Hoyer
b177e9133e
move all /dev/.initramfs to /dev/.run/initramfs
...
We want all "/var/run" information to live in /dev/.run, until the real
root is mounted.
Therefore we mount a tmpfs on /dev/.run, which can/will be bind/move mounted
on /var/run later on.
14 years ago
Harald Hoyer
8ce58f1f42
add missing shebang
14 years ago
Harald Hoyer
1cedde0681
plymouth: touch /dev/.systemd/plymouth
...
until plymouth does it itsself, touch /dev/.systemd/plymouth
https://bugzilla.redhat.com/show_bug.cgi?id=676302
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
Lubomir Rintel
ae202ef02e
Search in for KMS-capable drivers in extra/ as well
...
User can have an out-of-tree video driver supporting KMS installed;
Intel GMA500 drivers from RPM Fusion are one example of such module.
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
Harald Hoyer
cc02093d69
reformat source code
...
removed tabs and set indention to 4 spaces
added emacs and vi format headers
15 years ago
Harald Hoyer
a79f11d254
plymouth: do not create hvc0
...
must have been a copy&paste error
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
f3af7bd66b
use 'type' built-in instead of external cmd 'which' in every Bash script
15 years ago
Harald Hoyer
cfa5a0da6d
plymouth: udev trigger with action=add
15 years ago
Harald Hoyer
f2db681002
plymouth: load dm_crypt module
15 years ago
Harald Hoyer
e001359311
mknod with mode and set umask for the rest
15 years ago
Harald Hoyer
ed61aae141
cryptroot-ask: s/getargs rd_NO_CRYPTTAB/getarg rd_NO_CRYPTTAB/g
15 years ago
Harald Hoyer
013986a8ad
crypt: assemble 70-luks.rules dynamically
15 years ago
Harald Hoyer
5cae1fe179
plymouth: depend on crypt, if cryptsetup exists
15 years ago
Harald Hoyer
08e10f05f6
plymouth/cryptroot-ask.sh: beautify password prompt
15 years ago
Harald Hoyer
b6a7c09070
chmod 0755 *.sh
15 years ago
Harald Hoyer
a8ca68a91e
plymouth/plymouth-populate-initrd: get rid of awk
15 years ago
Harald Hoyer
5be225d299
use "grep" directly without "nm" to drop binutils requirement
15 years ago
Harald Hoyer
d7a272a95e
plymouth: only display luksname and device for multiple luks
...
https://bugzilla.redhat.com/show_bug.cgi?id=561092
15 years ago
Harald Hoyer
bb2200ffca
cryptroot-ask.sh: fixed luks handling
...
see https://bugzilla.redhat.com/show_bug.cgi?id=530898#c16
15 years ago
Harald Hoyer
0a19e31886
plymouth-pretrigger: force initializing of console (bug #526570 )
15 years ago
Harald Hoyer
2c2e3ad860
cryptroot-ask.sh: s/==/=/g (bug #542081 )
15 years ago
Harald Hoyer
394f30d8d4
crypt: ignore devices in /etc/crypttab (root is not in there)
16 years ago
Harald Hoyer
349bac4214
crypt: install /etc/crypttab and honor crypttab entries
16 years ago
Harald Hoyer
c3844cbf4a
crypt: refix rd_LUKS_UUID handling
...
https://bugzilla.redhat.com/show_bug.cgi?id=533177
16 years ago
Harald Hoyer
8aa36728f5
plymouth: suppress "find" errors
16 years ago
Harald Hoyer
b94c520660
plymouth: add rd_NO_PLYMOUTH
16 years ago
Harald Hoyer
1888e57bf9
plymouth: grep for PLYMOUTH_POPULATE_SOURCE_FUNCTIONS
16 years ago
Harald Hoyer
8c45b484ce
plymouth: removed rd_plytheme
16 years ago
Harald Hoyer
650da7bada
removed initrdargs from parse-*.sh
16 years ago
Harald Hoyer
f9749f368f
plymouth: use /usr/libexec/plymouth/plymouth-populate-initrd if possible
16 years ago
Harald Hoyer
b809e77f54
plymouth: in the generic case, only install text and details themes
16 years ago
Harald Hoyer
5c6a593f2e
add udevsettle function and settle after raid/lvm/crypto activities
16 years ago
Harald Hoyer
ed2de829e1
cryptroot-ask.sh: fix rd_LUKS_UUID handling
16 years ago
Harald Hoyer
ed6220fd25
plymouth: make the daemon attach to the session/terminal
...
https://bugzilla.redhat.com/show_bug.cgi?id=516104
it can be so simple :-)
16 years ago
Harald Hoyer
3714170f33
plymouth-populate-initrd: do not install label.so
...
https://bugzilla.redhat.com/show_bug.cgi?id=515589
It ends up installing the label.so control plugin which isn't supposed
to get installed into the initrd. this makes cairo and libX11 and all sorts of
things move into the initrd that aren't supposed to.
16 years ago