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

Re: How to detect if inside a buildd chroot



ti, 2007-09-25 kello 11:55 +0200, Simon Richter kirjoitti:
> Hi,
> 
> Sebastian Dröge schrieb:
> 
> > 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.
> 
> My chroots have /proc and /sys mounted, but I'd still be grateful if hal 
> didn't start.

Would policy-rc.d be helpful for this situation?

-- 
Don't use me as a bat in your fight; I might start hitting you instead



Reply to: