mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
image: add kernel rpms
This commit is contained in:
parent
78300ee5b0
commit
81c5cc21f8
@ -231,3 +231,8 @@ ci_deps()
|
||||
load("//bazel/toolchains:k8s.bzl", "k8s_deps")
|
||||
|
||||
k8s_deps()
|
||||
|
||||
# kernel rpms
|
||||
load("//bazel/toolchains:linux_kernel.bzl", "kernel_rpms")
|
||||
|
||||
kernel_rpms()
|
||||
|
41
bazel/toolchains/linux_kernel.bzl
Normal file
41
bazel/toolchains/linux_kernel.bzl
Normal file
@ -0,0 +1,41 @@
|
||||
"""kernel rpms"""
|
||||
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
|
||||
|
||||
def kernel_rpms():
|
||||
http_file(
|
||||
name = "kernel",
|
||||
urls = [
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/4107ce34e10476036e44afd72a4bf93c4139a9fae811c00e2b4b8e9480157cee",
|
||||
"https://cdn.confidential.cloud/constellation/kernel/6.1.46-100.constellation/kernel-6.1.46-100.constellation.fc38.x86_64.rpm",
|
||||
],
|
||||
sha256 = "4107ce34e10476036e44afd72a4bf93c4139a9fae811c00e2b4b8e9480157cee",
|
||||
downloaded_file_path = "kernel.rpm",
|
||||
)
|
||||
http_file(
|
||||
name = "kernel_core",
|
||||
urls = [
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/6ba6f6cf0c4ee03044e61a596d9fd20e5383cbea56f7c42b1f003aefe295491a",
|
||||
"https://cdn.confidential.cloud/constellation/kernel/6.1.46-100.constellation/kernel-core-6.1.46-100.constellation.fc38.x86_64.rpm",
|
||||
],
|
||||
sha256 = "6ba6f6cf0c4ee03044e61a596d9fd20e5383cbea56f7c42b1f003aefe295491a",
|
||||
downloaded_file_path = "kernel-core.rpm",
|
||||
)
|
||||
http_file(
|
||||
name = "kernel_modules",
|
||||
urls = [
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/5111c00a8b28074af8354c551e6543c5656332192d2f491149ecf4d1d42e9044",
|
||||
"https://cdn.confidential.cloud/constellation/kernel/6.1.46-100.constellation/kernel-modules-6.1.46-100.constellation.fc38.x86_64.rpm",
|
||||
],
|
||||
sha256 = "5111c00a8b28074af8354c551e6543c5656332192d2f491149ecf4d1d42e9044",
|
||||
downloaded_file_path = "kernel-modules.rpm",
|
||||
)
|
||||
http_file(
|
||||
name = "kernel_modules_core",
|
||||
urls = [
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/52c0a21c57bbc95cbc4ef403806b9dbd9f18cbbbd2d61386a6eb3cc8cb47fa55",
|
||||
"https://cdn.confidential.cloud/constellation/kernel/6.1.46-100.constellation/kernel-modules-core-6.1.46-100.constellation.fc38.x86_64.rpm",
|
||||
],
|
||||
sha256 = "52c0a21c57bbc95cbc4ef403806b9dbd9f18cbbbd2d61386a6eb3cc8cb47fa55",
|
||||
downloaded_file_path = "kernel-modules-core.rpm",
|
||||
)
|
Loading…
Reference in New Issue
Block a user