From 487ca63d11a1a550adcec7c95910ff780f144a80 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 28 Jan 2023 06:45:50 +0100 Subject: [PATCH] Rework status messages related to adding files --- mods/live-installer/data/opt/wdvn/installer/main | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/live-installer/data/opt/wdvn/installer/main b/mods/live-installer/data/opt/wdvn/installer/main index e131c3e..b42ebf6 100755 --- a/mods/live-installer/data/opt/wdvn/installer/main +++ b/mods/live-installer/data/opt/wdvn/installer/main @@ -244,13 +244,14 @@ def main(): mkdirp(ipth()) call(["mount",installPartition,ipth()]) - print("> Creating swap ...") + print("> Adding files") + print("Creating swap ...") call(["dd","if=/dev/zero","of=" +ipth("swap"),"bs=1M","count=512","status=progress"]) call(["chmod","600",ipth("swap")]) call(["mkswap",ipth("swap")]) call(["swapon",ipth("swap")]) - print("> Adding files ...") + print("Unpacking OS ...") call(["unsquashfs","-f","-d",ipth(),"/lib/live/mount/medium/live/filesystem.squashfs"]) print("Setting hostname ...")