On Wed, 2009-07-15 at 16:43 +0100, Sérgio Almeida wrote: > On Tue, 2009-07-14 at 17:07 +0200, Michael Haubenwallner wrote: > > So it should be fine as long as 'symlink' can potentially be implemented > > as 'copy' for specific platforms. > ... can be easily replaced for copy. What should be the default? > Should uselect be able to supply both options like "uselect --copy bla > bla" overrides os.symlink to copy function?
Ideally it is transparent to the uselect-user (either end-user or developer) if the implementation actually does the symlink or emulates it via copy. It might be enough to select the implementation based on the "host-system" (CHOST), which may be different to the "build-system" (CBUILD). Eventually, uselect won't need to detect the CHOST itself, but get it from some external resource (cmdline, env-var, config-file, ...). > Thanks for the hint! nP. /haubi/ -- Michael Haubenwallner Gentoo on a different level