[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFC] Package build time config for installation directories.



> +include /etc/dpkg-dev/dirs.$(DEBIAN_GNU_HOST_TYPE)
> 
> -	./configure
> +	./configure --sbindir=$(sbindir) --bindir=$(bindir) --etcdir=$(etcdir)

The proposal makes perfect sense, I just have one concern: I see that
dpkg-buildpackage takes an architecture flag, but I don't think
there's a way to specify a "system type" (i386-hurd, for example).  If
I want to put stuff in /usr/local, should I do i386-linuxlocal, and
how?  I think it would be nice to:

  dpkg-buildpackage --system-type i386-linuxlocal

(or something).  And, if that's the case, probably the system type
should be part of the deb (the Architecture field)?

-itai

PS.  I'm not very familiar with the build process, so maybe this makes
no sense.  Also, is it possible to compile hurd packages on linux
build machines?



Reply to: