2013-09-21 19:24:08 +00:00
|
|
|
--- dracut-033.orig/dracut.sh
|
|
|
|
+++ dracut-033/dracut.sh
|
2013-09-09 08:08:09 +00:00
|
|
|
@@ -661,7 +661,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-09-21 19:24:08 +00:00
|
|
|
--- dracut-033.orig/modules.d/10i18n/module-setup.sh
|
|
|
|
+++ dracut-033/modules.d/10i18n/module-setup.sh
|
|
|
|
@@ -99,6 +99,8 @@ install() {
|
2013-03-12 23:42:15 +00:00
|
|
|
|
2012-11-05 14:10:11 +00:00
|
|
|
install_base() {
|
2013-09-09 08:08:09 +00:00
|
|
|
inst_multiple setfont loadkeys kbd_mode stty
|
2012-11-05 14:10:11 +00:00
|
|
|
+ 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-09-21 19:24:08 +00:00
|
|
|
--- dracut-033.orig/modules.d/50plymouth/module-setup.sh
|
|
|
|
+++ dracut-033/modules.d/50plymouth/module-setup.sh
|
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
|
2013-09-21 19:24:08 +00:00
|
|
|
--- dracut-033.orig/modules.d/90kernel-modules/module-setup.sh
|
|
|
|
+++ dracut-033/modules.d/90kernel-modules/module-setup.sh
|
2013-09-09 08:08:09 +00:00
|
|
|
@@ -74,7 +74,7 @@ installkernel() {
|
2013-01-24 10:28:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2013-09-09 08:08:09 +00:00
|
|
|
- inst_multiple -o /lib/modprobe.d/*.conf
|
|
|
|
+ inst_multiple -o /etc/modprobe.d/*.conf
|
|
|
|
[[ $hostonly ]] && inst_multiple -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-09-21 19:24:08 +00:00
|
|
|
--- dracut-033.orig/modules.d/95udev-rules/module-setup.sh
|
|
|
|
+++ dracut-033/modules.d/95udev-rules/module-setup.sh
|
2013-01-24 10:28:22 +00:00
|
|
|
@@ -11,6 +11,8 @@ install() {
|
2013-09-09 08:08:09 +00:00
|
|
|
inst_multiple udevadm cat uname blkid \
|
2013-01-24 10:28:22 +00:00
|
|
|
/etc/udev/udev.conf
|
|
|
|
|
|
|
|
+ inst /usr/sbin/blkid /sbin/blkid
|
|
|
|
+
|
2013-04-03 14:55:08 +00:00
|
|
|
[ -d ${initdir}/$systemdutildir ] || mkdir -p ${initdir}/$systemdutildir
|
|
|
|
for _i in ${systemdutildir}/systemd-udevd ${udevdir}/udevd /sbin/udevd; do
|
2013-01-24 10:28:22 +00:00
|
|
|
[ -x "$_i" ] || continue
|
2013-09-21 19:24:08 +00:00
|
|
|
--- dracut-033.orig/modules.d/98systemd/rescue.service
|
|
|
|
+++ dracut-033/modules.d/98systemd/rescue.service
|
2013-06-07 08:40:19 +00:00
|
|
|
@@ -16,7 +16,7 @@ Environment=HOME=/
|
|
|
|
Environment=DRACUT_SYSTEMD=1
|
|
|
|
Environment=NEWROOT=/sysroot
|
2012-11-05 14:10:11 +00:00
|
|
|
WorkingDirectory=/
|
|
|
|
-ExecStartPre=-/bin/plymouth quit
|
|
|
|
+ExecStartPre=-/usr/bin/plymouth quit
|
|
|
|
ExecStart=-/bin/sh -i -l
|
2013-07-18 11:45:24 +00:00
|
|
|
ExecStopPost=-/bin/rm -f -- /.console_lock
|
2012-11-05 14:10:11 +00:00
|
|
|
ExecStopPost=-/usr/bin/systemctl --fail --no-block default
|
2013-09-21 19:24:08 +00:00
|
|
|
--- dracut-033.orig/modules.d/99fs-lib/module-setup.sh
|
|
|
|
+++ dracut-033/modules.d/99fs-lib/module-setup.sh
|
2013-09-09 08:08:09 +00:00
|
|
|
@@ -81,4 +81,5 @@ install() {
|
|
|
|
fi
|
|
|
|
|
|
|
|
inst_multiple -o $_helpers fsck
|
|
|
|
+ inst /usr/bin/mount /bin/mount
|
|
|
|
}
|