linux/scripts/package
Aaron Thompson 82cb443089 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: b611daae5e ("kbuild: deb-pkg: split image and debug objects staging out into functions")
Signed-off-by: Aaron Thompson <dev@aaront.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2024-10-07 02:36:38 +09:00
..
debian
builddeb kbuild: deb-pkg: Remove blank first line from maint scripts 2024-10-07 02:36:38 +09:00
buildtar
gen-diff-patch
install-extmod-build kbuild: cross-compile linux-headers package when possible 2024-09-01 20:33:33 +09:00
kernel.spec kbuild: rpm-pkg: ghost modules.weakdep file 2024-07-28 17:07:03 +09:00
mkdebian
mkspec
PKGBUILD kbuild: add debug package to pacman PKGBUILD 2024-09-07 17:24:08 +09:00
snapcraft.template