Skip to content
Snippets Groups Projects
  1. Nov 14, 2018
  2. Oct 01, 2018
  3. Sep 28, 2018
  4. Sep 19, 2018
  5. Sep 12, 2018
  6. Sep 06, 2018
  7. Sep 05, 2018
  8. Sep 04, 2018
    • Andrew Lee (李健秋)'s avatar
    • 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
    • Simon McVittie's avatar
      Added policy-rc.d that turns invoke-rc.d into a no-op · 2100715d
      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>
      2100715d
  9. Aug 31, 2018
    • Adrian Schröter's avatar
      add SLE 12 SP4 · 9f0d16dc
      Adrian Schröter authored
      9f0d16dc
    • Andrew Lee (李健秋)'s avatar
      Added DEP-3 compliant headers in all patches · 68835706
      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>
      68835706
  10. Aug 30, 2018
  11. Aug 29, 2018
Loading