mirror of
https://github.com/pragma-/pbot.git
synced 2026-02-18 07:17:58 +01:00
Apples, wtf.
This commit is contained in:
parent
e6f83b226e
commit
0b1ccd6e9f
@ -12,9 +12,6 @@ RUN apt-get install -y socat
|
||||
RUN sed -i -e "s/\/dev\/ttyS2/\/tmp\/ttyS2/g" /opt/pbot/applets/pbot-vm/guest/bin/guest-server
|
||||
RUN sed -i -e "s/\/dev\/ttyS3/\/tmp\/ttyS3/g" /opt/pbot/applets/pbot-vm/guest/bin/guest-server
|
||||
|
||||
# Different location for Policykit
|
||||
RUN sed -i -e "s/\/etc\/polkit-1\/rules.d\//\/usr\/share\/polkit-1\/rules.d\//g" /opt/pbot/apples/pbot-vm/guest/bin/setup-guest
|
||||
|
||||
# Line endings on other platforms.
|
||||
RUN find . -type f -print0 | xargs -0 dos2unix /opt/pbot/applets/pbot-vm/guest/bin/*
|
||||
RUN find . -type f -print0 | xargs -0 dos2unix /opt/pbot/applets/pbot-vm/host/bin/*
|
||||
@ -23,6 +20,9 @@ RUN chmod +x /opt/pbot/applets/pbot-vm/guest/bin/*
|
||||
RUN chmod +x /opt/pbot/applets/pbot-vm/host/bin/*
|
||||
RUN chmod +x /opt/pbot/applets/pbot-vm/entrypoint.sh
|
||||
|
||||
# Different location for Policykit
|
||||
RUN sed -i -e "s/\/etc\/polkit-1\/rules.d\//\/usr\/share\/polkit-1\/rules.d\//g" /opt/pbot/applets/pbot-vm/guest/bin/setup-guest
|
||||
|
||||
# Setup the guest.
|
||||
RUN cd /opt/pbot/applets/pbot-vm && ./guest/bin/setup-guest
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user