1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-11 23:43:19 +00:00

Fix Dockerfile_maiko so osversion is restored after building the wsl1 lde executables.

This commit is contained in:
Frank Halasz 2025-06-03 22:27:16 -07:00
parent 5d3639a905
commit 389ecf7874

View File

@ -26,9 +26,12 @@ RUN cd ${INSTALL_LOCATION}/bin \
RUN cd ${INSTALL_LOCATION}/bin \
&& arch="$(./machinetype)" \
&& if [ "$arch" = "x86_64" ] || [ "$arch" = "aarch64" ]; then \
echo "#!/bin/sh" > osversion \
mv osversion oserversion.hold \
&& echo "#!/bin/sh" > osversion \
&& echo "echo wsl1" >> osversion \
&& ./makeright x cleanup \
&& ./makeright x \
&& ./makeright init; \
&& ./makeright init \
&& mv osversion.hold osversion \
; \
fi