constellation/image/initrd/BUILD.bazel

28 lines
590 B
Python
Raw Normal View History

2023-09-11 09:52:05 -04:00
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",
2023-09-11 09:52:05 -04:00
"//disk-mapper/cmd:disk-mapper-package.tar",
],
2023-10-16 10:45:36 -04:00
local_mirror = ["@mkosi_rpms//:repo"],
2023-09-11 09:52:05 -04:00
mkosi_conf = "mkosi.conf",
tags = [
"manual",
"no-cache",
],
visibility = ["//visibility:public"],
)