Skip to content

Commit

Permalink
Merge pull request #590 from truenas/NAS-127354-24.10
Browse files Browse the repository at this point in the history
NAS-127354 / 24.10 / Do not pass `-exclude-file` to `unsquashfs` on FreeBSD (by themylogin)
  • Loading branch information
themylogin authored Feb 14, 2024
2 parents 230e60d + 9ade226 commit 6ae46b8
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 6ae46b8

Please sign in to comment.