mirror of https://github.com/pragma-/pbot.git
Policykit
This commit is contained in:
parent
534a861298
commit
ee012cf048
|
@ -1,7 +1,7 @@
|
|||
FROM perl:5.34
|
||||
|
||||
# Install system dependencies.
|
||||
RUN apt-get update && apt-get install -y clang gcc clang g++ tcl ghc git cpanminus dos2unix
|
||||
RUN apt-get update && apt-get install -y clang gcc clang g++ tcl ghc git cpanminus dos2unix policykit-1
|
||||
|
||||
# Need the sources.
|
||||
COPY . /opt/pbot
|
||||
|
@ -12,6 +12,9 @@ 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/*
|
||||
|
|
Loading…
Reference in New Issue