diff --git a/.gitignore b/.gitignore index 968d967..234a40a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +*.xz +*.gz *.rpm *.log -*spec-20* \ No newline at end of file +*spec-20* diff --git a/Makefile b/Makefile index 35dac34..f6c55c9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -NAME := smeserver-akmod +NAME := smeserver-akmods SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common diff --git a/README.md b/README.md index c7d600a..38f5f8d 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@ -# smeserver-akmod +# smeserver-akmods -SMEServer Koozali developed git repo for smeserver-akmod contrib +SMEServer Koozali developed git repo for smeserver-akmods contrib ## Wiki -
https://wiki.koozali.org/smeserver-akmod +
https://wiki.koozali.org/smeserver-akmods ## Bugzilla -Show list of outstanding bugs: [All](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&classification=Contribs&component=smeserver-akmod&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) -[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&classification=Contribs&component=smeserver-akmod&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) -[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&classification=Contribs&component=smeserver-akmod&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) -[Need Info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&classification=Contribs&component=smeserver-akmod&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) -[In Progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&classification=Contribs&component=smeserver-akmod&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) -[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&classification=Contribs&component=smeserver-akmod&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) -[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&classification=Contribs&component=smeserver-akmod&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) +Show list of outstanding bugs: [All](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&classification=Contribs&component=smeserver-akmods&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) +[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&classification=Contribs&component=smeserver-akmods&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) +[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&classification=Contribs&component=smeserver-akmods&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) +[Need Info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&classification=Contribs&component=smeserver-akmods&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) +[In Progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&classification=Contribs&component=smeserver-akmods&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) +[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&classification=Contribs&component=smeserver-akmods&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) +[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&classification=Contribs&component=smeserver-akmods&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced) ## Description -wrapper to load akmod service on reboot in order to compil kmod modules +wrapper to load akmods service on reboot in order to compil kmod modules diff --git a/createlinks b/createlinks index c7a9706..3a96c53 100644 --- a/createlinks +++ b/createlinks @@ -4,7 +4,7 @@ use esmith::Build::CreateLinks qw(:all); use esmith::Build::Backup qw(:all); # our event specific for updating with yum without reboot -$event = 'smeserver-akmod-update'; +$event = 'smeserver-akmods-update'; #add here the path to your templates needed to expand #see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event @@ -25,17 +25,17 @@ event_link('systemd-reload', $event, '50'); #event_services($event, 'xxxx' => 'restart', 'yyyy' => 'restart'); #Backup contrib files -# backup_includes("smeserver-akmod", qw( +# backup_includes("smeserver-akmods", qw( # files(s) to be backed up #)); #Other possible entries: #Server manager entry -#panel_link("smeserver-akmod", 'manager'); -#Events to smeserver-akmod -#$event = 'smeserver-akmod-smeserver-akmod'; -# safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/smeserver-akmod"); -# templates2events("/etc/smeserver-akmod/smeserver-akmod.conf", $event); +#panel_link("smeserver-akmods", 'manager'); +#Events to smeserver-akmods +#$event = 'smeserver-akmods-smeserver-akmods'; +# safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/smeserver-akmods"); +# templates2events("/etc/smeserver-akmods/smeserver-akmods.conf", $event); diff --git a/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80akmod b/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80akmod index 750ed93..c9c996d 100644 --- a/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80akmod +++ b/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80akmod @@ -1 +1 @@ -enable akmod.service +enable akmods.service diff --git a/smeserver-akmod.spec b/smeserver-akmods.spec similarity index 83% rename from smeserver-akmod.spec rename to smeserver-akmods.spec index 6b05edd..8ace44e 100644 --- a/smeserver-akmod.spec +++ b/smeserver-akmods.spec @@ -1,7 +1,7 @@ -%define name smeserver-akmod +%define name smeserver-akmods %define version 1.0 %define release 1 -Summary: This is what smeserver-akmod does. +Summary: This is what smeserver-akmods does. Name: %{name} Version: %{version} Release: %{release}%{?dist} @@ -16,11 +16,11 @@ Requires: smeserver-release >= 11.0 AutoReqProv: no %description -wrapper to load akmod service on reboot in order to compil kmod modules +wrapper to load akmods service on reboot in order to compil kmod modules %changelog * Thu Feb 13 2025 Jean-Philippe Pialasse 1.0-1.sme -- create akmod wrapper [SME: 12921] +- create akmods wrapper [SME: 12921] %prep