Skip to content
Snippets Groups Projects
  1. Sep 04, 2018
    • Andrew Lee (李健秋)'s avatar
    • Andrew Lee (李健秋)'s avatar
      5f45f029
    • Simon McVittie's avatar
      Added policy-rc.d that turns invoke-rc.d into a no-op · f7a9f67b
      Simon McVittie authored
      
      The obs-build seems work this way:
      The "first-stage bootstrap" (OBS unpacking packages which is what this
      patch fixes) and the "second-stage bootstrap" (which just runs
      debootstrap).
      
      The problem is that in older versions of Ubuntu, the unpack packageset
      from the target distribution to be able to run the second-stage
      debootstrap is not very minimal.
      
      In particular, it includes packages like initscripts, udev and procps,
      which have initscripts that are started by postinst. In older Ubuntu,
      when a postinst runs invoke-rc.d, it communicates with Upstart via a
      mechanism that can escape from the chroot and talk to the host system's
      Upstart (!); and if it can't, invoke-rc.d will fail and the first-stage
      bootstrap will also fail.
      
      The symptom is that on workers whose host OS did not boot using Upstart
      (for example Debian stretch, but not Ubuntu trusty), the first-stage
      bootstrap fails with:
      
        [   22s] initctl: Unable to connect to Upstart: Failed to connect to
        socket /com/ubuntu/upstart: Connection refused
      
      So here is a patch to provide OBS-level solution that adds a policy-rc.d
      that turns invoke-rc.d into a no-op, just like debootstrap does to
      prevent processes in deb build chroots from trying to start system
      services.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      Tested-by: default avatarHéctor Orón Martínez <hector.oron@collabora.co.uk>
      Signed-off-by: default avatarAndrew Lee (李健秋) <ajqlee@debian.org>
      f7a9f67b
  2. Aug 30, 2018
    • Andrew Lee (李健秋)'s avatar
      Added DEP-3 compliant headers in all patches · c518f177
      Andrew Lee (李健秋) authored
      
      * Added DEP-3 compliant headers for
        - 0001-Use-obs-build-in-locations-and-executable-names.patch:
          Debian-specific, no forward needed.
        - 0002-debootstrap-ensure-etc-hosts-exists.patch:
          Applied in upstream.
        - 0003-HACK-make-glibc-build.patch:
          Debian-specific, no forward needed.
        - 0004-deb-don-t-create-an-empty-rcS.patch:
          Applied in upstream.
        - 0005-dsc-keep-everything.patch:
          Forwarded upstream.
        - add-debian-unstable-and-jessie-configs.patch:
          Applied in upstream.
        - build-recipe-dsc-don-t-rebuild-the-source-package.patch:
          Forwarded upstream.
        - debootstrap-add-fallback-for-Debian-SID-distro.patch:
          Forwarded upstream.
      
      Signed-off-by: default avatarAndrew Lee (李健秋) <ajqlee@debian.org>
      c518f177
  3. Aug 21, 2018
  4. Jul 24, 2018
  5. May 24, 2018
  6. Mar 06, 2018
  7. Mar 05, 2018
  8. Mar 04, 2018
  9. Mar 02, 2018
  10. Mar 01, 2018
  11. Feb 28, 2018
  12. Feb 20, 2018
  13. Feb 19, 2018
  14. Feb 12, 2018
  15. Feb 10, 2018
  16. Feb 09, 2018
Loading