This commit is contained in:
parent
fc0fbf96a9
commit
d64e0ba202
@ -124,7 +124,7 @@ install -m644 %SOURCE1 $RPM_BUILD_ROOT/etc/modprobe.d/hyperv_pvdrivers.conf
|
||||
%post
|
||||
if test -d /sys/class/dmi/id
|
||||
then
|
||||
cd /sys/class/dmi/id
|
||||
pushd /sys/class/dmi/id > /dev/null
|
||||
board_vendor=
|
||||
if test -r board_vendor
|
||||
then
|
||||
@ -140,6 +140,7 @@ then
|
||||
if test "${product_name}" = "Virtual Machine"
|
||||
then
|
||||
echo "Enabling hv_kvp_daemon on '${product_name}' from '${board_vendor}'"
|
||||
popd > /dev/null
|
||||
%{fillup_and_insserv -Y hv_kvp_daemon}
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user