Re: [Bug] 2.5.25 build as one user and install as root

From: Keith Owens (kaos@ocs.com.au)
Date: Sat Jul 06 2002 - 07:00:52 EST


On Sat, 06 Jul 2002 13:28:06 +0200,
Alessandro Suardi <alessandro.suardi@oracle.com> wrote:
>Keith Owens wrote:
>> 2.5.25 existing build system has a nasty bug. Build as one user then
>> make install as root. It does supurious recompiles of some files and
>> leaves them owned as root. All of these files are now owned by root
>> and cause problems when the build user wants to rebuild.
>
>Doesn't happen for me.

Check include/linux/compile.h after building as yourself and after
installing as root. make install goes

bzImage -> setup.o -> compile.h -> scripts/mkcompile_h ->
#define LINUX_COMPILE_BY \"`whoami`\"

whoami is different when you compile as one user then install as
another.

-
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 : Sun Jul 07 2002 - 22:00:17 EST