From 05a0f899248cf41ac1774d339ebbb9a63d57f1c4 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Aug 17 2011 06:28:47 +0000 Subject: fixed live iso mounting Resolves: rhbz#730579 --- diff --git a/0002-90dmsquash-live-dmsquash-live-root-include-fs_lib.sh.patch b/0002-90dmsquash-live-dmsquash-live-root-include-fs_lib.sh.patch new file mode 100644 index 0000000..dc5edc0 --- /dev/null +++ b/0002-90dmsquash-live-dmsquash-live-root-include-fs_lib.sh.patch @@ -0,0 +1,24 @@ +From 566dab2ac1323df9d21b4d682312f787b10a4bdc Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Wed, 17 Aug 2011 08:24:30 +0200 +Subject: [PATCH] 90dmsquash-live/dmsquash-live-root: include fs_lib.sh for + det_fs() + +https://bugzilla.redhat.com/show_bug.cgi?id=730579 +--- + modules.d/90dmsquash-live/dmsquash-live-root | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/modules.d/90dmsquash-live/dmsquash-live-root b/modules.d/90dmsquash-live/dmsquash-live-root +index 265de19..90e633c 100755 +--- a/modules.d/90dmsquash-live/dmsquash-live-root ++++ b/modules.d/90dmsquash-live/dmsquash-live-root +@@ -3,6 +3,8 @@ + # ex: ts=8 sw=4 sts=4 et filetype=sh + + type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh ++type det_fs >/dev/null 2>&1 || . /lib/fs-lib.sh ++ + [ -f /tmp/root.info ] && . /tmp/root.info + + PATH=/usr/sbin:/usr/bin:/sbin:/bin diff --git a/dracut.spec b/dracut.spec index 618636c..ffeabc8 100644 --- a/dracut.spec +++ b/dracut.spec @@ -8,7 +8,7 @@ Name: dracut Version: 013 -Release: 1%{dist} +Release: 3%{?dist} Summary: Initramfs generator using udev %if 0%{?fedora} @@ -22,6 +22,7 @@ URL: https://dracut.wiki.kernel.org/ # Source can be generated by # http://git.kernel.org/?p=boot/dracut/dracut.git;a=snapshot;h=%{version};sf=tgz Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.bz2 +Patch1: 0002-90dmsquash-live-dmsquash-live-root-include-fs_lib.sh.patch BuildArch: noarch BuildRequires: dash bash @@ -155,6 +156,7 @@ This package contains tools to assemble the local initrd and host configuration. %prep %setup -q -n %{name}-%{version} +%patch1 -p1 %build make @@ -293,6 +295,10 @@ rm -rf $RPM_BUILD_ROOT %dir /var/lib/dracut/overlay %changelog +* Wed Aug 17 2011 Harald Hoyer 013-3 +- fixed live iso mounting +Resolves: rhbz#730579 + * Fri Aug 12 2011 Harald Hoyer 013-1 - fixed symlink creation for lorax