Skip to content

Commit

Permalink
Merge pull request #589 from truenas/unsuqashfs
Browse files Browse the repository at this point in the history
NAS-127354 / 24.04-RC.1 / Do not pass `-exclude-file` to `unsquashfs` on FreeBSD
  • Loading branch information
yocalebo authored Feb 14, 2024
2 parents 6e6a6df + c55c693 commit d2ac3cf
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 d2ac3cf

Please sign in to comment.