constellation/image/initrd/BUILD.bazel
2023-10-17 09:23:56 +02:00

27 lines
552 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",
"//disk-mapper/cmd:disk-mapper-package.tar",
],
local_mirror = ["@mkosi_rpms//:repo"],
mkosi_conf = "mkosi.conf",
tags = [
"manual",
"no-cache",
],
visibility = ["//visibility:public"],
)