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

Re: How to detect if inside a buildd chroot



Am Dienstag, den 25.09.2007, 11:35 +0200 schrieb Marco d'Itri:
> On Sep 25, Sebastian Dröge <slomo@circular-chaos.org> wrote:
> 
> > does somebody know about a solution to check whether one runs in a
> > buildd chroot or not? I need this to prevent hal from starting in buildd
> > chroots (via invoke-rc.d from postinst) as it breaks there because of
> > several reasons, including no /sys mounted.
> Look at the maintainer scripts of the udev package.

Thanks, I'll take a look at it... also trying to check all prequisites
that hal needs in the init script before launching it might be a
solution.



Reply to: