mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
Merge pull request #168 from MisterSheeple/patch-2
Add one-liner to Dockerfile that makes all devkitPPC executables the preferred ones
This commit is contained in:
@@ -32,6 +32,10 @@ RUN rm install-devkitpro-pacman
|
||||
RUN if [ ! -e /etc/mtab ]; then ln -s /proc/self/mounts /etc/mtab; fi
|
||||
## and finally, we get to install devkitPPC
|
||||
RUN dkp-pacman -S devkitPPC --noconfirm
|
||||
## dear fucking god this is hacky but it works (needed otherwise next step fails)
|
||||
RUN rm /usr/bin/cpp /usr/bin/g++
|
||||
## set devkitPPC executables as the default ones
|
||||
RUN for file in $(find "/opt/devkitpro/devkitPPC/bin" -type f -name 'powerpc-eabi*'); do new_file=$(basename "$file" | sed 's/powerpc-eabi-//g'); update-alternatives --install "/usr/bin/$new_file" "$new_file" "$file" 0; done
|
||||
|
||||
# --- stage ultralib headers ---
|
||||
RUN mkdir -p /N64_SDK/ultra/usr/
|
||||
|
||||
Reference in New Issue
Block a user