[elbe-devel] [PATCH 2/4] init: lock the elbe version to be installed into the initvm

Torben Hohn torben.hohn at linutronix.de
Mon Nov 12 09:24:15 CET 2018


On Wed, Nov 07, 2018 at 11:09:57AM +0100, Manuel Traut wrote:
> On Mon, Oct 01, 2018 at 04:37:46PM +0200, Torben Hohn wrote:
> > specify elbe version, that should be installed into initvm using
> > preseed. This requires us to lock the version for all elbe
> > packages, which would normally be pulled as dependencies.
> > 
> > Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
> >
> > ---
> >  elbepack/init/preseed.cfg.mako | 13 +++++++++++--
> >  1 file changed, 11 insertions(+), 2 deletions(-)
> > 
> > diff --git a/elbepack/init/preseed.cfg.mako b/elbepack/init/preseed.cfg.mako
> > index 052be882..529a1b0c 100644
> > --- a/elbepack/init/preseed.cfg.mako
> > +++ b/elbepack/init/preseed.cfg.mako
> > @@ -6,6 +6,7 @@
> >  ## SPDX-License-Identifier: GPL-3.0-or-later
> >  ##
> >  <%
> > +  from elbepack.version import elbe_version
> >    from elbepack.filesystem import size_to_int
> >    swap = size_to_int(prj.text('swap-size', default=defs, key='swap-size')) / 1024 / 1024
> >  %>
> > @@ -135,8 +136,16 @@ apt-mirror-setup apt-setup/use_mirror boolean false
> >          return pkgname + '/' + pkgrel
> >  %>
> >  d-i finish-install/reboot_in_progress note
> > -d-i pkgsel/include string rng-tools btrfs-tools openssh-client\
> > - debathena-transform-lighttpd elbe-soap python-elbe-buildenv\
> > +d-i pkgsel/include string rng-tools \
> > +                          btrfs-tools \
> > +			  openssh-client \
> > +                          debathena-transform-lighttpd \
> > +			  python-elbe-buildenv=${elbe_version}* \
> > +			  elbe-soap=${elbe_version}* \
> > +			  python-elbe-common=${elbe_version}* \
> > +			  elbe-daemon=${elbe_version}* \
> > +			  elbe-schema=${elbe_version}* \
> > +			  python-elbe-bin=${elbe_version}* \
> 
> hmm, should we go the old way for --devel  ?

i dont see a reason why ? 
please elaborate.

> 
> >  % for n in pkgs:
> >  % if n.tag == "pkg":
> >   ${pkg2preseed (n)}\
> > -- 
> > 2.11.0
> > 
> > 
> > _______________________________________________
> > elbe-devel mailing list
> > elbe-devel at linutronix.de
> > https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
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/20181112/dd9ab75f/attachment.sig>


More information about the elbe-devel mailing list