--- rpms/e-smith-base/sme10/e-smith-base.spec 2020/11/12 02:58:44 1.59 +++ rpms/e-smith-base/sme10/e-smith-base.spec 2020/11/15 03:35:47 1.60 @@ -1,10 +1,10 @@ -# $Id: e-smith-base.spec,v 1.58 2020/11/11 20:47:31 jpp Exp $ +# $Id: e-smith-base.spec,v 1.59 2020/11/12 02:58:44 jpp Exp $ Summary: e-smith server and gateway - base module %define name e-smith-base Name: %{name} %define version 5.8.0 -%define release 50 +%define release 51 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -48,6 +48,7 @@ Patch34: e-smith-base-5.8.0-bz10957-serv Patch35: e-smith-base-5.8.0-bz11090-networking.service.patch Patch36: e-smith-base-5.8.0-bz11091-wan.service.patch Patch37: e-smith-base-5.8.0-bz11094-raidmonitor.service.patch +Patch38: e-smith-base-5.8.0-bz11174-preset.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot Requires: pwauth @@ -98,6 +99,11 @@ AutoReqProv: no e-smith server and gateway software - base module. %changelog +* Sat Nov 14 2020 Jean-Philipe Pialasse 5.8.0-51.sme +- add template for /etc/systemd/system-preset/49koozali.preset [SME: 11174] + this will help systemd integration in enabling and disabling services + remove wan link + * Wed Nov 11 2020 Jean-Philipe Pialasse 5.8.0-50.sme - move raidmonitor to systemd [SME: 11094] @@ -2026,6 +2032,9 @@ rm -rf root/home/e-smith/web/common/edi %patch36 -p1 rm -rf root/var/service/raidmonitor root/service/raidmonitor %patch37 -p1 +%patch38 -p1 +rm -f root/etc/rc.d/init.d/supervise/wan +mkdir -p root/etc/systemd/system-preset %pre /sbin/e-smith/create-system-user smelastsys 2999 \