[elbe-devel] [ISSUE] Initvm - Debian installer
Torben Hohn
torben.hohn at linutronix.de
Mon Jun 17 09:10:29 CEST 2019
Hi Olivier,
On Fri, Jun 14, 2019 at 11:08:15PM +0200, Olivier Dion wrote:
> So this week I've lost an entire day because I needed to created a new
> initvm ..
bah. please notify me a bit earlier, when there are problems.
>
> Everything work perfectly in Elbe v8 .. not on master
>
> The first obvious problem, the 'key' tag is not preprocess in initvm. You
> can cherry-pick a fix for that from branch devel/dion/fix-key, commit
> 97dd1d5912cf0c277e75f24eaa022a04e706f0ce.
>
> Now that's out of the way, the Debian' installer is launching and fails
> at step 14 (installation of packages I think). If you try to redo the
> step 14 in the installer it will fail again .. 1 hour later! And that's
> not all. There's _tons_ of packages missing. Cherry on top,
> apt-listchanges is broken and you will only notice it once you've
> submitted something to initvm after the debootstrap step.
mmm... i hope its only confused by missing keys or packages.
>
> So today I've decided to do a little bisection of master and well I am
> apparently to blame ..
>
> Before jumping to conclusion, I would like to know if anyone has indeed
> the same problem that I am describing since I am not using Debian on my
> work station.
We forgot to handle the copying of the key into the right place.
The debian-installer preseed code only handles urls. And it now just
ignores them.
However, for the CDROM build, we already have code in place, that takes
a key from the cdrom, and copies it to the right place, at the right
time.
the relevant files are:
elbepack/commands/init.py
elbepack/init/Makefile.mako
elbepack/init/preseed.cfg.mako
please just extract the key(s) from the xml file, and then you can put
it into os.path.join(out_path, "elbe-keyring.gpg")
look for some "%if opt.cdrom:" lines, and remove the ifs, because
the relevant keys will now reside in elbe-keyring.gpg in any case.
>
> --
> Olivier Dion
> Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
>
> _______________________________________________
> 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
More information about the elbe-devel
mailing list