From 831b5bf3409ee20d89c2d1d8c03da8615c93f8ec Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 22 Jul 2024 14:20:34 -0700 Subject: [PATCH] creator: Change rootfs description to match cmdline argument This changes the log entry from squashfs+ext4/erofs+ext4 to squashfs-ext4/erofs-ext4 which matches the cmdline argument passed to --rootfs-type, making the naming of it more consistent. --- src/pylorax/creator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pylorax/creator.py b/src/pylorax/creator.py index b23a9fcdd..3829c73ec 100644 --- a/src/pylorax/creator.py +++ b/src/pylorax/creator.py @@ -227,7 +227,7 @@ def make_runtime(opts, mount_dir, work_dir, size=None): compression=compression, compressargs=compressargs) elif opts.rootfs_type == "squashfs-ext4": compression, compressargs = squashfs_args(opts) - log.info("Creating a squashfs+ext4 runtime") + log.info("Creating a squashfs-ext4 runtime") return rb.create_ext4_runtime(joinpaths(work_dir, RUNTIME), size=size, compression=compression, compressargs=compressargs) elif opts.rootfs_type == "erofs": @@ -235,7 +235,7 @@ def make_runtime(opts, mount_dir, work_dir, size=None): return rb.create_erofs_runtime(joinpaths(work_dir, RUNTIME), size=size, compression="lzma") elif opts.rootfs_type == "erofs-ext4": - log.info("Creating a erofs+ext4 runtime") + log.info("Creating a erofs-ext4 runtime") return rb.create_erofs_ext4_runtime(joinpaths(work_dir, RUNTIME), size=size, compression="lzma") else: