mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-02 21:00:55 +00:00
fix(build): remove unused environment variables
This commit is contained in:
parent
349664abf1
commit
aa7d3e369a
6
.github/workflows/nightly.yml
vendored
6
.github/workflows/nightly.yml
vendored
@ -27,16 +27,12 @@ jobs:
|
||||
targets: "${{ matrix.arch }}-unknown-linux-gnu,${{ matrix.arch }}-unknown-linux-musl"
|
||||
- run: ./hack/ci/install-linux-deps.sh
|
||||
- run: ./hack/dist/bundle.sh
|
||||
env:
|
||||
KRATA_KERNEL_BUILD_JOBS: "5"
|
||||
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
||||
with:
|
||||
name: krata-bundle-systemd-${{ matrix.arch }}
|
||||
path: "target/dist/bundle-systemd-${{ matrix.arch }}.tgz"
|
||||
compression-level: 0
|
||||
- run: ./hack/dist/deb.sh
|
||||
env:
|
||||
KRATA_KERNEL_BUILD_SKIP: "1"
|
||||
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
||||
with:
|
||||
name: krata-debian-${{ matrix.arch }}
|
||||
@ -51,8 +47,6 @@ jobs:
|
||||
path: "target/dist/*_${{ matrix.arch }}.apk"
|
||||
compression-level: 0
|
||||
- run: ./hack/os/build.sh
|
||||
env:
|
||||
KRATA_KERNEL_BUILD_SKIP: "1"
|
||||
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
||||
with:
|
||||
name: krata-os-${{ matrix.arch }}
|
||||
|
5
hack/dist/bundle.sh
vendored
5
hack/dist/bundle.sh
vendored
@ -4,11 +4,6 @@ set -e
|
||||
# shellcheck source-path=SCRIPTDIR source=common.sh
|
||||
. "$(dirname "${0}")/common.sh"
|
||||
|
||||
if [ -z "${KRATA_KERNEL_BUILD_JOBS}" ]
|
||||
then
|
||||
KRATA_KERNEL_BUILD_JOBS="2"
|
||||
fi
|
||||
|
||||
TARGET_ARCH="$("${KRATA_DIR}/hack/build/arch.sh")"
|
||||
BUNDLE_TAR="${OUTPUT_DIR}/bundle-systemd-${TARGET_ARCH}.tgz"
|
||||
rm -f "${BUNDLE_TAR}"
|
||||
|
@ -7,7 +7,7 @@ remove_service_if_exists() {
|
||||
UNIT_PATH="$(systemctl show -P FragmentPath "${1}")"
|
||||
if [ -f "${UNIT_PATH}" ]
|
||||
then
|
||||
echo "[WARN] disabling removing systemd unit ${UNIT_PATH}" > /dev/stderr
|
||||
echo "[WARN] disabling and removing systemd unit ${UNIT_PATH}" > /dev/stderr
|
||||
systemctl disable --now "${1}" || true
|
||||
rm "${UNIT_PATH}"
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/sbin/openrc-run
|
||||
description="Krata Control Daemon"
|
||||
description="Krata Isolation Engine"
|
||||
command="/usr/libexec/kratad"
|
||||
supervisor="supervise-daemon"
|
||||
output_log="/var/log/kratad.log"
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=Krata Control Daemon
|
||||
Description=Krata Isolation Engine
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=Krata Networking Daemon
|
||||
Description=Krata Networking Engine
|
||||
|
||||
[Service]
|
||||
Wants=kratad.service
|
||||
|
Loading…
Reference in New Issue
Block a user