Skip to content
Snippets Groups Projects
  1. Jan 28, 2020
    • Frédéric Danis's avatar
      Fix systemd-nspawn error when running in gitlab CI · ca23a6af
      Frédéric Danis authored
      
      When running in gitlab CI with docker the following error may occur:
       Failed to register machine: Unit machine-root.scope already exists.
      
      We only use systemd-nspawn for temporary containers which are not intended
      to be used interactively, so it is not useful for them to be listed by
      machined.
      
      Registering with machined can also be harmful: because our root directory
      is named `root`, if two concurrent flatdeb instances communicate with the
      same machined instance, the second one will try to use the same name as
      the first and so will fail to register, causing flatdeb to fail.
      
      This can be avoided by preventing the systemd-nspawn container from
      registering with machined (which is supported since systemd v209).
      
      Signed-off-by: default avatarFrédéric Danis <frederic.danis@collabora.com>
      ca23a6af
  2. Jan 24, 2020
  3. Mar 04, 2019
  4. Mar 01, 2019
  5. Nov 27, 2018
  6. Jun 12, 2018
    • Simon McVittie's avatar
      Use debos to build runtimes · 145aa305
      Simon McVittie authored
      
      For the moment flatdeb wraps debos, creating a new, temporary recipe
      directory and writing out overlays and other auxiliary files based
      on flatdeb's own configuration. At some point it might make sense to
      turn this inside out, with debos driving the process and flatdeb just
      providing a series of hooks and template files, but while we're using
      two separate debos runs it's easier this way round.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      145aa305
  7. Jun 11, 2018
  8. Jun 06, 2018
Loading