[recovery-installer] Copy contents of /etc/skel to home directory (#1114)

This commit is contained in:
Attila Szöllősi 2018-01-12 22:53:15 +01:00 committed by Oliver Smith
parent 95ed32bd4e
commit 75bfddbc3b
3 changed files with 9 additions and 4 deletions

View file

@ -66,8 +66,8 @@ def create_zip(args, suffix):
# Move config file from /tmp/ to zip root
["mv", "/tmp/install_options", "chroot/install_options"],
# Create tar archive of the rootfs
["tar", "-pcf", "rootfs.tar", "--exclude",
"./home/" + args.user + "/*", "-C", rootfs, "."],
["tar", "-pcf", "rootfs.tar", "--exclude", "./home", "-C", rootfs,
"."],
# Append packages keys
["tar", "-prf", "rootfs.tar", "-C", "/", "./etc/apk/keys"],
# Compress with -1 for speed improvement