Drop brackets from grub menu (INF-738)

i8
Arkady L. Shane 11 months ago
parent 29e43b6e9e
commit fb4952d551
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -7,6 +7,9 @@ fi
[[ -f /etc/default/grub ]] && . /etc/default/grub
[[ -f /etc/os-release ]] && . /etc/os-release
# NCSD mess
PRETTY_VERSION="$(echo $VERSION | sed 's/(//g;s/)//g')"
COMMAND="$1"
KERNEL_VERSION="$2"
BOOT_DIR_ABS="$3"
@ -38,7 +41,7 @@ mkbls() {
fi
cat <<EOF
title ${NAME} (${kernelver}) ${VERSION}${debugname}
title ${NAME} (${kernelver}) ${PRETTY_VERSION}${debugname}
version ${kernelver}${debugid}
linux /vmlinuz-${kernelver}
initrd /initramfs-${kernelver}.img

@ -7,7 +7,7 @@
Name: grub2
Epoch: 1
Version: 2.02
Release: 150%{?dist}
Release: 150%{?dist}.inferit
Summary: Bootloader with support for Linux, Multiboot and more
Group: System Environment/Base
License: GPLv3+
@ -510,6 +510,9 @@ fi
%endif
%changelog
* Wed Dec 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.02-150.inferit
- Drop brackets from grub menu (INF-738)
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 2.02-150
- Rebuilt for MSVSphere 8.8

Loading…
Cancel
Save