linux/scripts/package
Masahiro Yamada c041441975 kbuild: package: add -e and -u options to some shell scripts
Set -e to make these scripts fail on the first error.

Set -u because these scripts are invoked by Makefile, and do not work
properly without necessary variables defined.

I tweaked mkdebian to cope with optional environment variables.

Remove the explicit "test -n ..." from install-extmod-build.

Both options are described in POSIX. [1]

[1]: https://pubs.opengroup.org/onlinepubs/009604499/utilities/set.html

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
2024-07-16 16:06:18 +09:00
..
debian kbuild: deb-pkg: call more misc debhelper commands 2024-02-19 18:20:39 +09:00
builddeb kbuild: package: add -e and -u options to some shell scripts 2024-07-16 16:06:18 +09:00
buildtar kbuild: package: add -e and -u options to some shell scripts 2024-07-16 16:06:18 +09:00
gen-diff-patch kbuild: package: add -e and -u options to some shell scripts 2024-07-16 16:06:18 +09:00
install-extmod-build kbuild: package: add -e and -u options to some shell scripts 2024-07-16 16:06:18 +09:00
kernel.spec kbuild: rpm-pkg: make sure to have versioned 'Obsoletes' for kernel.spec 2024-07-16 01:08:37 +09:00
mkdebian kbuild: package: add -e and -u options to some shell scripts 2024-07-16 16:06:18 +09:00
mkspec kbuild: package: add -e and -u options to some shell scripts 2024-07-16 16:06:18 +09:00
snapcraft.template kbuild: remove the last use of old cmd_src_tar rule in packaging 2023-11-28 11:38:32 +09:00