diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:31:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:31:59 +0000 |
commit | 15fe72a7123c7c0851ab1e2a01440e7625d87bfb (patch) | |
tree | c572b2e4a55716631864646e47a23b9f1a6d7fb2 | |
parent | Replacing appending of 'with Linux' with 'with kernel' in boot menu. (diff) | |
download | grub2-15fe72a7123c7c0851ab1e2a01440e7625d87bfb.tar.xz grub2-15fe72a7123c7c0851ab1e2a01440e7625d87bfb.zip |
Setting Progress Linux as distributor name when not using lsb-release.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/default/grub | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/default/grub b/debian/default/grub index 03f98ec..512e2e1 100644 --- a/debian/default/grub +++ b/debian/default/grub @@ -3,9 +3,11 @@ # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' +LSB_VENDOR="$(lsb_release -i -s 2> /dev/null || echo Progress Linux)" + GRUB_DEFAULT=0 GRUB_TIMEOUT=@DEFAULT_TIMEOUT@ -GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` +GRUB_DISTRIBUTOR="$LSB_VENDOR" GRUB_CMDLINE_LINUX_DEFAULT="@DEFAULT_CMDLINE@" GRUB_CMDLINE_LINUX="" |