forked from kata-containers/kata-containers
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kata-containers#6756 from arronwy/measured_rootfs
Port Measured rootfs feature from CCv0 branch to main
- Loading branch information
Showing
23 changed files
with
346 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,6 @@ RUN ([ -n "$http_proxy" ] && \ | |
gdisk \ | ||
parted \ | ||
qemu-img \ | ||
veritysetup \ | ||
xfsprogs && \ | ||
dnf clean all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
tools/packaging/kernel/configs/fragments/common/confidential_containers/cryptsetup.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
CONFIG_MD=y | ||
CONFIG_BLK_DEV_DM_BUILTIN=y | ||
CONFIG_BLK_DEV_DM=y | ||
CONFIG_DM_CRYPT=y | ||
CONFIG_DM_VERITY=y | ||
CONFIG_DM_INTEGRITY=y | ||
CONFIG_CRYPTO_AEAD=y | ||
CONFIG_CRYPTO_AEAD2=y | ||
CONFIG_CRYPTO_AKCIPHER2=y | ||
CONFIG_CRYPTO_KPP2=y | ||
CONFIG_CRYPTO_MANAGER=y | ||
CONFIG_CRYPTO_MANAGER2=y | ||
CONFIG_CRYPTO_USER=y | ||
CONFIG_CRYPTO_NULL=y | ||
CONFIG_CRYPTO_NULL2=y | ||
CONFIG_CRYPTO_CRYPTD=y | ||
CONFIG_CRYPTO_AUTHENC=y | ||
CONFIG_CRYPTO_CBC=y | ||
CONFIG_CRYPTO_ESSIV=y | ||
CONFIG_CRYPTO_XTS=y | ||
CONFIG_CRYPTO_HMAC=y |
1 change: 1 addition & 0 deletions
1
tools/packaging/kernel/configs/fragments/common/confidential_containers/initramfs.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# x86 cryptographic instructions to improve AES encryption and SHA256 hashing. | ||
CONFIG_CRYPTO_SHA256_SSSE3=y | ||
CONFIG_CRYPTO_AES_NI_INTEL=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
107 | ||
108 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Copyright (c) 2022 Intel Corporation | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
from ubuntu:20.04 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=UTC | ||
RUN apt-get update &&\ | ||
apt-get --no-install-recommends install -y software-properties-common &&\ | ||
add-apt-repository ppa:git-core/ppa -y &&\ | ||
apt-get update && apt-get upgrade -y && \ | ||
apt-get --no-install-recommends install -y \ | ||
apt-utils \ | ||
asciidoctor \ | ||
autoconf \ | ||
autopoint \ | ||
automake \ | ||
busybox-static \ | ||
ca-certificates \ | ||
curl \ | ||
gcc \ | ||
gettext \ | ||
git \ | ||
libaio-dev \ | ||
libblkid-dev \ | ||
libselinux1-dev \ | ||
libtool \ | ||
libpopt-dev \ | ||
libjson-c-dev \ | ||
libssl-dev \ | ||
make \ | ||
ninja-build \ | ||
pkg-config \ | ||
uuid-dev \ | ||
libseccomp-dev \ | ||
libseccomp2 \ | ||
zlib1g-dev &&\ | ||
apt-get clean && rm -rf /var/lib/apt/lists/ |
Oops, something went wrong.