diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bfde3ef --- /dev/null +++ b/Dockerfile @@ -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 \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..8b032bd --- /dev/null +++ b/README.md @@ -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 +``` \ No newline at end of file diff --git a/source/main.cpp b/source/main.cpp index fe7b3e7..aa45c34 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -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();