mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 00:19:36 -05:00
bd3430fcf0
This adds nix store paths to the initrd and sysroot of bootable Fedora images.
28 lines
590 B
Python
28 lines
590 B
Python
load("//bazel/mkosi:mkosi_image.bzl", "mkosi_image")
|
|
|
|
mkosi_image(
|
|
name = "initrd",
|
|
srcs = [
|
|
"mkosi.postinst",
|
|
] + glob([
|
|
"mkosi.skeleton/**",
|
|
"reposdir/**",
|
|
]),
|
|
outs = [
|
|
"image",
|
|
"image.cpio.zst",
|
|
],
|
|
extra_trees = [
|
|
"//image:sysroot_tar",
|
|
"//image:cryptsetup_closure",
|
|
"//disk-mapper/cmd:disk-mapper-package.tar",
|
|
],
|
|
local_mirror = ["@mkosi_rpms//:repo"],
|
|
mkosi_conf = "mkosi.conf",
|
|
tags = [
|
|
"manual",
|
|
"no-cache",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|