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

Re: [debian-edu-commits] [Git][debian-edu/debian-edu-config][master] 2 commits: Adjust sbin/debian-edu-pxeinstall



On Wed, Mar 20, 2019 at 11:09:05AM +0000, Holger Levsen wrote:
> On Mon, Mar 18, 2019 at 02:43:43PM +0000, WolfgangSchweer wrote:
> > 02f4c2cf by Wolfgang Schweer at 2019-03-18T14:39:22Z
> [...]
> > Replace code to determine the distribution so that it also works offline.
> 
> refers to the following change, I believe:

yes.
 
> > -[ "$dist" ]       || dist=$(lsb_release -sc)
> > +[ "$dist" ]       || dist=$(cat /etc/debian_version | cut -d'/' -f1)
> 
> why doesn't the former work offline?

It used to do so (at least in Stretch). The same change has been needed 
for LTSP as well. It might be related to different information now on 
the BD...
 
> is that maybe a bug in lsb_release (which we could work around like the
> above, but then we should probably file a bug so it gets fixed properly
> eventually...) ?

I rather suspect a different BD behaviour (compared to a.s.n builds), 
but not really sure about it.
lsb_release works quite ok if the Release information is fetched from 
the web. Needs more investigation...

Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: