Skip to content

Commit 359576f

Browse files
committed
Add OPA
1 parent 4dd6849 commit 359576f

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

meta-secret-vm/recipes-core/images/secret-vm-rootfs-common.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ LICENSE = "MIT"
44
inherit core-image
55

66
IMAGE_INSTALL = "base-files \
7+
opa \
78
busybox \
89
systemd \
910
secret-vm-attest-rest-server \
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
SUMMARY = "OPA policies for SecretVM"
2+
DESCRIPTION = "${SUMMARY}"
3+
LICENSE = "MIT"
4+
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5+
6+
SRC_URI = "git://github.com/scrtlabs/secret-vm-ops.git;branch=master;protocol=https"
7+
SRCREV = "37770daf878f6f020b008d1c731b8d88cd40ee54"
8+
S = "${WORKDIR}/git/opa"
9+
10+
do_install() {
11+
install -d ${D}${sysconfdir}/docker/config
12+
install -m 0644 ${S}/opa-config.yaml ${D}${sysconfdir}/docker/config/opa-config.yaml
13+
install -d ${D}/var/www/html
14+
install -m 0644 ${S}/bundle.tar.gz ${D}/var/www/html/bundle.tar.gz
15+
}

meta-secret-vm/recipes-core/secret-vm-scripts/secret-vm-scripts.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LICENSE = "MIT"
44
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
55

66
SRC_URI = "git://github.com/scrtlabs/secret-vm-ops.git;branch=master;protocol=https"
7-
SRCREV = "596ff9fe96fea42e03795be8cacf10c3ec34eb57"
7+
SRCREV = "37770daf878f6f020b008d1c731b8d88cd40ee54"
88
S = "${WORKDIR}/git"
99

1010
PACKAGES += "${PN}-gpu"

0 commit comments

Comments
 (0)