Drop the redundant mkdir of the staged sources directory
rsync already creates sources/ because the ISO has one. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d9707fd57b
commit
e1148cce7b
1 file changed
-1
@@ -212,7 +212,6 @@ step "Staging the ISO files without install.wim"
|
|||||||
# The UDF mount is read-only, so its directories are too; --chmod keeps the copies
|
# The UDF mount is read-only, so its directories are too; --chmod keeps the copies
|
||||||
# writable, otherwise cleanup cannot remove them.
|
# writable, otherwise cleanup cannot remove them.
|
||||||
run rsync -rt --chmod=u+rwX --exclude=/sources/install.wim "$mount_dir/" "$stage_dir/"
|
run rsync -rt --chmod=u+rwX --exclude=/sources/install.wim "$mount_dir/" "$stage_dir/"
|
||||||
run mkdir -p "$stage_dir/sources"
|
|
||||||
|
|
||||||
# Parts must stay below the 4 GiB FAT32 file limit; wimlib takes MiB.
|
# Parts must stay below the 4 GiB FAT32 file limit; wimlib takes MiB.
|
||||||
step "Splitting install.wim into install.swm parts (FAT32 files must stay below 4 GiB)"
|
step "Splitting install.wim into install.swm parts (FAT32 files must stay below 4 GiB)"
|
||||||
|
|||||||
Reference in new issue
Block a user