mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-03 23:23:03 +00:00
Enable using LDEARCH to set wsl1 as the osversion. Set LDEARCH to get a WSL1 compile on a standard Linux system in Dockerfile_maiko (and hence in the workflow buildRelease.yml).
This commit is contained in:
8
.github/workflows/Dockerfile_maiko
vendored
8
.github/workflows/Dockerfile_maiko
vendored
@@ -26,14 +26,10 @@ RUN cd ${INSTALL_LOCATION}/bin \
|
||||
RUN cd ${INSTALL_LOCATION}/bin \
|
||||
&& arch="$(./machinetype)" \
|
||||
&& if [ "$arch" = "x86_64" ] || [ "$arch" = "aarch64" ]; then \
|
||||
mv osversion osversion.hold \
|
||||
&& echo "#!/bin/sh" > osversion \
|
||||
&& echo "echo wsl1" >> osversion \
|
||||
&& chmod ugo+x osversion \
|
||||
&& export LDEARCH="${arch}-microsoft-wsl1" \
|
||||
&& ./makeright x cleanup \
|
||||
&& ./makeright x \
|
||||
&& ./makeright init clean \
|
||||
&& ./makeright init \
|
||||
&& mv osversion.hold osversion \
|
||||
&& chmod ugo+x osversion \
|
||||
; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user