Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
12 years ago
Harald Hoyer
a229b17434
plymouth/plymouth-pretrigger.sh: fixup of ca2c6936
12 years ago
Harald Hoyer
ca2c693679
Do not call plymouth with full path
12 years ago
Harald Hoyer
7d17d6c976
plymouth: do not install hooks in systemd mode
12 years ago
Dave Young
2258f00e91
split plymouth module
...
Kdump module will need the drm and kms kernel modules so user can see the
emergency shell at least.
Fix this by split 50plymouth module to 50drm and 50plymouth. Moving the
installkernel part to 50drm so user can use drm directly without adding
extra plymouth utils.
Signed-off-by: Dave Young <dyoung@redhat.com>
Tested-by: Chao Wang <chaowang@redhat.com>
12 years ago
Harald Hoyer
4a6b33f1ee
plymouth/plymouth-pretrigger.sh: s/! -n/-z/
13 years ago
Harald Hoyer
540eca9d9d
plymouth/plymouth-pretrigger.sh: don't "exit 0" for a sourced script
13 years ago
Harald Hoyer
19cd47fd26
plymouth/plymouth-newroot.sh: don't "exit 0" for sourced scripts
13 years ago
Harald Hoyer
aefea76cf8
set DRACUT_SYSTEMD for systemd mode in the initramfs
13 years ago
Harald Hoyer
171ba532bc
plymouth/plymouth-newroot.sh: fixed pre-pivot hook
13 years ago
Harald Hoyer
3e51b2f6fc
fixed i18n and plymouth for systemd
13 years ago
Harald Hoyer
c9a81c1f91
plymouth: do not start plymouth via dracut for systemd in the initramfs
13 years ago
Harald Hoyer
68e7661ca7
deprecate old command line options
13 years ago
Harald Hoyer
0028ffac74
plymouth: add plymouth-wait-quit.service to initrd
13 years ago
Colin Guthrie
3c1feedfd1
plymouth: Use latest plymouth's populate script.
...
The latest plymouth no longer relies on dracut to provide functions
needed to install binaries/libs so the check for a variable name
no longer works and the old, built-in script is used instead thus
breaking the new drm and framebuffer plymouth module installation.
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
Harald Hoyer
71947dcb91
plymouth/module-setup.sh:installkernel() fix return code
13 years ago
Harald Hoyer
5bccc94598
no more "mknod" in the initramfs!!
13 years ago
Harald Hoyer
0efc6c716a
plymouth: fixed inst_libdir_file() call
...
https://bugzilla.redhat.com/show_bug.cgi?id=831349
13 years ago
Harald Hoyer
fe1484f3db
modules are now only handled with /sys/modules and modules.dep
...
No more "find" and /proc/modules checking. We now rely entirely on
depmod and modules.dep
13 years ago
Harald Hoyer
d77540c8e4
get rid of libdir and usrlibdir
13 years ago
Harald Hoyer
3734f4ae48
plymouth/plymouth-pretrigger.sh: get consoledev from /sys/class/tty/console/active
13 years ago
Harald Hoyer
65ceb56dd5
plymouth/plymouth-pretrigger.sh: check for tty dev existence
13 years ago
Colin Guthrie
9f630a1889
Do not run plymouth hook if the binary is missing.
...
There is a remove-boot-splash script in Mageia that can
strip plymouth from an initrd. Make this script a noop
if that has happened.
13 years ago
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
13 years ago
Harald Hoyer
dfb08e9f1c
removed now useless cleanup hooks
...
in Fedora 17, we unpack /boot/initramfs-$(uname -r).img
on shutdown for a pivot root to disassemble the root device
13 years ago
Harald Hoyer
56ac6c7e76
move all file removal cleanups to "cleanup" hook
13 years ago
Harald Hoyer
a178ca6b5c
more cleanup in pre-pivot
13 years ago
Harald Hoyer
39339512e2
plymouth/kernel: cleanup not needed parts for shutdown
...
remove plymouth and kernel parts from /run/initramfs, which are not
needed at shutdown.
https://bugzilla.redhat.com/show_bug.cgi?id=751189
13 years ago
James Buren
e38fcc8608
plymouth: add xz support for kernel modules
...
This rewrites a portion of the module to support xz, as well as allow
an easier expansion should future compression methods for kernel
modules ever materialize.
13 years ago
Cong Wang
1b7fd0fa3e
Check module dependencies of mount points
...
Like -H, we need to poll every module to check if it is needed
to mount a specific device in '--mount'.
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
13 years ago
Anssi Hannula
5fae9d9a20
plymouth: Include kms modules even if they are not currently loaded.
...
This should fix initial initrd generation during install.
If the modules are not desired to be used, the nokmsboot kernel
command line should disable them.
13 years ago
Colin Guthrie
7835e1465f
Handle compressed kmods.
...
This was orignally from Mandriva patch: dracut-011-plymouth-compressed-kmod.patch
13 years ago
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