[Buildroot] [PATCH 13/15 v4] fs: run packages' filesystem hooks in a copy of target/
Peter Korsgaard
peter at korsgaard.com
Sat Mar 31 20:27:51 UTC 2018
>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:
Hi,
>> mkdir -p $(FS_DIR)
>> + rsync -au $(BASE_TARGET_DIR)/ $(TARGET_DIR)
> This would benefit a lot from using the --link-dest= that we will also use in
> PPS, in my opinion.
Wouldn't hard links be potentially dangerous - E.G. in case a script
appends to a file.
As I mentioned in my comments to patch 15, we could as well use cp
instead of rsync as we throw away the copy after each build.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list