6 Commits

Author SHA1 Message Date
8851cf012d * Fri Feb 21 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme
- fix grub loader entries from Rocky to Koozali [SME: 12898]
2025-02-21 19:25:56 -05:00
b70e793de0 * Wed Jan 08 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
- fix path for EFI grub /boot/efi/EFI/rocky [SME: 12867]
2025-01-08 00:07:50 -05:00
f9603d6896 Add *.bak to .gitignore 2024-11-12 19:19:47 +00:00
0187e6beeb Deleting spurious *.spec.bak files 2024-11-12 19:19:46 +00:00
0dfef122f9 Update README with specific Bugzilla links with status options 2024-10-27 14:28:39 +00:00
79be203838 Update readme bugzilla link to show all outstanding bugs 2024-10-27 12:11:56 +00:00
7 changed files with 33 additions and 4 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
*.log
*spec-20*
*.tar.xz
*.bak

View File

@@ -6,7 +6,14 @@ SMEServer Koozali developed git repo for smeserver-grub smeserver
<br />https://wiki.koozali.org/
## Bugzilla
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-grub&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)\
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&cf_package=smeserver-grub&classification=SME+Server&list_id=105756&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&cf_package=smeserver-grub&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&cf_package=smeserver-grub&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[Need info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&cf_package=smeserver-grub&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[In progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&cf_package=smeserver-grub&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&cf_package=smeserver-grub&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&cf_package=smeserver-grub&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
And a list of outstanding Legacy bugs: (e-smith-grub) [here](https://bugs.koozali.org/buglist.cgi?component=e-smith-grub&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
## Description

View File

@@ -1 +0,0 @@
sme10

View File

@@ -24,4 +24,5 @@ use esmith::Build::CreateLinks qw(:all);
))
{
event_actions ( $event , 'update-grub'=>'10');
event_actions ( $event , 'grub-fix-entries'=>'11');
}

View File

@@ -0,0 +1,15 @@
#!/bin/bash
#get version
version=$(/usr/sbin/e-smith/config getprop sysconfig ReleaseVersion)
if [ -z "${version}" ]; then
exit
fi
for filename in /boot/loader/entries/*; do
#title Rocky Linux (0-rescue-077544bab95c4f258bba4fa6bdcc9167) 8.10 (Green Obsidian)
#title Koozali SME Server (4.18.0-553.36.1.el8_10.x86_64) 11.0alpha1
#title Koozali SME Server (4.18.0-553.37.1.el8_10.x86_64) 11.0alpha1
#title Koozali SME Server (4.18.0-553.40.1.el8_10.x86_64) 11.0alpha1
sed -i -E -e 's/^title Rocky Linux (\(.*\)) [0-9.]+ \([a-zA-Z ]*\)$/title Koozali SME Server \1 '$version'/' $filename
done

View File

@@ -16,7 +16,7 @@ if ( ! defined $ENV{LANG}|| $ENV{LANG}eq "" || $ENV{LANG} eq "C") {
my $grubpath;
if (-e "/sys/firmware/efi") {
$grubpath = "/boot/efi/EFI/centos/grub.cfg";
$grubpath = "/boot/efi/EFI/rocky/grub.cfg";
} else {
$grubpath = "/boot/grub2/grub.cfg";
}

View File

@@ -4,7 +4,7 @@ Summary: smeserver module to configure grub2
%define name smeserver-grub
Name: %{name}
%define version 11.0.0
%define release 5
%define release 7
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@@ -25,6 +25,12 @@ AutoReqProv: no
Provides: e-smith-grub
%changelog
* Fri Feb 21 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme
- fix grub loader entries from Rocky to Koozali [SME: 12898]
* Wed Jan 08 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
- fix path for EFI grub /boot/efi/EFI/rocky [SME: 12867]
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-5.sme
- Update createlinks to create smeserver-package-update event[SME: 12579]