[Buildroot] [PATCH] Makefile: Fix overlay overwriting everything

Peter Korsgaard peter at korsgaard.com
Thu Feb 11 22:26:41 UTC 2016


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

Hi,

>> Solution:
 >> Telling rsync to treat symlinked dir on the receiver side as directory
 >> allow users to be blissfully ignorant of that problem.

 >  I'm not so sure of this one... It makes it impossible to override the symlinks
 > in the skeleton in the overlay. Say, you want to populate /var/spool with some
 > directories so it becomes useable.

 >  That said, it's probably better in that case to override the skeleton directly,
 > so that package installation can pick up the new directory.

 >  Still, you _are_ breaking a valid use case with this patch.

 >  What do the others think?

I'm also not really happy about it either. Another potential issue is if
the build machine is so old that rsync doesn't support --keep-dirlinks,
but according to:

https://download.samba.org/pub/unpacked/rsync/OLDNEWS

This was added in 2.6.3 (Sep 2004), so I guess even RHEL5 and similar
should have it.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list