Add a Dockerfile, update the hash in the main.cpp to match the docker output

This commit is contained in:
Maschell 2020-12-04 12:30:15 +01:00
parent 6f8ae89820
commit 015c7fc5b5
3 changed files with 23 additions and 1 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM wiiuenv/devkitppc:20200810
COPY --from=wiiuenv/libiosuhax:20200812 /artifacts $DEVKITPRO
COPY --from=devkitpro/devkitarm:20200730 $DEVKITPRO/devkitARM $DEVKITPRO/devkitARM
ENV DEVKITARM=/opt/devkitpro/devkitARM
WORKDIR project

14
README.md Normal file
View File

@ -0,0 +1,14 @@
## Building using the Dockerfile
It's possible to use a docker image for building. This way you don't need anything installed on your host system.
```
# Build docker image (only needed once)
docker build . -t aromainstaller-builder
# make
docker run -it --rm -v ${PWD}:/project aromainstaller-builder make
# make clean
docker run -it --rm -v ${PWD}:/project aromainstaller-builder make clean
```

View File

@ -18,7 +18,7 @@ constexpr bool strings_equal(char const *a, char const *b) {
return std::string_view(a) == b;
}
static_assert(strings_equal(RPX_HASH, "116cff322148216f38b1eaaf296d1cffc6a3a98f"), "Built with an untested root.rpx! Remove this check if you really know what you're doing.");
static_assert(strings_equal(RPX_HASH, "6c9eab8fc74a4c9d583d6fdac19c2f012f9a94e6"), "Built with an untested root.rpx! Remove this check if you really know what you're doing.");
void initIOSUHax();