It turns out dependencies only get built once, instead of every time
the dep is called, so it needs to be cp until the last file, which is
mv.
TODO do this in a cleaner way.
https://github.com/timo-reymann/deterministic-zip
This solves a logistics issue; zip files always include the modified
timestamp of a file. This doesn't sound bad until you realize that
GitHub Actions always re-clones the entire repository, and the
timestamp is guaranteed to be different.
Because of this, every time we run our Actions workflow, the zip will
have a different checksum, causing git to re-commit *every single file*
to the frontend repository, causing long workflow times due to the
sheer size of each commit.
deterministic-zip hopefully solves this issue by forcing the modified
timestamp to one hardcoded in its binary, so here is to hoping we don't
abuse our git repo any further.
Based on WAIO 1.25g with modifications by lifehackerhansol
https://github.com/lifehackerhansol/WoodAIO
Changelog:
- Updated flashcard-bootstrap to 1.3.0 (small reduction in size)
- Switched to open-source Acekard AK2 DLDI
- Switched to mixinfo.dat version of ak2loader
- Taken from r4isdhc.hk 2019 1.72 kernel
- This fixes ACWW (which seems to be a RAM limitation in the infolib
loader)
- No other regressions found so far
- Removed unnecessary files
- system.sys is now dynamically generated instead of a static 4MB file
- Have individual makefiles for different boot files
- R4iTT: ARM9 entry 0x02000800
- Amaze3DS: ARM9 entry 0x02000000
- EDGEi: Same as R4iTT, but renamed to `dsedgei.dat`
- Include each makefile from individual folders, copy needed things and
zip