Hamish Coleman
c4dbfb0f18
Ensure needed packages are installed by travis
6 years ago
Hamish Coleman
99930d12aa
Add a simple buildability test target
6 years ago
Hamish Coleman
5965053327
Do not destroy made artifacts - this is important for g4uj30us.iso which is used by two different patched outputs
6 years ago
Hamish Coleman
75adc627d2
Bulk downloads are always precious - so dont delete them even if they are only an intermediate target
7 years ago
Hamish Coleman
4afe96c062
Add a make target for installing prerequisite packages
7 years ago
Hamish Coleman
d16e339a51
Allow keeping files with bad checksums, for investigation
7 years ago
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.
7 years ago
Hamish Coleman
9450b50a99
Ensure mtools has a known output format ( fixes #43 )
7 years ago
Hamish Coleman
0fa73ec043
The E330 firmware update had a different FAT_OFFSET to everything else, note that we need to deal with that
7 years ago
Hamish Coleman
615f87dd2b
Remove the last manually maintained list from the Makefile - all lists of rules are now generated from the Descriptions.txt
7 years ago
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)
7 years ago
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
7 years ago
Hamish Coleman
bafb93e668
Add example macros to special case the x200 ISO image - which has two FL2 files
7 years ago
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)
7 years ago
Hamish Coleman
2d87c9daff
Wrap the rule_IMG_extract macro with failsafe tmp files
7 years ago
Hamish Coleman
72558c31a3
Quick hack to fix bug with ISO images that have multiple FL2 files
7 years ago
Hamish Coleman
ffe384c17d
Cleanup old make rules - no longer used
7 years ago
Hamish Coleman
b9b1e2977f
use the Descriptions file to generate most of the static rules
7 years ago
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
7 years ago
Hamish Coleman
d0c011aecf
Remove the .orig from all the Descriptions.txt entries - this will make it easier to create automatic rules in the future
7 years ago
Hamish Coleman
258c3542f1
Remove accidental duplicate rule
7 years ago
Hamish Coleman
e6a5dbec6f
Remove an overzelous checksum check - which also fixes a bug, since it was checking the wrong file anyway
7 years ago
Hamish Coleman
4926788cd1
Merge branch 'ypid-fix-x260-and-x270'
7 years ago
Hamish Coleman
64112afd75
Ensure that the iso extract targets dont ever pause for interactive input
7 years ago
Hamish Coleman
02e0f1b052
Add a TODO note
7 years ago
Robin Schneider
e5f5b685f6
Remove x260.R02HT29W.img target which is not yet usable and confusing
7 years ago
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...
7 years ago
Hamish Coleman
43506237f0
Allow the makefile to explicitly specify to copyFL2 which FL2 file should be worked on
7 years ago
Hamish Coleman
ff38536430
Merge branch 'ypid-add_mount_and_extract_target'
7 years ago
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.
7 years ago
Hamish Coleman
73d2a249a0
Remove the fix-hdd-image patch files and replace them with a generic MBR fixer script
7 years ago
Robin Schneider
32a071e67f
Remove `-m` from `mcopy` calls used for extracting
7 years ago
Robin Schneider
d3186b5a4a
Add a Makefile target to mount or extract the fat16 fs embedded in ISOs
7 years ago
Hamish Coleman
8eb3d4f571
Rearrange the clean target so we dont recursively delete things
7 years ago
Hamish Coleman
5dbd7f4362
Remove unneeded quotes
7 years ago
Hamish Coleman
94538c3e16
Merge branch 'ypid-add-txt-dl-target'
7 years ago
Hamish Coleman
89e3f0a660
Also support downloading release notes for newer systems, where this is no us/uc crazy naming
7 years ago
Hamish Coleman
ee51f748b8
Verify if txt notes match a known iso
7 years ago
Hamish Coleman
b11165457f
Add a check that the correct qemu hard drive patch exists
7 years ago
Hamish Coleman
4cbc329c4a
Add rm-on-fail to the hexpatch script, allowing more confidence that repeated make invocations will not accidentally succeed
7 years ago
Hamish Coleman
93f327106e
Merge pull request #29 from ypid/fix-docs
...
Fix spelling
7 years ago
Hamish Coleman
91b41539dc
Merge pull request #28 from ypid/clean-.d
...
Ensure DEPSDIR (.d) is removed on `make clean` as well
7 years ago
Hamish Coleman
5b9b1f6d8b
Merge branch 'ypid-nicer_patch_mv'
7 years ago
Hamish Coleman
df8930dfdc
Remove superfluous else case
7 years ago
Hamish Coleman
c7e03d0ae9
With the FL2 slice files gone, update some of the hacking notes
7 years ago
Hamish Coleman
e3d2a200bd
Note that we are too strict with some of the checksums, add the mec tools checks which might replace the checksum
7 years ago
Robin Schneider
a7c0a2e67f
Fix spelling
...
git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's/dependancy/dependency/g;'
7 years ago
Robin Schneider
a641f33032
Ensure DEPSDIR (.d) is removed on `make clean` as well
...
Important because of "The slice.deps targets basically do not handle
add/del/change of the *.slice files."
7 years ago
Robin Schneider
b3a453d3b7
Fix x260 and x270 ec firmware extract
7 years ago
Robin Schneider
397cbf906a
Add simple filename validation before attempting to download
7 years ago