Skip to content

Commit 389ecf7

Browse files
committed
Fix Dockerfile_maiko so osversion is restored after building the wsl1 lde executables.
1 parent 5d3639a commit 389ecf7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/Dockerfile_maiko

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@ RUN cd ${INSTALL_LOCATION}/bin \
2626
RUN cd ${INSTALL_LOCATION}/bin \
2727
&& arch="$(./machinetype)" \
2828
&& if [ "$arch" = "x86_64" ] || [ "$arch" = "aarch64" ]; then \
29-
echo "#!/bin/sh" > osversion \
29+
mv osversion oserversion.hold \
30+
&& echo "#!/bin/sh" > osversion \
3031
&& echo "echo wsl1" >> osversion \
3132
&& ./makeright x cleanup \
3233
&& ./makeright x \
33-
&& ./makeright init; \
34+
&& ./makeright init \
35+
&& mv osversion.hold osversion \
36+
; \
3437
fi

0 commit comments

Comments
 (0)