fixed live iso mounting

Resolves: rhbz#730579
This commit is contained in:
Harald Hoyer 2011-08-17 08:28:47 +02:00
parent 153f869b61
commit 05a0f89924
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 566dab2ac1323df9d21b4d682312f787b10a4bdc Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
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

View File

@ -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 <harald@redhat.com> 013-3
- fixed live iso mounting
Resolves: rhbz#730579
* Fri Aug 12 2011 Harald Hoyer <harald@redhat.com> 013-1
- fixed symlink creation for lorax