summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:30:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:30:34 +0000
commitc62a9a0cc2bb380259a2a0f210c8d1a32ff45623 (patch)
treec9c027b08a52599e293e286f9369bd7c7a832400 /debian
parentSetting Progress Linux as distributor name when not using lsb-release. (diff)
downloadgrub2-c62a9a0cc2bb380259a2a0f210c8d1a32ff45623.tar.xz
grub2-c62a9a0cc2bb380259a2a0f210c8d1a32ff45623.zip
Adding distribution version to distributor name by default.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/default/grub3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/default/grub b/debian/default/grub
index 247497b..42c89fe 100644
--- a/debian/default/grub
+++ b/debian/default/grub
@@ -4,10 +4,11 @@
# info -f grub -n 'Simple configuration'
LSB_VENDOR="$(lsb_release -i -s 2> /dev/null || echo Progress Linux)"
+LSB_RELEASE="$(lsb_release -r -s 2> /dev/null || echo $(cat /etc/progress-linux_version))"
GRUB_DEFAULT=0
GRUB_TIMEOUT=@DEFAULT_TIMEOUT@
-GRUB_DISTRIBUTOR="$LSB_VENDOR"
+GRUB_DISTRIBUTOR="$LSB_VENDOR $LSB_RELEASE"
GRUB_CMDLINE_LINUX_DEFAULT="@DEFAULT_CMDLINE@"
GRUB_CMDLINE_LINUX=""