[elbe-devel] [PATCH v2 0/6] remove elbe-bootstrap

Torben Hohn torben.hohn at linutronix.de
Wed Sep 26 12:13:46 CEST 2018


This patchqueue removes the elbe-bootstrap package.

Instead of the elbe-bootstrap package, we now download
the initrd.gz and vmlinuz for the debian installer
directly from the debian Repo.

This allows us to remove quite a lot of fallback Code,
which was used, when python-apt was not available.

The Code in elbepack.debinstaller works without apt.
And the Code in elbepack.pkgutils can assume, that python-apt
is available, because it only runs inside the initvm now.

This is pushed to lxcvs/devel/torbenh/nobootstrap (77a29fd8)
Test is currently running on elbe-ci.


Changes for v2:

* rebased onto 0dd863f6 (lxcvs/devel/elbe-3.0) pylint: virtapt - fix string has no effect
* fixed a bit of fallout
* folded "debinstaller: implement download of vmlinuz and initrd.gz" and
         "cdrom: store and use initrd-cdrom.gz and vmlinuz in cdrom builds"
* applied review comments to "debinstaller: implement download of vmlinuz and initrd.gz"
* removed urllib fix because it gets removed later on anyways
* added debinstaller.py to debian/.install files
* cleanup all uses of kinitrd and elbe-bootstrap

Torben Hohn (6):
  filesystem: add debug mode Parameter to TmpdirFilesystem
  initvmaction: dont extract elbe-keyring.gpg to /tmp
  hashes: add elbepack.hashes including HashValidator and
    validate_sha256()
  debinstaller: implement download of vmlinuz and initrd.gz
  pkgutils: cleanup non-virtapt fallback
  elbe-bootstrap: remove remains of kinitrd and elbe-bootstrap

 debian/python-elbe-common.install  |   1 +
 debian/python3-elbe-common.install |   1 +
 elbepack/cdroms.py                 |  13 ++-
 elbepack/commands/init.py          |  12 +-
 elbepack/debinstaller.py           | 225 +++++++++++++++++++++++++++++++++++++
 elbepack/dump.py                   |   6 -
 elbepack/filesystem.py             |  10 +-
 elbepack/hashes.py                 |  53 +++++++++
 elbepack/init/Makefile.mako        |   2 +
 elbepack/init/init-elbe.sh.mako    |   4 +
 elbepack/initvmaction.py           |  12 --
 elbepack/pkgutils.py               | 193 ++++---------------------------
 elbepack/xmldefaults.py            |   1 -
 13 files changed, 329 insertions(+), 204 deletions(-)
 create mode 100644 elbepack/debinstaller.py
 create mode 100644 elbepack/hashes.py

-- 
2.11.0




More information about the elbe-devel mailing list