[elbe-devel] [PATCH] init default-init.xml: remove backports kernel from pkg list

Torben Hohn torben.hohn at linutronix.de
Tue Apr 9 15:27:36 CEST 2019


On Tue, Apr 09, 2019 at 02:55:54PM +0200, John Ogness wrote:
> On 2019-04-09, Torben Hohn <torben.hohn at linutronix.de> wrote:
> >> > diff --git a/elbepack/init/default-init.xml b/elbepack/init/default-init.xml
> >> > index c8bd05ca..bf4f6209 100644
> >> > --- a/elbepack/init/default-init.xml
> >> > +++ b/elbepack/init/default-init.xml
> >> > @@ -50,7 +50,6 @@
> >> >  		<pkg-list>
> >> >  			<pkg>openssh-server</pkg>
> >> >  			<pkg pin="stretch-backports">debootstrap</pkg>
> >> > -			<pkg pin="stretch-backports">linux-image-amd64</pkg>
> >> 
> >> I think you are missing:
> >> 
> >> +                       <pkg>linux-image-amd64</pkg>
> >> 
> >> The kernel isn't part of debootstrap.
> >
> > this is not debootstrap, this is the debian installer.
> > believe me, it installs a kernel ;)
> 
> Maybe for amd64 this is the case, but generally we explicitly specify a
> kernel to be installed (just look in examples).
> 
> But since amd64 installs a kernel by default and since the initvm is
> amd64:

the initvm is installed by completely different code.
it is generated by preseeding the debian installer.

this has absolutely nothing to do with the elbe rfs being generated by
the examples. the amd64 target systems would not get a kernel, if it 
wasnt specified.

but <target/pkg-list> is different from <initvm/pkg-list>

https://github.com/Linutronix/elbe/blob/master/schema/dbsfed.xsd#L324
vs
https://github.com/Linutronix/elbe/blob/master/schema/dbsfed.xsd#L596
vs
https://github.com/Linutronix/elbe/blob/master/schema/dbsfed.xsd#L862
> 
> Reviewed-by: John Ogness <john.ogness at linutronix.de>

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190409/333d925c/attachment.sig>


More information about the elbe-devel mailing list