Re: [patch] preserve symlinked .configs

From: Marko Kreen (marko@l-t.ee)
Date: Thu May 17 2001 - 07:44:42 EST


On Thu, May 17, 2001 at 10:01:33PM +1000, Andrew Morton wrote:
> When one has several machines it is nice to keep each
> machine's .config under revision control. Then, on
> each machine,
>
> ln [-s] .config-$(hostname -s) .config
>
> Problem is, `make menuconfig/oldconfig/config' goes and
> removes your link, causing much irritation.

IMHO currect behaviour is the Right Thing. Think of 'cp -al' on
trees. Patching one does not affect another, because patch()
does not modify files, it creates new file. If I use your patch
and have 'cp -al'-d trees which happen to have .config inside,
doing 'make *config' in one tree will affect another. Thats
wrong.

-- 
marko

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:22 EST