Rework status messages related to adding files
This commit is contained in:
parent
371201bf24
commit
487ca63d11
@ -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 ...")
|
||||
|
Loading…
Reference in New Issue
Block a user