[syslinux] [PATCH] check-gnu-efi.sh: print the output of build-gnu-efi.sh
Anatol Pomozov
anatol.pomozov at gmail.com
Mon Nov 24 13:00:17 PST 2014
Hi
On Sun, Nov 23, 2014 at 11:36 PM, Robert Yang <liezhi.yang at windriver.com> wrote:
> The build would be failed and exit if build-gnu-efi.sh is failed, so
> we'd better not suppress the output of build-gnu-efi.sh, which is good
> for debugging.
>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
> efi/check-gnu-efi.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/efi/check-gnu-efi.sh b/efi/check-gnu-efi.sh
> index 85305f8..7d99e9a 100755
> --- a/efi/check-gnu-efi.sh
> +++ b/efi/check-gnu-efi.sh
> @@ -25,7 +25,7 @@ if [ ! \( -f "$objdir/include/efi/$ARCH/efibind.h" -a -f "$objdir/lib/libefi.a"
> # Syslinux disables built-in implicit rules.
> export MAKEFLAGS=
>
> - ../../efi/build-gnu-efi.sh $ARCH "$objdir" > /dev/null 2>&1
> + ../../efi/build-gnu-efi.sh $ARCH "$objdir"
> if [ $? -ne 0 ]; then
> printf "Failed to build gnu-efi. "
> printf "Execute the following command for full details: \n\n"
+1
It is exactly what we do in Arch linux package
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/syslinux#n50
building 32bit package on x86_64 was failing for me and it took a
while to find why there are no any error message in log.
More information about the Syslinux
mailing list