Skip to content

Commit

Permalink
Unificated buildable kas files (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
stlachev authored Aug 21, 2023
1 parent b903b77 commit 29eb856
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@ local_conf_header:
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
KANTO_MANIFESTS_DIR = "/data/var/containers/manifests"
KANTO_MANIFESTS_DEV_DIR = "/data/var/containers/manifests_dev"
# Set the values to the default value, to prevent user warnings during our build
CLOUDCONNECTOR_CERTIFICATE_CERTFILE = "${S}/cloud-connector/example-device.crt"
CLOUDCONNECTOR_CERTIFICATE_KEYFILE = "${S}/cloud-connector/example-device.key"
DISTRO_FEATURES += " wifi"
meta-rauc: |
RAUC_KEY_FILE = "${COREBASE}/../examples/rauc/development-1.key.pem"
RAUC_CERT_FILE = "${COREBASE}/../examples/rauc/development-1.cert.pem"
RAUC_KEYRING_URI = "file://${TOPDIR}/../examples/rauc/ca.cert.pem"
RAUC_KEYRING_FILE = "${TOPDIR}/../examples/rauc/ca.cert.pem"
repos:
# This entry includes the repository where the config file is located
# to the bblayers.conf:
Expand Down
6 changes: 6 additions & 0 deletions kas/.config-kirkstone-rpi4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ local_conf_header:
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
KANTO_MANIFESTS_DIR = "/data/var/containers/manifests"
KANTO_MANIFESTS_DEV_DIR = "/data/var/containers/manifests_dev"
# Set the values to the default value, to prevent user warnings during our build
CLOUDCONNECTOR_CERTIFICATE_CERTFILE = "${S}/cloud-connector/example-device.crt"
CLOUDCONNECTOR_CERTIFICATE_KEYFILE = "${S}/cloud-connector/example-device.key"
DISTRO_FEATURES += " wifi"
meta-rauc: |
RAUC_KEY_FILE = "${COREBASE}/../examples/rauc/development-1.key.pem"
Expand All @@ -49,6 +52,9 @@ repos:
meta:
meta-poky:
meta-yocto-bsp:
meta-lts-mixins:
url: "https://git.yoctoproject.org/git/meta-lts-mixins"
refspec: kirkstone/rust-1.68
meta-rauc-community:
url: "https://github.com/rauc/meta-rauc-community.git"
refspec: kirkstone
Expand Down
7 changes: 5 additions & 2 deletions kas/.config-kirkstone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ local_conf_header:
CLOUDCONNECTOR_CERTIFICATE_KEYFILE = "${S}/cloud-connector/example-device.key"
DISTRO_FEATURES += " wifi"
sign_conf: |
RAUC_KEY_FILE="${TOPDIR}/../examples/rauc/development-1.key.pem"
RAUC_CERT_FILE="${TOPDIR}/../examples/rauc/development-1.cert.pem"
RAUC_KEY_FILE = "${TOPDIR}/../examples/rauc/development-1.key.pem"
RAUC_CERT_FILE = "${TOPDIR}/../examples/rauc/development-1.cert.pem"
RAUC_KEYRING_URI = "file://${TOPDIR}/../examples/rauc/ca.cert.pem"
RAUC_KEYRING_FILE = "${TOPDIR}/../examples/rauc/ca.cert.pem"
repos:
Expand All @@ -52,6 +52,9 @@ repos:
meta:
meta-poky:
meta-yocto-bsp:
meta-lts-mixins:
url: "https://git.yoctoproject.org/git/meta-lts-mixins"
refspec: kirkstone/rust-1.68
meta-rauc-community:
url: "https://github.com/rauc/meta-rauc-community.git"
refspec: kirkstone
Expand Down
12 changes: 12 additions & 0 deletions kas/.config-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ local_conf_header:
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
KANTO_MANIFESTS_DIR = "/data/var/containers/manifests"
KANTO_MANIFESTS_DEV_DIR = "/data/var/containers/manifests_dev"
# Set the values to the default value, to prevent user warnings during our build
CLOUDCONNECTOR_CERTIFICATE_CERTFILE = "${S}/cloud-connector/example-device.crt"
CLOUDCONNECTOR_CERTIFICATE_KEYFILE = "${S}/cloud-connector/example-device.key"
DISTRO_FEATURES += " wifi"
sign_conf: |
RAUC_KEY_FILE = "${TOPDIR}/../examples/rauc/development-1.key.pem"
RAUC_CERT_FILE = "${TOPDIR}/../examples/rauc/development-1.cert.pem"
RAUC_KEYRING_URI = "file://${TOPDIR}/../examples/rauc/ca.cert.pem"
RAUC_KEYRING_FILE = "${TOPDIR}/../examples/rauc/ca.cert.pem"
repos:
# This entry includes the repository where the config file is located
# to the bblayers.conf:
Expand All @@ -43,6 +52,9 @@ repos:
meta:
meta-poky:
meta-yocto-bsp:
meta-lts-mixins:
url: "https://git.yoctoproject.org/git/meta-lts-mixins"
refspec: kirkstone/rust-1.68
meta-rauc-community:
url: "https://github.com/rauc/meta-rauc-community.git"
refspec: master
Expand Down

0 comments on commit 29eb856

Please sign in to comment.