1
Fork 0

versions are ints

main
Motiejus Jakštys 2021-05-24 00:11:58 +03:00
parent e39f7c712a
commit 8596372ce6
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ def _lxcconfig_impl(ctx):
)
def lxcbundle(name, src, version):
if type(version) != "int":
fail("version must be an int, got {}".format(type(version)))
rootfsname = name + "/_/rootfs"
rootfs(name = rootfsname, src = src, out = rootfsname + ".tar")
lxcconfig(name, src = src, out = name + "/_/meta.tar.xz")