util/grub.d/25_bli.in: fix shebang on unmerged-usr
PATCH 1/1 util/grub.d/25_bli.in: fix shebang on unmerged-usr
On an unmerged-usr system, grub-mkconfig errors out with the following error due to /usr/bin/sh not existing:
/usr/sbin/grub-mkconfig: /etc/grub.d/25_bli: /usr/bin/sh: bad interpreter: No such file or directory
Use a /bin/sh shebang to fix the error as well as match the other existing files.
--- util/grub.d/25_bli.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub.d/25_bli.in +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/sh +#! /bin/sh set -e # grub-mkconfig helper script.
Signature · 1 line
2.41.0
Quoted 18 lines · On Mon, 10 Jul 2023 23:55:43 -0500 Oskari Pirhonen <[email protected]>…
On an unmerged-usr system, grub-mkconfig errors out with the following error due to
/usr/bin/shnot existing:
/usr/sbin/grub-mkconfig:/etc/grub.d/25_bli:/usr/bin/sh: bad interpreter: No such file or directoryUse a
/bin/shshebang to fix the error as well as match the other existing files.Signed-off-by Oskari Pirhonen <[email protected]>--- util/grub.d/25_bli.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)util/grub.d/25_bli.in +0
-0
util/grub.d/25_bli.in line 4
Quoted 5 lines
util/grub.d/25_bli.in +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/sh +#! /bin/sh set -e # grub-mkconfig helper script.
Glenn
Daniel Kiper
Reviewed-byQuoted 25 lines · Glenn Washburn
Quoted 22 lines · On Mon, 10 Jul 2023 23:55:43 -0500 Oskari Pirhonen <[email protected]>…
On an unmerged-usr system, grub-mkconfig errors out with the following error due to
/usr/bin/shnot existing:
/usr/sbin/grub-mkconfig:/etc/grub.d/25_bli:/usr/bin/sh: bad interpreter: No such file or directoryUse a
/bin/shshebang to fix the error as well as match the other existing files.Signed-off-by Oskari Pirhonen <[email protected]>--- util/grub.d/25_bli.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)util/grub.d/25_bli.in +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/sh +#! /bin/sh set -e
Quoted 3 lines
util/grub.d/25_bli.in line 4
Quoted 1 line
util/grub.d/25_bli.in +0
-0# grub-mkconfig helper script.Reviewed-by Glenn Washburn <[email protected]>
Daniel
Oliver Steffen
Reviewed-byQuoting Daniel Kiper (2023-07-13 20:16:40)
Quoted 26 lines · Glenn Washburn
Quoted 25 lines
Quoted 22 lines · On Mon, 10 Jul 2023 23:55:43 -0500 Oskari Pirhonen <[email protected]>…
On an unmerged-usr system, grub-mkconfig errors out with the following error due to
/usr/bin/shnot existing:
/usr/sbin/grub-mkconfig:/etc/grub.d/25_bli:/usr/bin/sh: bad interpreter: No such file or directoryUse a
/bin/shshebang to fix the error as well as match the other existing files.Signed-off-by Oskari Pirhonen <[email protected]>--- util/grub.d/25_bli.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)util/grub.d/25_bli.in +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/sh +#! /bin/sh set -e
Quoted 6 lines
Quoted 3 lines
util/grub.d/25_bli.in line 4
Quoted 1 line
util/grub.d/25_bli.in +0
-0# grub-mkconfig helper script.Reviewed-by Glenn Washburn <[email protected]>Reviewed-by Daniel Kiper <[email protected]>
Yeah, /bin/sh sounds much better. Thanks for fixing this.