mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 11:12:42 +01:00
compiler_vm: update comments
This commit is contained in:
parent
31aa1d5869
commit
871327efb2
@ -1,14 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
# File: setup-guest
|
||||
#
|
||||
# Purpose: Sets up PBot VM Guest. Copies necessary files to the appropriate
|
||||
# location, sets up environment variables and various configuration details.
|
||||
|
||||
# SPDX-FileCopyrightText: 2022 Pragmatic Software <pragma78@gmail.com>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
# copy executable scripts
|
||||
cp guest/bin/* /usr/local/bin
|
||||
|
||||
# language support
|
||||
mkdir -p /usr/local/share/pbot-vm/
|
||||
cp -r guest/lib/Languages/ /usr/local/share/pbot-vm/
|
||||
|
||||
# C support and GDB integration
|
||||
cp guest/include/prelude.h /usr/include
|
||||
|
||||
# require root password for polkit actions
|
||||
cp guest/polkit/* /etc/polkit-1/rules.d/
|
||||
|
||||
# disable networking
|
||||
nmcli networking off
|
||||
|
||||
# set environment variables
|
||||
if ! grep -qF "pbot-vm" /root/.bashrc; then
|
||||
echo '# pbot-vm' >> /root/.bashrc
|
||||
echo unset DEBUGINFOD_URLS >> /root/.bashrc
|
||||
|
@ -1,8 +1,12 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
# File: start-guest
|
||||
#
|
||||
# Purpose: PBot VM Guest server. Runs inside PBot VM Guest and processes
|
||||
# incoming VM commands.
|
||||
|
||||
# SPDX-FileCopyrightText: 2022 Pragmatic Software <pragma78@gmail.com>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
|
Loading…
Reference in New Issue
Block a user