2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/dracut.sh
|
|
|
|
+++ dracut-026_git201303180829/dracut.sh
|
|
|
|
@@ -621,7 +621,7 @@ stdloglvl=$((stdloglvl + verbosity_mod_l
|
2013-01-24 10:28:22 +00:00
|
|
|
[[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l
|
|
|
|
[[ $lvmconf_l ]] && lvmconf=$lvmconf_l
|
|
|
|
[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut
|
|
|
|
-[[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware"
|
|
|
|
+[[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware /lib/firmware/$kernel"
|
|
|
|
[[ $tmpdir_l ]] && tmpdir="$tmpdir_l"
|
|
|
|
[[ $tmpdir ]] || tmpdir=/var/tmp
|
|
|
|
[[ $compress_l ]] && compress=$compress_l
|
2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/modules.d/10i18n/module-setup.sh
|
|
|
|
+++ dracut-026_git201303180829/modules.d/10i18n/module-setup.sh
|
2013-03-12 23:42:15 +00:00
|
|
|
@@ -85,6 +85,8 @@ install() {
|
|
|
|
|
2012-11-05 14:10:11 +00:00
|
|
|
install_base() {
|
|
|
|
dracut_install setfont loadkeys kbd_mode stty
|
|
|
|
+ inst /usr/bin/setfont /bin/setfont
|
|
|
|
+ inst /usr/bin/loadkeys /bin/loadkeys
|
2013-03-12 23:42:15 +00:00
|
|
|
|
|
|
|
if ! dracut_module_included "systemd"; then
|
|
|
|
inst ${moddir}/console_init.sh /lib/udev/console_init
|
2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/modules.d/50plymouth/module-setup.sh
|
|
|
|
+++ dracut-026_git201303180829/modules.d/50plymouth/module-setup.sh
|
2012-11-05 14:10:11 +00:00
|
|
|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
check() {
|
|
|
|
[[ "$mount_needs" ]] && return 1
|
|
|
|
- [[ -x /sbin/plymouthd && -x /bin/plymouth && -x /usr/sbin/plymouth-set-default-theme ]]
|
|
|
|
+ [[ -x /usr/sbin/plymouthd && -x /usr/bin/plymouth && -x /usr/sbin/plymouth-set-default-theme ]]
|
|
|
|
}
|
|
|
|
|
|
|
|
depends() {
|
2013-01-24 10:28:22 +00:00
|
|
|
@@ -12,12 +12,12 @@ depends() {
|
2012-11-05 14:10:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
- if grep -q nash /usr/libexec/plymouth/plymouth-populate-initrd \
|
|
|
|
- || [ ! -x /usr/libexec/plymouth/plymouth-populate-initrd ]; then
|
|
|
|
+ if grep -q nash /usr/lib/plymouth/plymouth-populate-initrd \
|
|
|
|
+ || [ ! -x /usr/lib/plymouth/plymouth-populate-initrd ]; then
|
|
|
|
. "$moddir"/plymouth-populate-initrd.sh
|
|
|
|
else
|
|
|
|
PLYMOUTH_POPULATE_SOURCE_FUNCTIONS="$dracutfunctions" \
|
2013-03-20 06:04:32 +00:00
|
|
|
- /usr/libexec/plymouth/plymouth-populate-initrd -t "$initdir"
|
|
|
|
+ /usr/lib/plymouth/plymouth-populate-initrd -t "$initdir"
|
2012-11-05 14:10:11 +00:00
|
|
|
fi
|
|
|
|
|
2013-03-20 06:04:32 +00:00
|
|
|
inst_hook emergency 50 "$moddir"/plymouth-emergency.sh
|
|
|
|
--- dracut-026_git201303180829.orig/modules.d/50plymouth/plymouth-emergency.sh
|
|
|
|
+++ dracut-026_git201303180829/modules.d/50plymouth/plymouth-emergency.sh
|
2012-11-05 14:10:11 +00:00
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
#!/bin/sh
|
|
|
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
|
|
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
|
|
|
-[ -x /bin/plymouth ] && /bin/plymouth --hide-splash
|
|
|
|
+[ -x /usr/bin/plymouth ] && /usr/bin/plymouth --hide-splash
|
2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/modules.d/50plymouth/plymouth-newroot.sh
|
|
|
|
+++ dracut-026_git201303180829/modules.d/50plymouth/plymouth-newroot.sh
|
2012-11-05 14:10:11 +00:00
|
|
|
@@ -2,6 +2,6 @@
|
|
|
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
|
|
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
|
|
|
|
|
|
|
-if [ -x /bin/plymouth -a -z "$DRACUT_SYSTEMD" ]; then
|
|
|
|
- /bin/plymouth --newroot=$NEWROOT
|
|
|
|
+if [ -x /usr/bin/plymouth -a -z "$DRACUT_SYSTEMD" ]; then
|
|
|
|
+ /usr/bin/plymouth --newroot=$NEWROOT
|
|
|
|
fi
|
2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/modules.d/50plymouth/plymouth-populate-initrd.sh
|
|
|
|
+++ dracut-026_git201303180829/modules.d/50plymouth/plymouth-populate-initrd.sh
|
2012-11-05 14:10:11 +00:00
|
|
|
@@ -4,8 +4,8 @@
|
|
|
|
PLYMOUTH_LOGO_FILE="/usr/share/pixmaps/system-logo-white.png"
|
|
|
|
PLYMOUTH_THEME=$(plymouth-set-default-theme)
|
|
|
|
|
|
|
|
-inst /sbin/plymouthd /bin/plymouthd
|
|
|
|
-dracut_install /bin/plymouth \
|
|
|
|
+inst /usr/sbin/plymouthd /usr/sbin/plymouthd
|
|
|
|
+dracut_install /usr/bin/plymouth \
|
|
|
|
"${PLYMOUTH_LOGO_FILE}" \
|
|
|
|
/etc/system-release
|
|
|
|
|
2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/modules.d/50plymouth/plymouth-pretrigger.sh
|
|
|
|
+++ dracut-026_git201303180829/modules.d/50plymouth/plymouth-pretrigger.sh
|
2012-11-05 14:10:11 +00:00
|
|
|
@@ -2,7 +2,7 @@
|
|
|
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
|
|
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
|
|
|
|
|
|
|
-if [ -x /bin/plymouthd -a -z "$DRACUT_SYSTEMD" ]; then
|
|
|
|
+if [ -x /usr/sbin/plymouthd -a -z "$DRACUT_SYSTEMD" ]; then
|
|
|
|
if getargbool 1 plymouth.enable && getargbool 1 rd.plymouth -d -n rd_NO_PLYMOUTH; then
|
|
|
|
# first trigger graphics subsystem
|
|
|
|
udevadm trigger --action=add --attr-match=class=0x030000 >/dev/null 2>&1
|
2013-02-23 08:36:36 +00:00
|
|
|
@@ -16,8 +16,8 @@ if [ -x /bin/plymouthd -a -z "$DRACUT_SY
|
2012-11-05 14:10:11 +00:00
|
|
|
read consoledev rest < /sys/class/tty/console/active
|
|
|
|
consoledev=${consoledev:-tty0}
|
|
|
|
[ -x /lib/udev/console_init -a -e "/dev/$consoledev" ] && /lib/udev/console_init "/dev/$consoledev"
|
|
|
|
- [ -x /bin/plymouthd ] && /bin/plymouthd --attach-to-session --pid-file /run/plymouth/pid
|
|
|
|
- /bin/plymouth --show-splash 2>&1 | vinfo
|
|
|
|
+ [ -x /usr/sbin/plymouthd ] && /usr/sbin/plymouthd --attach-to-session --pid-file /run/plymouth/pid
|
|
|
|
+ /usr/bin/plymouth --show-splash 2>&1 | vinfo
|
|
|
|
# reset tty after plymouth messed with it
|
|
|
|
[ -x /lib/udev/console_init -a -e "/dev/$consoledev" ] && /lib/udev/console_init "/dev/$consoledev"
|
|
|
|
fi
|
2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/modules.d/90crypt/crypt-lib.sh
|
|
|
|
+++ dracut-026_git201303180829/modules.d/90crypt/crypt-lib.sh
|
2013-01-24 10:28:22 +00:00
|
|
|
@@ -47,8 +47,8 @@ ask_for_password() {
|
2012-11-05 14:10:11 +00:00
|
|
|
|
|
|
|
{ flock -s 9;
|
|
|
|
# Prompt for password with plymouth, if installed and running.
|
|
|
|
- if [ -x /bin/plymouth ] && /bin/plymouth --ping; then
|
|
|
|
- /bin/plymouth ask-for-password \
|
|
|
|
+ if [ -x /usr/bin/plymouth ] && /usr/bin/plymouth --ping; then
|
|
|
|
+ /usr/bin/plymouth ask-for-password \
|
|
|
|
--prompt "$ply_prompt" --number-of-tries=$ply_tries \
|
|
|
|
--command="$ply_cmd"
|
|
|
|
ret=$?
|
2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/modules.d/90dmsquash-live/dmsquash-live-root.sh
|
|
|
|
+++ dracut-026_git201303180829/modules.d/90dmsquash-live/dmsquash-live-root.sh
|
2013-02-23 08:36:36 +00:00
|
|
|
@@ -31,7 +31,7 @@ if [ "$fs" = "iso9660" -o "$fs" = "udf"
|
2012-11-05 14:10:11 +00:00
|
|
|
fi
|
|
|
|
getarg rd.live.check -d check || check=""
|
|
|
|
if [ -n "$check" ]; then
|
|
|
|
- [ -x /bin/plymouth ] && /bin/plymouth --hide-splash
|
|
|
|
+ [ -x /usr/bin/plymouth ] && /usr/bin/plymouth --hide-splash
|
2013-01-24 10:28:22 +00:00
|
|
|
if [ -n "$DRACUT_SYSTEMD" ]; then
|
|
|
|
p=$(str_replace "$livedev" "-" '\x2d')
|
|
|
|
systemctl start checkisomd5@${p}.service
|
|
|
|
@@ -42,7 +42,7 @@ if [ -n "$check" ]; then
|
2012-11-05 14:10:11 +00:00
|
|
|
die "CD check failed!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
- [ -x /bin/plymouth ] && /bin/plymouth --show-splash
|
|
|
|
+ [ -x /usr/bin/plymouth ] && /usr/bin/plymouth --show-splash
|
|
|
|
fi
|
|
|
|
|
|
|
|
ln -s $livedev /run/initramfs/livedev
|
2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/modules.d/90kernel-modules/module-setup.sh
|
|
|
|
+++ dracut-026_git201303180829/modules.d/90kernel-modules/module-setup.sh
|
|
|
|
@@ -74,7 +74,7 @@ installkernel() {
|
2013-01-24 10:28:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
- dracut_install -o /lib/modprobe.d/*.conf
|
|
|
|
+ dracut_install -o /etc/modprobe.d/*.conf
|
|
|
|
[[ $hostonly ]] && dracut_install -o /etc/modprobe.d/*.conf /etc/modprobe.conf
|
2013-03-12 23:42:15 +00:00
|
|
|
if ! dracut_module_included "systemd"; then
|
|
|
|
inst_hook cmdline 01 "$moddir/parse-kernel.sh"
|
2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/modules.d/95udev-rules/module-setup.sh
|
|
|
|
+++ dracut-026_git201303180829/modules.d/95udev-rules/module-setup.sh
|
2013-01-24 10:28:22 +00:00
|
|
|
@@ -11,6 +11,8 @@ install() {
|
|
|
|
dracut_install udevadm cat uname blkid \
|
|
|
|
/etc/udev/udev.conf
|
|
|
|
|
|
|
|
+ inst /usr/sbin/blkid /sbin/blkid
|
|
|
|
+
|
|
|
|
[ -d ${initdir}/lib/systemd ] || mkdir -p ${initdir}/lib/systemd
|
|
|
|
for _i in ${systemdutildir}/systemd-udevd ${udevdir}/udevd /lib/systemd/systemd-udevd /sbin/udevd; do
|
|
|
|
[ -x "$_i" ] || continue
|
2013-03-20 06:04:32 +00:00
|
|
|
--- dracut-026_git201303180829.orig/modules.d/98systemd/rescue.service
|
|
|
|
+++ dracut-026_git201303180829/modules.d/98systemd/rescue.service
|
2013-01-24 10:28:22 +00:00
|
|
|
@@ -14,7 +14,7 @@ DefaultDependencies=no
|
2012-11-05 14:10:11 +00:00
|
|
|
[Service]
|
|
|
|
Environment=HOME=/
|
|
|
|
WorkingDirectory=/
|
|
|
|
-ExecStartPre=-/bin/plymouth quit
|
|
|
|
+ExecStartPre=-/usr/bin/plymouth quit
|
|
|
|
ExecStart=-/bin/sh -i -l
|
|
|
|
ExecStopPost=-/bin/rm -f /.console_lock
|
|
|
|
ExecStopPost=-/usr/bin/systemctl --fail --no-block default
|