537 Commits (master)
 

Author SHA1 Message Date
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
Robin Schneider 7304988790
Fix shell script warnings reported by shellcheck for scripts/checksum
Updates: #32
7 years ago
Hamish Coleman 45a47b1b52 Make the fix mbr script description a little more dscriptive 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
Robin Schneider e08046b2b6
Fix x220 ec firmware image file in radare project file
No fully decrypted version of this file is available yet.

Closes: #26
7 years ago
Hamish Coleman 8eb3d4f571 Rearrange the clean target so we dont recursively delete things 7 years ago
Hamish Coleman 0c7ebb04e4 Add some ISO image details for newer systems. Or: A quick check on just how much different hardware can have the name 'X1' 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 f96dee191f Fix the header describing the xx30.encrypt script 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
Hamish Coleman 40b146e73b Note down source of truth 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
Robin Schneider 179dc64a98
Don’t disable/enable patches which are already in their desired state
Avoids `mv` fail and in turn `make` fail.

```
for i in *.img.d; do mv $i/006_battery_validate.patch $i/006_battery_validate.patch.OFF; done
mv: cannot stat 't430.G1HT35WW.img.d/006_battery_validate.patch': No such file or directory
mv: cannot stat 't430s.G7HT39WW.img.d/006_battery_validate.patch': No such file or directory
mv: cannot stat 't530.G4HT39WW.img.d/006_battery_validate.patch': No such file or directory
mv: cannot stat 'w530.G4HT39WW.img.d/006_battery_validate.patch': No such file or directory
mv: cannot stat 'x230.G2HT35WW.img.d/006_battery_validate.patch': No such file or directory
mv: cannot stat 'x230t.GCHT25WW.img.d/006_battery_validate.patch': No such file or directory
Makefile:126: recipe for target 'patch_disable_battery' failed
make: *** [patch_disable_battery] Error 1
```
7 years ago
Hamish Coleman 2487dcb625 Update makefile table sort order to make a little more sense 7 years ago
Hamish Coleman e92da3082b Minor documentation updates 7 years ago
Hamish Coleman b269af0cde Merge pull request #25 from ypid/fix-gitignore
Ignore the `.d` dir as it only contains generated files
7 years ago
Hamish Coleman d345773270 Merge pull request #24 from ypid/disable_battery_patch_by_default
Disable battery_validate.patch for all supported models to match docs
7 years ago
Hamish Coleman 0ac064a329 Merge pull request #22 from ypid/add_QEMU_OPTIONS
Allow to configure QEMU_OPTIONS to disable -enable-kvm
7 years ago
Hamish Coleman 6c8ac8a76d Merge pull request #18 from evq/x230-swap-capslock-esc
Add patch to swap caps lock and escape
7 years ago
Robin Schneider 66d946f052
Ignore the `.d` dir as it only contains generated files 7 years ago
Robin Schneider 3e461b9094
Disable battery_validate.patch for all supported models to match docs
`docs/CONFIG.txt` notes "The battery patches are disabled by default,
but are easy to enable.".
7 years ago
Robin Schneider 241b00df51
Allow to configure QEMU_OPTIONS to disable -enable-kvm
Not all environments have access to KVM support. For example if you
already work inside a VM (Qubes OS).
7 years ago
Robin Schneider ec0383fdbe
Add makefile target to download README text file for ISO images 7 years ago
Hamish Coleman bd80d6bc6b Stop using the *.FL2.slice files - replace them with mcopy.
Note that this has the disadvantage that the resulting patched ISO images
are no longer easily diffable - the sectors used to store the patched
firmware will be changed by the mcopy program.

Since it turns out that the ISO image diff files were basically never
used, this is not a big issue - it mainly makes it harder to do QA on
the output.
7 years ago
Hamish Coleman 47b3a6a1b2 Make the rule defines slightly better named and slightly better commented 7 years ago
Hamish Coleman 7e614e9da5 BUG: fix the deps on the creation of the batch files 7 years ago
Hamish Coleman f78f9c2419 Make unknown files cause an error immediately 7 years ago
Hamish Coleman c9d9dcb61e Make the descriptions file look more important by capitalising it 7 years ago
Hamish Coleman 61cdddaa9a Remove the many little .sha1 files and add this information to the description file 7 years ago
Hamish Coleman c666443e40 Use a script to describe files 7 years ago
Hamish Coleman 3c42a4eea3 Move all scripts into their own dir 7 years ago
Hamish Coleman 453e9e67a5 Replace lots of little description files with one big one 7 years ago
Hamish Coleman e3aff27cc3 Remove the automated list_iso as it duplicates the more flexible list_laptops output 7 years ago
Hamish Coleman fd3ba888c7 Update t430 to use bios 2.72 (G1ETB2WW) ISO (no EC changes) - fixes issue #19 7 years ago