summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-02-19 08:49:22 +0000
committerLars Wirzenius <liw@liw.fi>2022-02-19 08:49:22 +0000
commit7075036b794c1317d205bf942196ef4118f8874c (patch)
tree7f05421738c8ebb089f482aecc8f988e39a722a3
parent060aab55793f269b81f87591a0ae9e2fc5350292 (diff)
parentecb4433db6694783e66dd27bfba2f690e266e9bd (diff)
downloadv-i-7075036b794c1317d205bf942196ef4118f8874c.tar.gz
Merge branch 'liw/make-bootable' into 'main'
fix: tell the mount step to not run zerofree See merge request larswirzenius/v-i!14
-rwxr-xr-xv-i3
1 files changed, 2 insertions, 1 deletions
diff --git a/v-i b/v-i
index 5197acf..b34555a 100755
--- a/v-i
+++ b/v-i
@@ -181,7 +181,7 @@ def lvcreate(vg, name, size):
def mount(tag, dirname=None, mount_on=None):
- d = {"mount": tag}
+ d = {"mount": tag, "zerofree": False}
if dirname is not None:
d["dirname"] = dirname
if mount_on is not None:
@@ -208,6 +208,7 @@ def debootstrap(tag):
"mirror": "http://deb.debian.org/debian",
"target": tag,
"unless": "rootfs_unpacked",
+ "require_empty_target": False,
}