diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:32:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:32:00 +0000 |
commit | 4741f6439a218b68f9ec63bf9beb4909c37582e4 (patch) | |
tree | 081383a8a93b16715633403a1da679c6924df666 | |
parent | Setting Progress Linux as distributor name when not using lsb-release. (diff) | |
download | grub2-4741f6439a218b68f9ec63bf9beb4909c37582e4.tar.xz grub2-4741f6439a218b68f9ec63bf9beb4909c37582e4.zip |
Adding distribution version to distributor name by default.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/default/grub | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/default/grub b/debian/default/grub index 512e2e1..6b1f85d 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="" |