Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Nov 20, 2023
1 parent 6dcad96 commit 300a8c7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions stages/arch/pikvm/Dockerfile.part
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN pkg-install --assume-installed tessdata \
&& if [[ $PLATFORM =~ ^v4.*$ ]]; then pkg-install flashrom-pikvm; fi

ENV PART_OPTS nodev,nosuid,noexec,ro,errors=remount-ro
RUN echo "LABEL=PIPST /var/lib/kvmd/pst ext4 $PART_OPTS,X-kvmd.pst-user=kvmd-pst 0 2" >> /etc/fstab
RUN echo "LABEL=PIPST /var/lib/kvmd/pst ext4 $PART_OPTS,X-kvmd.pst-user=kvmd-pst 0 2" >> /etc/fstab
RUN systemctl enable kvmd-bootconfig \
&& systemctl enable kvmd \
&& systemctl enable kvmd-pst \
Expand All @@ -45,8 +45,7 @@ RUN systemctl enable kvmd-bootconfig \
&& if [[ $PLATFORM =~ ^v0.*$ ]]; then systemctl mask [email protected]; fi \
&& if [[ $PLATFORM =~ ^v[234].*$ ]]; then \
systemctl enable kvmd-otg \
&& echo "LABEL=PIMSD /var/lib/kvmd/msd ext4 $PART_OPTS,X-kvmd.otgmsd-user=kvmd 0 2" >> /etc/fstab \
\
&& echo "LABEL=PIMSD /var/lib/kvmd/msd ext4 $PART_OPTS,X-kvmd.otgmsd-user=kvmd 0 2" >> /etc/fstab \
; fi \
&& if [[ $BOARD =~ ^rpi4|zero2w$ && $PLATFORM =~ ^v[234].*-hdmi$ ]]; then systemctl enable kvmd-janus; fi \
&& if [[ $BOARD =~ ^rpi3$ && $PLATFORM =~ ^v[1].*-hdmi$ ]]; then systemctl enable kvmd-janus; fi \
Expand Down

0 comments on commit 300a8c7

Please sign in to comment.