[Bug 275030] buildworld fails if obj dir is NFS-mounted [patch]
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 275030] buildworld fails if obj dir is NFS-mounted [patch]"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Nov 2023 18:09:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275030 --- Comment #14 from Martin Birgmeier <d8zNeCFG@aon.at> --- (In reply to Warner Losh from comment #13) On two machines with /usr/bin/basename on UFS, the uarch bit is not set. On one machine with a ZFS root, uarch is set on /usr/bin/basename. Also, to minimize changing files after a buildworld, I first install into a temporary destination and then copy over only the files which differ. And this using tar: ( cd <tmp dir> && tar cfT - <list of changed files> ) | ( cd / && tar xfp -). Before this copy, the old files in / are simply removed. There are additional steps to deal with schg files and removed files, but this is not important here. Summarizing, it is probably tar which sets uarch and/or root-on-zfs. -- Martin -- You are receiving this mail because: You are the assignee for the bug.