[WBEL-devel] LVM in update3

Fredrick Ludden luddenf@comcast.net
Mon, 20 Sep 2004 22:30:58 -0400


Yes, same problem here.  Spent most of the evening tracking this down... :|

Fred

Hello,
LVM rpm package is broken in WBEL update3. All utilities have suffix 
.lvm1 and this is wrong. For example rc.sysinit doesn't init LVM.

Problem came from lvm.spec:
...
# Conditionally suffix all binaries with .lvm1 and change manual page names
OS_VERSION=`uname -r`
if [ "${OS_VERSION:0:3}" != 2.4 ]
then
  pushd $RPM_BUILD_ROOT/sbin
  for i in *; do
    mv $i $i.lvm1
  done
  popd

  pushd $RPM_BUILD_ROOT/%{_mandir}/man8
  for i in *.8; do
    mv $i ${i%%8}lvm1.8
  done
  popd
fi
...
I think, buildhost is not based on 2.4 kernel...

Pavel