exanic-software
exanic-software copied to clipboard
exanic-dkms rpm: fatal error in postinstall should be avoided
Hi, trying to automate Exanic software installation and hit a snag. If dkms fails in %post it breaks the anaconda installation. This spec change avoids the failure and allows the installation to complete and for the exanic modules to be built at a later stage:
%post dkms
dkms add -m %{name} -v %{version}-%{release} --rpm_safe_upgrade || true
dkms build -m %{name} -v %{version}-%{release} --rpm_safe_upgrade || true
dkms install -m %{name} -v %{version}-%{release} --rpm_safe_upgrade || true
Looking forward to what your thoughts are.