Skip to content

Commit

Permalink
Do not pass -exclude-file to unsquashfs on FreeBSD
Browse files Browse the repository at this point in the history
(cherry picked from commit c55c693)
  • Loading branch information
themylogin authored and bugclerk committed Feb 14, 2024
1 parent 230e60d commit 9ade226
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion truenas_install/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,11 @@ def main():
"-f",
"-da", "16",
"-fr", "16",
"-exclude-file", exclude_list_file.name,
] + (
["-exclude-file", exclude_list_file.name]
if not IS_FREEBSD
else []
) + [
os.path.join(src, "rootfs.squashfs"),
]
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
Expand Down

0 comments on commit 9ade226

Please sign in to comment.