Commit Graph

162 Commits

Author SHA1 Message Date
Hamish Coleman
55e0f0d0a3 Ensure that hexpatch emits an error if we are configured to use a patch and dont have it 2019-08-23 23:14:11 +02:00
Hamish Coleman
8759538255 After finishing tests, generate some reporting output. This can be used as a published set of known good hashes. In the future, it might be possible to upload this data somewhere more accessible 2019-08-18 17:59:28 +02:00
Hamish Coleman
b32edc57ce Clean up the config file on really_clean 2019-08-06 16:34:32 +01:00
Hamish Coleman
7f9800d203 Add a rudimentary config file - this (finally) removes the need to ever build in a dirty checkout, which makes the build strings and debuging clearer 2019-08-06 16:20:26 +01:00
Hamish Coleman
a52037dc8b To increase debugging information available for boot issues, ensure that the final ISO checksum is also shown 2019-08-06 15:34:31 +01:00
Hamish Coleman
b1f48cd8c3 Adjust build report to reduce the significance of the original ISO download 2019-08-06 15:23:53 +01:00
Hamish Coleman
286170a813 Add more output quieting steps 2019-03-11 19:34:01 +08:00
Hamish Coleman
c70ee15944 Ensure files extracted from old ISO images have a timestamp that matches the build 2019-03-11 19:33:39 +08:00
Hamish Coleman
046597de6f Make the build process somewhat quieter - there is still room for improvements here though 2019-03-11 19:17:23 +08:00
Hamish Coleman
eebd92683f Ensure that the full patched test tries to generate both ISO and IMG outputs 2019-03-11 19:16:02 +08:00
Hamish Coleman
faf4227818 Rename the img extraction test to hopefully be more clear 2019-03-11 19:15:23 +08:00
Hamish Coleman
460ff2c249 Increase build repeatability by removing inconsequential changes in the output img file 2019-02-15 11:55:14 +08:00
Hamish Coleman
3bb7490858 Add new dependancy - required for the old x60 ISO file extraction 2019-02-15 10:56:28 +08:00
Hamish Coleman
b96bca2c41 Add descriptions and rules for extracting EC firmware from old x60 BIOS updates 2019-02-15 09:46:44 +08:00
Hamish Coleman
1f354d4c8a Quieten down the downloading of ISO files 2019-02-15 09:34:51 +08:00
Hamish Coleman
046b26bdda Add a test for all possible extracted firmwares 2019-02-14 22:09:42 +08:00
Hamish Coleman
ee69775ebc Update Copyright notices for a new year 2019-02-14 20:57:10 +08:00
Hamish Coleman
eb2ba3eb0b Notice that another year has gone past and update the copyright headers 2018-11-30 09:27:50 +08:00
Hamish Coleman
617a8bcfb9 It seems that we cannot rely on knowing where any program is anymore, so avoid specifying where bash is 2018-10-25 16:31:04 +01:00
Hamish Coleman
c4dbfb0f18 Ensure needed packages are installed by travis 2018-05-28 10:27:35 +08:00
Hamish Coleman
99930d12aa Add a simple buildability test target 2018-05-28 10:22:19 +08:00
Hamish Coleman
5965053327 Do not destroy made artifacts - this is important for g4uj30us.iso which is used by two different patched outputs 2018-05-28 10:21:55 +08:00
Hamish Coleman
75adc627d2 Bulk downloads are always precious - so dont delete them even if they are only an intermediate target 2018-03-30 12:55:29 +08:00
Hamish Coleman
4afe96c062 Add a make target for installing prerequisite packages 2018-02-17 12:04:17 +08:00
Hamish Coleman
d16e339a51 Allow keeping files with bad checksums, for investigation 2018-02-15 11:19:39 +08:00
Hamish Coleman
95b63fa943 Force a specific shell to be used (ref #59)
This allows us to use options to echo that in turn allow it to interpret
the tab escape sequence.  Some systems would be using other shells by default,
so this should make the environment more consistant.
2018-02-01 20:14:16 +11:00
Hamish Coleman
9450b50a99 Ensure mtools has a known output format (fixes #43) 2017-09-19 15:51:32 +08:00
Hamish Coleman
0fa73ec043 The E330 firmware update had a different FAT_OFFSET to everything else, note that we need to deal with that 2017-09-05 11:37:57 +08:00
Hamish Coleman
615f87dd2b Remove the last manually maintained list from the Makefile - all lists of rules are now generated from the Descriptions.txt 2017-07-03 19:02:49 +08:00
Hamish Coleman
c0b2178942 Remove most of the variables from the autoexec.bat template
Instead use a *.report file for each component and add data as we
go, culminating in the built image simply catting the report to the
screen to show the user what is about to occur.

This is on the path towards removing all variables from the autoexec
template - which would make it simpler to reuse the same template for
other commands (e.g the x200 series does not use dosflash.exe)
2017-07-03 18:17:54 +08:00
Hamish Coleman
409f88c75c Rename the FL2 copy script to make it clear that it deals with ISO files - and use the same naming as the IMG copy script 2017-07-03 17:43:53 +08:00
Hamish Coleman
bafb93e668 Add example macros to special case the x200 ISO image - which has two FL2 files 2017-07-03 17:23:15 +08:00
Hamish Coleman
f2401e68e9 the mtools mdel command has no option to ignore failure, which makes an ugly error show when non UEFI images are processed (like the x200 ones) 2017-07-03 17:20:44 +08:00
Hamish Coleman
2d87c9daff Wrap the rule_IMG_extract macro with failsafe tmp files 2017-07-03 14:43:28 +08:00
Hamish Coleman
72558c31a3 Quick hack to fix bug with ISO images that have multiple FL2 files 2017-07-03 14:43:05 +08:00
Hamish Coleman
ffe384c17d Cleanup old make rules - no longer used 2017-07-03 14:42:30 +08:00
Hamish Coleman
b9b1e2977f use the Descriptions file to generate most of the static rules 2017-07-03 14:12:42 +08:00
Hamish Coleman
ae52989189 Remove the last set of the *.slice files and replace them with a script that can generically extract all currently known firmware images from their FL2 files 2017-07-01 09:22:52 +08:00
Hamish Coleman
d0c011aecf Remove the .orig from all the Descriptions.txt entries - this will make it easier to create automatic rules in the future 2017-06-30 11:36:36 +08:00
Hamish Coleman
258c3542f1 Remove accidental duplicate rule 2017-06-30 11:17:07 +08:00
Hamish Coleman
e6a5dbec6f Remove an overzelous checksum check - which also fixes a bug, since it was checking the wrong file anyway 2017-06-30 09:19:35 +08:00
Hamish Coleman
4926788cd1 Merge branch 'ypid-fix-x260-and-x270' 2017-06-30 09:11:25 +08:00
Hamish Coleman
64112afd75 Ensure that the iso extract targets dont ever pause for interactive input 2017-06-30 09:00:15 +08:00
Hamish Coleman
02e0f1b052 Add a TODO note 2017-06-29 14:13:05 +08:00
Robin Schneider
e5f5b685f6
Remove x260.R02HT29W.img target which is not yet usable and confusing 2017-06-29 07:59:13 +02:00
Hamish Coleman
e5537cfdb0 Make the .txt.orig downloader more generic.
As two examples - When looking at the release notes for the x200 laptop,
they have the same "uc" name as the cdrom image.  The release notes for
the x270 laptop also has the same name as the cdrom image, but they use
neither the "uc" nor the "us" suffixes.

So, it seemed simplest to be the least smart and just download whatever
matches the cdrom image name.

This has the drawback that we sometimes end up with text files that tell
you how to use the windows .exe installer - but I am hoping that the
people reading these release notes will be able to realise that not all
instructions should be followed...
2017-06-29 13:01:44 +08:00
Hamish Coleman
43506237f0 Allow the makefile to explicitly specify to copyFL2 which FL2 file should be worked on 2017-06-29 12:51:03 +08:00
Hamish Coleman
ff38536430 Merge branch 'ypid-add_mount_and_extract_target' 2017-06-29 11:52:08 +08:00
Hamish Coleman
f28d0a1984 Update the docs with details on how extracting the ISO contents works.
This also documents the new .extract make targets and moves the direct
loopback mount option entirely into the documentation.  It has been
moved because I want to discourage people from using it - I consider
it to be a higher risk with no good return for this risk.
2017-06-29 11:47:21 +08:00
Hamish Coleman
73d2a249a0 Remove the fix-hdd-image patch files and replace them with a generic MBR fixer script 2017-06-25 20:10:56 +08:00