forked from Mirror/pmbootstrap
[recovery-installer] Copy contents of /etc/skel to home directory (#1114)
This commit is contained in:
parent
95ed32bd4e
commit
75bfddbc3b
3 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue