- Migrate to single LXD/Incus OVMF handling (lxd-ovmf-setup): * Allow aarch64 arch_vm_support * Remove OVMF symlinks * Require the new lxd-ovmf-setup packages OBS-URL: https://build.opensuse.org/request/show/1233396 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/incus?expand=0&rev=19
24 lines
829 B
Bash
24 lines
829 B
Bash
#!/bin/sh
|
|
# Copyright (C) 2024 Aleksa Sarai <cyphar@cyphar.com>
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
set -Eeuo pipefail
|
|
|
|
export INCUS_SOCKET=/run/incus/unix.socket
|
|
export INCUS_EDK2_PATH=/usr/share/lxd/ovmf
|
|
export PATH="$PATH:@SUSE_LIBEXEC@/incus"
|
|
# Should we use INCUS_AGENT_PATH?
|
|
|
|
exec @SUSE_LIBEXEC@/incus/incusd "$@"
|