Skip to content
Snippets Groups Projects
  1. Mar 06, 2019
  2. Mar 05, 2019
    • Emanuele Aina's avatar
      Drop resolv.conf so the right one is created at runtime · b2756878
      Emanuele Aina authored
      When virtualization is available, Debos uses systemd-nspawn to run commands in
      the "chroot".
      
      systemd-nspawn automatically takes care of setting up a working
      /etc/resolv.conf, usually by bind mounting the "host" one:
      
       https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html#--resolv-conf=
      
      In our case, the host is the VM managed by fakemachine, which is configured to
      use systemd-resolved.
      
      The end result is that the stub /etc/resolv.conf pointing to 127.0.0.53 is
      copied to our rootfs and included in the generated ospack.
      
      This is arguably a weird corner of Debos, the resolv.conf file should really
      not persist out of the chroot:
      
       https://phabricator.apertis.org/T4308
      
      
      
      However, in the past ConnMan used to ship a tmpfiles.d snippet to overwrite
      it with a link to /var/run/connman/resolv.conf but since commit 45ccde23a90c
      shipped in ConnMan 1.36 the snippet has been changed to no longer overwrite
      existing files, causing DNS resolution to fail on our images.
      
      By dropping /etc/resolv.conf at the end of each recipe, after all the
      chroot:true actions, we should be able to ensure that the final artifacts
      don't ship it and at runtime the ConnMan tmpfiles.d snippet should work
       again as intended.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      b2756878
  3. Mar 04, 2019
  4. Dec 12, 2018
  5. Nov 10, 2018
  6. Nov 09, 2018
  7. Nov 07, 2018
  8. Oct 04, 2018
  9. Sep 05, 2018
  10. Aug 03, 2018
    • Sjoerd Simons's avatar
      Add a more usable user shell · 76ff1269
      Sjoerd Simons authored
      
      Dash is great as a system shell, but it's pretty horrible as a user
      shell as there is no tab completion or history. There are things that
      the busybox ash applet does provide making it a lot more pleasant to
      use, while only less then 500 kilobytes to the ospack.
      
      As an added benefit this gives easy acces to the wget/nc/ip busybox
      applets.
      
      Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
      76ff1269
  11. Jul 12, 2018
  12. Jun 19, 2018
  13. Jun 13, 2018
  14. Jun 12, 2018
  15. Jun 05, 2018
  16. May 25, 2018
  17. May 24, 2018
  18. May 23, 2018
  19. May 14, 2018
  20. May 10, 2018
  21. May 09, 2018
  22. Apr 05, 2018
  23. Apr 04, 2018
  24. Mar 08, 2018
  25. Mar 01, 2018
Loading