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
  • Loading branch information
themylogin committed Feb 14, 2024
1 parent 6e6a6df commit c55c693
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 c55c693

Please sign in to comment.