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

d-l: custom packages installed/run in the chroot?



Justin Pryzby wrote:
> Hi Everyone,
> 
> Is there some mechanism for installing/running customized versions of
> a package within the chroot?

not really, unless you provide an own repository with the patched
package, and using a higher version on it (1.2.3-4 -> 1.2.3-4+justin or
similar). this way, it would automatically be prevered over the normal
package by apt.

> I know LH_CHROOT_BUILD exists for running the package from
> the host instead of the chroot "guest" but isn't intended to be used
> ATM.

well, non-chrooted builds work perfectly. the problem with it is, that
you need to be sure about your host system, otherwise you end up
tainting the live system. that's why normal people should not use it.

i personally build live systems non-chrooted in a sid chroot on a sid
host. as i know that the build chroot and the live system are both the
same, i can be sure to not taint the live system.. and build images much
faster as the coping/moving arround of the chroot is not needed in this
method.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann at panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



Reply to: