diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-09 04:54:51 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-11-09 04:54:51 (EST) |
commit | d6b7998acadd9dc087ab44a50bedd1995104ddbc (patch) | |
tree | 087d61d786c54f27d58e58ff4d82d287a4de57c5 | |
parent | 7193d65809a841147097fb35866a7806f746b0f7 (diff) | |
download | libreboot-d6b7998acadd9dc087ab44a50bedd1995104ddbc.zip libreboot-d6b7998acadd9dc087ab44a50bedd1995104ddbc.tar.gz libreboot-d6b7998acadd9dc087ab44a50bedd1995104ddbc.tar.bz2 |
Error checking
Add set -e -u -v to all scripts.
flash, lenovobios_firstflash, lenovobios_secondflash
and macbook21_firstflash only have -v set because
these are expected to have errors
powertop.trisquel6 has nothing added.
-rwxr-xr-x | DEBLOB | 2 | ||||
-rwxr-xr-x | addseabios | 2 | ||||
-rwxr-xr-x | build | 2 | ||||
-rwxr-xr-x | build-release | 2 | ||||
-rwxr-xr-x | buildall | 2 | ||||
-rwxr-xr-x | builddeps | 2 | ||||
-rwxr-xr-x | builddeps-bucts | 2 | ||||
-rwxr-xr-x | builddeps-cbfstool | 2 | ||||
-rwxr-xr-x | builddeps-coreboot | 2 | ||||
-rwxr-xr-x | builddeps-flashrom | 2 | ||||
-rwxr-xr-x | builddeps-grub | 2 | ||||
-rwxr-xr-x | builddeps-grubinvaders | 2 | ||||
-rwxr-xr-x | builddeps-i945pwm | 2 | ||||
-rwxr-xr-x | builddeps-memtest86 | 2 | ||||
-rwxr-xr-x | builddeps-seabios | 2 | ||||
-rwxr-xr-x | buildrom-withgrub | 2 | ||||
-rwxr-xr-x | cleandeps | 2 | ||||
-rwxr-xr-x | deps-parabola | 2 | ||||
-rwxr-xr-x | deps-trisquel | 2 | ||||
-rwxr-xr-x | flash | 4 | ||||
-rwxr-xr-x | getall | 2 | ||||
-rwxr-xr-x | getbucts | 2 | ||||
-rwxr-xr-x | getcb | 2 | ||||
-rwxr-xr-x | getflashrom | 2 | ||||
-rwxr-xr-x | getgrub | 2 | ||||
-rwxr-xr-x | getgrubinvaders | 2 | ||||
-rwxr-xr-x | getmt86 | 2 | ||||
-rwxr-xr-x | getseabios | 2 | ||||
-rwxr-xr-x | lenovobios_firstflash | 4 | ||||
-rwxr-xr-x | lenovobios_secondflash | 4 | ||||
-rwxr-xr-x | macbook21_firstflash | 4 | ||||
-rwxr-xr-x | powertop.trisquel6 | 2 | ||||
-rwxr-xr-x | resources/utilities/grub-assemble/gen.sh | 2 | ||||
-rwxr-xr-x | resources/utilities/grub-assemble/grub_memdisk_keymap | 2 |
34 files changed, 76 insertions, 0 deletions
@@ -19,6 +19,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # CPU microcode rm -rf coreboot/src/cpu/intel/model_68x/microcode-617-MU16860c.h coreboot/src/cpu/intel/model_68x/microcode-550-MU168307.h coreboot/src/cpu/intel/model_68x/microcode-618-MU268602.h coreboot/src/cpu/intel/model_68x/microcode-729-MU268310.h coreboot/src/cpu/intel/model_68x/microcode-535-MU16810e.h coreboot/src/cpu/intel/model_68x/microcode-727-MU168313.h coreboot/src/cpu/intel/model_68x/microcode-551-MU168308.h coreboot/src/cpu/intel/model_68x/microcode-536-MU16810f.h coreboot/src/cpu/intel/model_68x/microcode-662-MU168a01.h coreboot/src/cpu/intel/model_68x/microcode-728-MU168314.h coreboot/src/cpu/intel/model_68x/microcode-538-MU168111.h coreboot/src/cpu/intel/model_68x/microcode-611-MU168607.h coreboot/src/cpu/intel/model_68x/microcode-615-MU16860a.h coreboot/src/cpu/intel/model_68x/microcode-534-MU16810d.h coreboot/src/cpu/intel/model_68x/microcode-691-MU168a04.h coreboot/src/cpu/intel/model_68x/microcode-692-MU168a05.h coreboot/src/cpu/intel/model_68x/microcode-612-MU168608.h coreboot/src/cpu/intel/model_68x/microcode-537-MU268110.h coreboot/src/cpu/intel/model_1067x/microcode-m011067660F.h coreboot/src/cpu/intel/model_1067x/microcode-m401067660F.h coreboot/src/cpu/intel/model_1067x/microcode-m441067AA0B.h coreboot/src/cpu/intel/model_1067x/microcode-m101067660F.h coreboot/src/cpu/intel/model_1067x/microcode-m041067660F.h coreboot/src/cpu/intel/model_1067x/microcode-m111067AA0B.h coreboot/src/cpu/intel/model_1067x/microcode-m801067660F.h coreboot/src/cpu/intel/model_1067x/microcode-mA01067AA0B.h coreboot/src/cpu/intel/model_1067x/microcode-m101067770A.h coreboot/src/cpu/intel/model_67x/microcode-540-MU267238.h coreboot/src/cpu/intel/model_67x/microcode-531-MU26732e.h coreboot/src/cpu/intel/model_67x/microcode-293-MU267114.h coreboot/src/cpu/intel/model_67x/microcode-539-MU167210.h coreboot/src/cpu/intel/model_67x/microcode-530-MU16730e.h coreboot/src/cpu/intel/model_65x/microcode-409-MU16522c.h coreboot/src/cpu/intel/model_65x/microcode-423-MU26522b.h coreboot/src/cpu/intel/model_65x/microcode-147-MU16502f.h coreboot/src/cpu/intel/model_65x/microcode-435-MU165141.h coreboot/src/cpu/intel/model_65x/microcode-94-MU265019.h coreboot/src/cpu/intel/model_65x/microcode-411-MU16530c.h coreboot/src/cpu/intel/model_65x/microcode-452-MU165310.h coreboot/src/cpu/intel/model_65x/microcode-412-MU16530d.h coreboot/src/cpu/intel/model_65x/microcode-430-MU165041.h coreboot/src/cpu/intel/model_65x/microcode-433-MU165045.h coreboot/src/cpu/intel/model_65x/microcode-410-MU16522d.h coreboot/src/cpu/intel/model_65x/microcode-407-MU16522a.h coreboot/src/cpu/intel/model_65x/microcode-429-MU165040.h coreboot/src/cpu/intel/model_65x/microcode-146-MU16502e.h coreboot/src/cpu/intel/model_65x/microcode-422-MU26530b.h coreboot/src/cpu/intel/model_65x/microcode-434-MU165140.h coreboot/src/cpu/intel/model_65x/microcode-436-MU165142.h coreboot/src/cpu/intel/model_f1x/microcode-1070-m02f122f.h coreboot/src/cpu/intel/model_f1x/microcode-1069-m04f122e.h coreboot/src/cpu/intel/model_f1x/microcode-1068-m01f122d.h coreboot/src/cpu/intel/model_f1x/microcode-1072-m04f1305.h coreboot/src/cpu/intel/model_6ex/microcode-1869-m806ec59.h coreboot/src/cpu/intel/model_6ex/microcode-1729-m206ec54.h coreboot/src/cpu/intel/model_6ex/microcode-1624-m206e839.h coreboot/src/cpu/intel/model_106cx/microcode-M08106CA107.h coreboot/src/cpu/intel/model_106cx/microcode-M08106C2219.h coreboot/src/cpu/intel/model_106cx/microcode-M04106C2218.h coreboot/src/cpu/intel/model_106cx/microcode-M10106CA107.h coreboot/src/cpu/intel/model_106cx/microcode-M01106C2217.h coreboot/src/cpu/intel/model_106cx/microcode-M04106CA107.h coreboot/src/cpu/intel/model_106cx/microcode-M01106CA107.h coreboot/src/cpu/intel/model_6bx/microcode-737-MU16b11c.h coreboot/src/cpu/intel/model_6bx/microcode-738-MU16b11d.h coreboot/src/cpu/intel/model_6bx/microcode-885-MU16b402.h coreboot/src/cpu/intel/model_6bx/microcode-875-MU16b401.h coreboot/src/cpu/intel/model_206ax/microcode-m12306a9_00000017.h coreboot/src/cpu/intel/model_206ax/microcode-m12206a7_00000028.h coreboot/src/cpu/intel/model_6fx/microcode-m406fbBC.h coreboot/src/cpu/intel/model_6fx/microcode-m206f25c.h coreboot/src/cpu/intel/model_6fx/microcode-m106fbBA.h coreboot/src/cpu/intel/model_6fx/microcode-m106f76a.h coreboot/src/cpu/intel/model_6fx/microcode-m46f6d2.h coreboot/src/cpu/intel/model_6fx/microcode-m206f6d1.h coreboot/src/cpu/intel/model_6fx/microcode-m206fda4.h coreboot/src/cpu/intel/model_6fx/microcode-m16f6d0.h coreboot/src/cpu/intel/model_6fx/microcode-m206fbBA.h coreboot/src/cpu/intel/model_6fx/microcode-m806fda4.h coreboot/src/cpu/intel/model_6fx/microcode-m806fbBA.h coreboot/src/cpu/intel/model_6fx/microcode-m16f25d.h coreboot/src/cpu/intel/model_6fx/microcode-m16fda4.h coreboot/src/cpu/intel/model_6fx/microcode-m016fbBA.h coreboot/src/cpu/intel/model_6fx/microcode-m806fa95.h coreboot/src/cpu/intel/model_6fx/microcode-m086fbBB.h coreboot/src/cpu/intel/model_6fx/microcode-m046fbBC.h coreboot/src/cpu/intel/model_6fx/microcode-m406f76b.h coreboot/src/cpu/intel/model_f4x/microcode-1637-m5cf4a04.h coreboot/src/cpu/intel/model_f4x/microcode-1470-m9df4703.h coreboot/src/cpu/intel/model_f4x/microcode-1735-m01f480c.h coreboot/src/cpu/intel/model_f4x/microcode-1521-m5ff4807.h coreboot/src/cpu/intel/model_f4x/microcode-1466-m02f4116.h coreboot/src/cpu/intel/model_f4x/microcode-1471-mbdf4117.h coreboot/src/cpu/intel/model_f4x/microcode-1462-mbdf4903.h coreboot/src/cpu/intel/model_f4x/microcode-1460-m9df4305.h coreboot/src/cpu/intel/model_f4x/microcode-1469-m9df4406.h coreboot/src/cpu/intel/model_f4x/microcode-1498-m5df4a02.h coreboot/src/cpu/intel/model_f4x/microcode-2492-m02f480e.h coreboot/src/cpu/intel/model_6dx/microcode-1355-m206d618.h coreboot/src/cpu/intel/model_f3x/microcode-1467-m0df330c.h coreboot/src/cpu/intel/model_f3x/microcode-1290-m0df320a.h coreboot/src/cpu/intel/model_f3x/microcode-1468-m1df3417.h coreboot/src/cpu/intel/model_69x/microcode-1376-m8069547.h coreboot/src/cpu/intel/model_69x/microcode-1374-m2069507.h coreboot/src/cpu/intel/model_69x/microcode-1373-m1069507.h coreboot/src/cpu/intel/model_f0x/microcode-965-m01f0a13.h coreboot/src/cpu/intel/model_f0x/microcode-966-m04f0a14.h coreboot/src/cpu/intel/model_f0x/microcode-964-m01f0712.h coreboot/src/cpu/intel/model_f0x/microcode-983-m02f0a15.h coreboot/src/cpu/intel/model_f0x/microcode-678-2f0708.h coreboot/src/cpu/intel/model_f2x/microcode-1341-m01f2529.h coreboot/src/cpu/intel/model_f2x/microcode-1101-m02f2738.h coreboot/src/cpu/intel/model_f2x/microcode-1102-m08f2739.h coreboot/src/cpu/intel/model_f2x/microcode-1339-m04f292e.h coreboot/src/cpu/intel/model_f2x/microcode-1100-m04f2737.h coreboot/src/cpu/intel/model_f2x/microcode-1342-m02f252a.h coreboot/src/cpu/intel/model_f2x/microcode-1105-m08f2420.h coreboot/src/cpu/intel/model_f2x/microcode-1107-m10f2421.h coreboot/src/cpu/intel/model_f2x/microcode-1338-m02f292d.h coreboot/src/cpu/intel/model_f2x/microcode-1343-m04f252b.h coreboot/src/cpu/intel/model_f2x/microcode-1340-m08f292f.h coreboot/src/cpu/intel/model_f2x/microcode-1106-m02f241f.h coreboot/src/cpu/intel/model_f2x/microcode-1104-m04f241e.h coreboot/src/cpu/intel/model_f2x/microcode-1336-m02f2610.h coreboot/src/cpu/intel/model_f2x/microcode-1346-m10f252c.h coreboot/src/cpu/intel/model_6xx/microcode-43-B_c6_617.h coreboot/src/cpu/intel/model_6xx/microcode-620-MU26a401.h coreboot/src/cpu/intel/model_6xx/microcode-359-MU166d06.h coreboot/src/cpu/intel/model_6xx/microcode-398-MU166503.h coreboot/src/cpu/intel/model_6xx/microcode-308-MU163336.h coreboot/src/cpu/intel/model_6xx/microcode-153-d2_619.h coreboot/src/cpu/intel/model_6xx/microcode-51-B_c6_616.h coreboot/src/cpu/intel/model_6xx/microcode-566-mu26a003.h coreboot/src/cpu/intel/model_6xx/microcode-400-MU166a0c.h coreboot/src/cpu/intel/model_6xx/microcode-402-MU166d07.h coreboot/src/cpu/intel/model_6xx/microcode-401-MU166a0d.h coreboot/src/cpu/intel/model_6xx/microcode-386-MU16600a.h coreboot/src/cpu/intel/model_6xx/microcode-309-MU163437.h coreboot/src/cpu/intel/model_6xx/microcode-99-B_c6_612.h coreboot/src/cpu/intel/model_6xx/microcode-588-mu26a101.h coreboot/src/cpu/intel/model_6xx/microcode-399-MU166a0b.h coreboot/src/cpu/intel/model_6xx/microcode-358-MU166d05.h coreboot/src/cpu/intel/haswell/microcode-M3240660_ffff000b.h coreboot/src/cpu/intel/haswell/microcode-M32306c1_ffff000d.h coreboot/src/cpu/intel/haswell/microcode-M32306c2_ffff0003.h coreboot/src/cpu/intel/haswell/microcode-M7240650_ffff0007.h coreboot/src/cpu/intel/haswell/microcode-M7240650_ffff000a.h coreboot/src/cpu/intel/model_f2x/microcode_m02f2203.h coreboot/src/cpu/intel/model_2065x/microcode-m9220655_00000003.h coreboot/src/cpu/amd/model_fxx/microcode_rev_d.h coreboot/src/cpu/amd/model_fxx/microcode_rev_c.h coreboot/src/cpu/amd/model_fxx/microcode_rev_e.h coreboot/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch01000085.c coreboot/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000c7.c coreboot/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000c6.c coreboot/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000c8.c coreboot/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x10/RevD/F10MicrocodePatch010000d9.c coreboot/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x10/RevD/F10MicrocodePatch010000c5.c coreboot/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x10/RevE/F10MicrocodePatch010000bf.c coreboot/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000624_Enc.c coreboot/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch0600050D_Enc.c coreboot/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c coreboot/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch01000085.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000c7.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000c6.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000c8.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x10/RevD/F10MicrocodePatch010000c4.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x10/RevD/F10MicrocodePatch010000c5.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x10/RevE/F10MicrocodePatch010000bf.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14MicrocodePatch0500000B.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14MicrocodePatch05000025.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14MicrocodePatch0500001A.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14MicrocodePatch05000028.c coreboot/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14MicrocodePatch05000101.c coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch01000085.c coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000c6.c coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000c8.c coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x10/RevD/F10MicrocodePatch010000c4.c coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x10/RevD/F10MicrocodePatch010000c5.c coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x10/RevE/F10MicrocodePatch010000bf.c coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/F12MicrocodePatch03000002.c coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/F12MicrocodePatch0300000f.c coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/F12MicrocodePatch0300000e.c coreboot/src/vendorcode/amd/agesa/f10/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch01000085.c coreboot/src/vendorcode/amd/agesa/f10/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000b6.c coreboot/src/vendorcode/amd/agesa/f10/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch01000098.c coreboot/src/vendorcode/amd/agesa/f10/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch01000086.c coreboot/src/vendorcode/amd/agesa/f10/Proc/CPU/Family/0x10/RevD/F10MicrocodePatch010000c4.c coreboot/src/vendorcode/amd/agesa/f10/Proc/CPU/Family/0x10/RevD/F10MicrocodePatch010000c5.c coreboot/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c coreboot/src/cpu/intel/haswell/microcode-M7240651_00000015.h coreboot/src/cpu/intel/haswell/microcode-M32306c3_00000012.h coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000c7.c coreboot/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x10/RevC/F10MicrocodePatch010000c7.c coreboot/src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Family/LN/F12NbSmuFirmware.h coreboot/src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Family/0x14/F14NbSmuFirmware.h coreboot/src/vendorcode/amd/agesa/f16kb/Proc/GNB/Modules/GnbInitKB/GnbSamuPatchKB.h coreboot/src/vendorcode/amd/agesa/f16kb/Proc/GNB/Modules/GnbInitKB/GnbSmuFirmwareKB.h coreboot/src/vendorcode/amd/agesa/f16kb/Proc/GNB/Modules/GnbInitKB/excel925.h coreboot/src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/GnbCacWeightsTN.h coreboot/src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/GnbSmuFirmwareTN.h coreboot/src/vendorcode/amd/cimx/rd890/HotplugFirmware.h coreboot/src/cpu/amd/model_10xxx/mc_patch_01000086.h coreboot/src/cpu/amd/model_10xxx/mc_patch_01000095.h coreboot/src/cpu/amd/model_10xxx/mc_patch_01000096.h coreboot/src/cpu/amd/model_10xxx/mc_patch_0100009f.h coreboot/src/cpu/amd/model_10xxx/mc_patch_010000b6.h coreboot/src/cpu/amd/model_10xxx/mc_patch_010000bf.h coreboot/src/cpu/amd/model_10xxx/mc_patch_010000c4.h coreboot/src/cpu/dmp/vortex86ex/dmp_kbd_fw_part1.inc coreboot/src/cpu/via/nano/nano_ucode_blob.c coreboot/src/soc/intel/baytrail/microcode/M0C3068_00000808.h coreboot/src/soc/intel/baytrail/microcode/M0C3067_0000031E.h coreboot/src/cpu/intel/model_2065x/microcode-m1220652_0000000d.h coreboot/src/soc/intel/baytrail/microcode/M0C30678_00000816.h @@ -19,6 +19,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + echo "Adding SeaBIOS and SeaVGABIOS to the ROM's" # Because the DEBLOB script isn't included in the binary archives. @@ -24,6 +24,8 @@ # MAKE SURE THAT YOU RAN "buildall" OR "builddeps" *AT LEAST ONCE* # BEFORE RUNNING THIS! +set -u -e -v + echo "running 'make clean' in coreboot" # prepare coreboot diff --git a/build-release b/build-release index 84e3575..96f5ed6 100755 --- a/build-release +++ b/build-release @@ -19,6 +19,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # MAKE SURE THAT YOU RAN "buildall" OR "builddeps" *AT LEAST ONCE* # You should also run the 'build' script before running this @@ -22,6 +22,8 @@ # IF YOUR DISTRO DOESN'T USE "apt-get", ADAPT WHAT YOU SEE IN "builddeb" # AND INSTALL THE BUILD DEPENDENCIES NEEDED TO RUN THIS BUILD SCRIPT! +set -u -e -v + # Clean old builds first: # ------------------------------------------------------ ./cleandeps @@ -27,6 +27,8 @@ # NOTE: If you downloaded the "meta" archive and ran "getall", then # you do not need to run this at all. getall does all of the below: +set -u -e -v + # Build utilities needed in coreboot directory # -------------------------------------------------------------------- diff --git a/builddeps-bucts b/builddeps-bucts index e9dd569..7a11a3c 100755 --- a/builddeps-bucts +++ b/builddeps-bucts @@ -26,6 +26,8 @@ # "getbucts" script also makes use of this script. +set -u -e -v + # Build BUC.TS utility (needed for flashing ROM's on X60/T60 while Lenovo BIOS is running) # -------------------------------------------------------------------- diff --git a/builddeps-cbfstool b/builddeps-cbfstool index c9c07e3..ee1240e 100755 --- a/builddeps-cbfstool +++ b/builddeps-cbfstool @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # DO NOT RUN THIS IN libreboot_src OR libreboot_meta # THIS IS FOR libreboot_bin diff --git a/builddeps-coreboot b/builddeps-coreboot index cbc80fd..a5d476b 100755 --- a/builddeps-coreboot +++ b/builddeps-coreboot @@ -26,6 +26,8 @@ # This is also used by the "getcb" script. +set -u -e -v + # Build utilities needed in coreboot directory # -------------------------------------------------------------------- diff --git a/builddeps-flashrom b/builddeps-flashrom index 42db84d..e659b3c 100755 --- a/builddeps-flashrom +++ b/builddeps-flashrom @@ -24,6 +24,8 @@ # To build flashrom, you will need the dependencies in "builddeb". # Run it, or adapt it if you do not use an "apt-get" distro. +set -u -e -v + # Build "flashrom" (utility for flashing/dumping ROM's) # -------------------------------------------------------------------- diff --git a/builddeps-grub b/builddeps-grub index f6d6910..7522558 100755 --- a/builddeps-grub +++ b/builddeps-grub @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # This script is used by the main "builddeps" script in libreboot src/meta archives. # The reason it is seperated here is so that grub can be built separately aswell. diff --git a/builddeps-grubinvaders b/builddeps-grubinvaders index 93f6f2f..c39e5db 100755 --- a/builddeps-grubinvaders +++ b/builddeps-grubinvaders @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # This script is used by the main "builddeps" script in libreboot src/meta archives. # The reason it is seperated here is so that MemTest86+ can be built separately aswell. diff --git a/builddeps-i945pwm b/builddeps-i945pwm index b24403f..6e7f7e7 100755 --- a/builddeps-i945pwm +++ b/builddeps-i945pwm @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # To build i945-pwm, you will need the dependencies in "builddeb". # Run it, or adapt it if you do not use an "apt-get" distro. diff --git a/builddeps-memtest86 b/builddeps-memtest86 index e0b85fb..7b9c000 100755 --- a/builddeps-memtest86 +++ b/builddeps-memtest86 @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # This script is used by the main "builddeps" script in libreboot src/meta archives. # The reason it is seperated here is so that MemTest86+ can be built separately aswell. diff --git a/builddeps-seabios b/builddeps-seabios index 0cf0382..517957d 100755 --- a/builddeps-seabios +++ b/builddeps-seabios @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # This script is used by the main "builddeps" script in libreboot src/meta archives. # The reason it is seperated here is so that coreboot can be built separately aswell. diff --git a/buildrom-withgrub b/buildrom-withgrub index e9d511a..1f06038 100755 --- a/buildrom-withgrub +++ b/buildrom-withgrub @@ -19,6 +19,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # DO NOT RUN THIS DIRECTLY! # Use "build" @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # Clean all previous builds. # clean coreboot utilities (dependencies for 'build'): diff --git a/deps-parabola b/deps-parabola index 01bbb2a..46302ae 100755 --- a/deps-parabola +++ b/deps-parabola @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # Install build dependencies # For parabola. This might also work on other pacman distributions. diff --git a/deps-trisquel b/deps-trisquel index 6779824..4d886a3 100755 --- a/deps-trisquel +++ b/deps-trisquel @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # Install build dependencies # For trisquel. This might also work on other apt-get distributions. @@ -18,6 +18,10 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +## Don't add here. errors are expected. +# set -u -e -v +set -v + # USE ROOT OR SUDO WHEN EXECUTING THIS # uses flashrom to flash the rom @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # For libreboot_meta.tar.gz # This downloads all of the source code present in libreboot_src.tar.gz @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # Get bucts and checkout last revision used # Remove the old version that may exist @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # This grabs current base used, and applies patches # This is also used to run deblob scripts. diff --git a/getflashrom b/getflashrom index a107ad7..8b2a409 100755 --- a/getflashrom +++ b/getflashrom @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # Get flashrom at the last previously tested revision # Remove the old version that may still exist: @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # Get GRUB, revert to commit last used and apply patches. # Remove the old version that may still exist diff --git a/getgrubinvaders b/getgrubinvaders index e082040..30050b6 100755 --- a/getgrubinvaders +++ b/getgrubinvaders @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # Get the last version of MemTest86+ used, apply patches, build it. # You need the dependencies from ./builddeb to use this script. @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # Get the last version of MemTest86+ used, apply patches, build it. # You need the dependencies from ./builddeb to use this script. @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # Get GRUB, revert to commit last used and apply patches. # Remove the old version that may still exist diff --git a/lenovobios_firstflash b/lenovobios_firstflash index a2a11a9..611abf4 100755 --- a/lenovobios_firstflash +++ b/lenovobios_firstflash @@ -18,6 +18,10 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +## Don't add here. errors are expected. +# set -u -e -v +set -v + # USE ROOT OR SUDO WHEN EXECUTING THIS # for T60 or X60 owners with Lenovo BIOS diff --git a/lenovobios_secondflash b/lenovobios_secondflash index e336f98..668419c 100755 --- a/lenovobios_secondflash +++ b/lenovobios_secondflash @@ -18,6 +18,10 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +## Don't add here. errors are expected. +# set -u -e -v +set -v + # USE ROOT OR SUDO WHEN EXECUTING THIS # for T60 or X60 owners with Lenovo BIOS diff --git a/macbook21_firstflash b/macbook21_firstflash index 24bd5cf..90d323f 100755 --- a/macbook21_firstflash +++ b/macbook21_firstflash @@ -18,6 +18,10 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +## Don't add this here. Errors are *expected* +# set -u -e -v +set -v + # USE ROOT OR SUDO WHEN EXECUTING THIS # uses flashrom to flash the rom diff --git a/powertop.trisquel6 b/powertop.trisquel6 index 4483673..2b9ee64 100755 --- a/powertop.trisquel6 +++ b/powertop.trisquel6 @@ -18,6 +18,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + # For Trisquel 6.0 (and 6.0.1) users. # This may also work on other apt distros. diff --git a/resources/utilities/grub-assemble/gen.sh b/resources/utilities/grub-assemble/gen.sh index 880fa66..fb1896b 100755 --- a/resources/utilities/grub-assemble/gen.sh +++ b/resources/utilities/grub-assemble/gen.sh @@ -4,6 +4,8 @@ # notice and this notice are preserved. This file is offered as-is, # without any warranty. +set -u -e -v + # TODO: Fail (and clean up) if GRUB isn't actually built. Error checking. # This is where GRUB is expected to be (outside of the grub-assemble, instead in main checkout) diff --git a/resources/utilities/grub-assemble/grub_memdisk_keymap b/resources/utilities/grub-assemble/grub_memdisk_keymap index 98bf3e0..2ef0113 100755 --- a/resources/utilities/grub-assemble/grub_memdisk_keymap +++ b/resources/utilities/grub-assemble/grub_memdisk_keymap @@ -19,6 +19,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +set -u -e -v + for keymap in $(ls keymap/original) do printf "/boot/grub/layouts/$keymap.gkb=keymap/$keymap.gkb " |