Skip to content

Commit 82cb443

Browse files
dev-aaront-orgmasahir0y
authored andcommitted
kbuild: deb-pkg: Remove blank first line from maint scripts
The blank line causes execve() to fail: # strace ./postinst execve("./postinst", ...) = -1 ENOEXEC (Exec format error) strace: exec: Exec format error +++ exited with 1 +++ However running the scripts via shell does work (at least with bash) because the shell attempts to execute the file as a shell script when execve() fails. Fixes: b611daa ("kbuild: deb-pkg: split image and debug objects staging out into functions") Signed-off-by: Aaron Thompson <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Reviewed-by: Nicolas Schier <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent d939881 commit 82cb443

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/package/builddeb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ install_linux_image () {
7474

7575
mkdir -p "${pdir}/DEBIAN"
7676
cat <<-EOF > "${pdir}/DEBIAN/${script}"
77-
7877
#!/bin/sh
7978
8079
set -e

0 commit comments

Comments
 (0)