Explorar el Código

Make terminal errors terminal

Donald Carr hace 4 años
padre
commit
2e4f44b372
Se han modificado 1 ficheros con 10 adiciones y 2 borrados
  1. 10 2
      PKGBUILD

+ 10 - 2
PKGBUILD

@@ -6,7 +6,7 @@ options=('!strip')
 # The firmware the kernel produces blows: don't falsify this lightly
 # "linux-firmware=20170309.695f2d6-1"
 pkgrel=1
-pkgver=5.11.10679.g381aff47f157
+pkgver=5.11.10869.ga92a20239e1b
 pkgdesc="Kernel build from head"
 arch=("x86_64" "aarch64" "armv7h")
 license=("GPL2.1")
@@ -39,6 +39,11 @@ pkgver() {
 }
 
 build() {
+  set -o nounset
+  set -o pipefail
+  set -o errexit
+  #set -o xtrace
+
   cd $_kernel_src_dir && git clean -xdf
 
   if [[ -n ${_config_preset} ]]; then
@@ -52,11 +57,14 @@ build() {
   fi
 
   ${_make_cmd} all 2>&1 | tee ${log_path}
-  ${_make_cmd} modules 2>&1 | tee ${log_path}
 
   if [ -n "${LOCAL_PI_VER}" ]; then
     ${_make_cmd} dtbs 2>&1 | tee -a ${log_path}
   fi
+
+  set +o nounset
+  set +o pipefail
+  set +o errexit
 }
 
 _package-headers() {