This commit is contained in:
parent
d7a0dea51b
commit
5a840d31c3
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 2 16:59:00 CEST 2008 - hare@suse.de
|
||||||
|
|
||||||
|
- Fix initrd scripts if no 'root=' parameter is given
|
||||||
|
(bnc#421546)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 25 12:49:58 CEST 2008 - aj@suse.de
|
Mon Aug 25 12:49:58 CEST 2008 - aj@suse.de
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ Obsoletes: lvm
|
|||||||
PreReq: %fillup_prereq %insserv_prereq
|
PreReq: %fillup_prereq %insserv_prereq
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.02.38
|
Version: 2.02.38
|
||||||
Release: 21
|
Release: 24
|
||||||
Summary: LVM2 Tools
|
Summary: LVM2 Tools
|
||||||
Source: LVM2.%{version}.tar.bz2
|
Source: LVM2.%{version}.tar.bz2
|
||||||
Source1: lvm.conf
|
Source1: lvm.conf
|
||||||
@ -241,6 +241,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man8/vgsplit.8.gz
|
%{_mandir}/man8/vgsplit.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 02 2008 hare@suse.de
|
||||||
|
- Fix initrd scripts if no 'root=' parameter is given
|
||||||
|
(bnc#421546)
|
||||||
* Mon Aug 25 2008 aj@suse.de
|
* Mon Aug 25 2008 aj@suse.de
|
||||||
- Provide and obsolete evms.
|
- Provide and obsolete evms.
|
||||||
* Mon Aug 25 2008 prusnak@suse.cz
|
* Mon Aug 25 2008 prusnak@suse.cz
|
||||||
|
@ -56,6 +56,8 @@ load_modules
|
|||||||
|
|
||||||
if [ -n "$root_lvm2" ] ; then
|
if [ -n "$root_lvm2" ] ; then
|
||||||
o=$(get_param root)
|
o=$(get_param root)
|
||||||
|
# Fallback if 'root=' is not specified
|
||||||
|
[ -z "$o" ] && o=$rootdev
|
||||||
vg_root=$(lvm2_get_vg $o)
|
vg_root=$(lvm2_get_vg $o)
|
||||||
if [ "$vg_root" ] ; then
|
if [ "$vg_root" ] ; then
|
||||||
# We are waiting for a device-mapper device
|
# We are waiting for a device-mapper device
|
||||||
|
Loading…
x
Reference in New Issue
Block a user