1. 22 Feb, 2018 1 commit
  2. 21 Feb, 2018 1 commit
  3. 17 Feb, 2018 1 commit
  4. 30 Jan, 2018 1 commit
  5. 28 Jan, 2018 2 commits
  6. 27 Jan, 2018 2 commits
    • Hans van Kranenburg's avatar
      d/t/control-*: bump grub config incompat for now · b50eb9c0
      Hans van Kranenburg authored
      In 8c378bc0
      
       I moved the grub config file that was wrongly placed
      inside the hypervisor package, and assumed that it would be fixed in a
      stable update, and that the orig tar would not change before that.
      However, we don't know yet what will happen in stretch security.
      
      So, don't assume the fix would happen in a specific version in stable.
      For now, bump the cutoff point all the way up to 4.10 so we can lower it
      again when the actual fix did happen in stretch.
      
      The end goal is to be able to upgrade from stretch to buster without
      this problem.  As long as the fix didn't happen in stable, and we have a
      newer xen in unstable, the upgrade will hit the conflict.
      
      Signed-off-by: Hans van Kranenburg's avatarHans van Kranenburg <hans@knorrie.org>
      b50eb9c0
    • Hans van Kranenburg's avatar
      debian/bin/genorig.py: mkdir ../orig · a9fbb592
      Hans van Kranenburg authored
      
      
      First time someone does this the directory does not exist and you get an
      ugly error. I copied this from the debian kernel genorig.py.
      
      Note: currently my biggest annoyance with the placement of the orig file
      in ../orig and the symlink to it is that if I run pbuilder, I will end
      up with a symlink pointing nowhere in my pbuilder result location
      instead of the actual orig, which makes including it into reprepro bork
      of course.
      
      For now, I'm making minimal changes to this. We can improve and change
      it later. But this change prevents more lines in the README.source for
      now.
      
      Signed-off-by: Hans van Kranenburg's avatarHans van Kranenburg <hans@knorrie.org>
      a9fbb592
  7. 26 Jan, 2018 5 commits
  8. 09 Jan, 2018 1 commit
  9. 23 Dec, 2017 1 commit
  10. 21 Dec, 2017 4 commits
    • Hans van Kranenburg's avatar
      debian/.gitignore: improve filtering · db5754f1
      Hans van Kranenburg authored
      After doing a full build, it seems there was still stuff not being
      ignored correctly. This change should take care of that.
      
      So after debian/rules orig, debian/rules debian/control-real and doing a
      package build, there are no files in debian/ showing up as untracked
      content. When cleaning out everything using git clean -dfx, there are no
      files in debian/ which are listed when doing git status --ignored.
      db5754f1
    • Hans van Kranenburg's avatar
      debian/bin/genorig.py: create orig tar for pre/rc · 14514121
      Hans van Kranenburg authored
      When using versions like 4.9.2~pre+1.32e364c4e7, I want to have an
      archive made from commit 32e364c4e7. Same holds for 4.10~rc8+1.3e11e302a8
      14514121
    • Hans van Kranenburg's avatar
      debian/bin/genorig.py: repair build orig from repo · 85da0732
      Hans van Kranenburg authored
      By picking up the repo provided to the script and kicking the git
      archive process into that direction, we can at least do this now:
      
         ~/build/xen/debian-xen (master) 6-$ debian/bin/genorig.py ~/src/git/xen
         Generate tarball ../orig/xen_4.9.1.orig.tar.xz
      
      ...given that the newest changelog entry is e.g. 4.9.1-1
      
      There's probably more things that can be improved in here, but let's
      take one step at a time.
      85da0732
    • Hans van Kranenburg's avatar
      Update to 4.9.2~pre+1.32e364c4e7 · 345afd22
      Hans van Kranenburg authored
      So, to reiterate... the orig tar will just be made from commit
      32e364c4e7 in the upstream repo. And if we advance to a later point
      before 4.9.3 is released, then it'll get 4.9.2~pre+2.<commitid> etc...
      
      Update the packaging for Xen 4.9. I took these changes from the Xen 4.9
      packaging in Ubuntu done by Stefan Bader. Thanks!
      345afd22
  11. 20 Dec, 2017 8 commits
    • Hans van Kranenburg's avatar
      f8191592
    • Hans van Kranenburg's avatar
      debian/patches: Remove X-Dgit-Generated · 7f937a7e
      Hans van Kranenburg authored
      I'm not going to use Dgit, but rather track all changes in a more
      granular way. Remove the obsolete headers.
      7f937a7e
    • Hans van Kranenburg's avatar
      debian/rules: Add orig command · e352a1fe
      Hans van Kranenburg authored
      I copied this one from the linux team. It combines the orig file with
      the packaging, so we can start using quilt to refresh the patches.
      e352a1fe
    • Hans van Kranenburg's avatar
      Move grub config into xen-utils-common · 8c378bc0
      Hans van Kranenburg authored
      The grub config snippet is not arch dependent, neither version
      dependent, so it has to move into a 'common' package.
      
      The packages with a version number in their name only have contents that
      do not conflict with a previous or next version. Having this file in the
      version dependent xen-hypervisor package currently prevents us from
      being able to co-install the current and next version of Xen.
      
      So, I can do this here for new packages in unstable but that will only
      fix upgrades from xen 4.9 to 4.10. The same change still needs to go
      into a stable update to solve the problem for upgrades from Stretch to
      Buster.
      
      Also see https://bugs.debian.org/852545
      8c378bc0
    • Hans van Kranenburg's avatar
      debian/lib/python: Recognize pre / rc versions · 55129e39
      Hans van Kranenburg authored
          When tracking the latest upstream versions in Debian unstable, I'd
      like to keep the packages updated with latest available security patches
      which are available when working on a new upload. So that means not
      always working with an exact tagged upstream release.
      
      There are two possible approaches when doing this:
      
      1. Use the latest official release as orig tar and keep the rest of the
      changes in debian patches. This is also what we would do for security
      updates to stable.
      2. Just follow the upstream stable branch lines (they will always fix
      forward) and keep the latest changes in the orig tar.
      
      I think option 2 makes the most sense for uploads to unstable when we're
      nowhere near to a freeze yet. This results in version numbers like
      4.9.2~pre+1.32e364c4e7-1, where the 1 is simply a helper because git
      commit ids are not sortable. 4.9.1+1.32e364c4e7-1 would also be an
      option, but since xen will report itself als 4.9.2-pre (e.g. in xen info
      output), I prefer the ~pre one.
      
          When testing new versions that are in rc state upstream, we might
      put them in the Debian experimental distribution, so that we can find
      out what needs to be done to the packaging already, and so that we
      provide the opportunity for Debian users to help testing the new release
      on their hardware.
      
      These versions will usually look like e.g. 4.10~rc8-1~exp1, but
      incidentally they could also include a few newer corrections, in which
      case we end up with a git revision again, like seen above, but then with
      rcX instead of pre and now the second pattern choice, because upstream
      doesn't let us know if there will be a next rc, or the actual release.
      So, that would be something like 4.10~rc8+1.3e11e302a8-1~exp1
      
          This change allows both of these version patterns. While only the
      major.minor version is used from it all, it's a nice sanity checker to
      prevent eventual mistakes.
      
      Allowed:
       * 4.9.2-1
       * 4.9.2~pre+1.32e364c4e7
       * 4.10~rc8-1~exp1
       * 4.10~rc8+1.3e11e302a8-1~exp1
      
      Not allowed:
       * 4.10-1
      55129e39
    • Hans van Kranenburg's avatar
      Adjust to linux-support-4.9.0-4 · 79ced300
      Hans van Kranenburg authored
      This package uses some code from the linux-support package to generate
      files. The way in which this done in the packaging is similar to how the
      linux source package is managed.
      
      debian/rules.defs defines a KERNELVERSION which requires you to have the
      linux-support-$KERNELVERSION package installed.
      
      For now, update it to 4.9.0-4, since that's the current latest in
      Stretch. I'm working on the packaging on a stretch system.
      
      After doing so...
          -$ make -f debian/rules debian/control-real
          [...]
            File "/usr/src/linux-support-4.9.0-4/lib/python/debian_linux/gencontrol.py", line 124, in do_main_recurse
                for featureset in self.config['base', ]['featuresets']:
          KeyError: 'featuresets'
      
      Apparently the newer linux-support requires featuresets to be set. We
      simply add it with only the option none, since we don't use it.
      79ced300
    • Hans van Kranenburg's avatar
      debian/patches: Remove 4.8 security patches · a6a044ea
      Hans van Kranenburg authored
      I'm preparing a 4.9 or 4.10 release, so no need to keep these.
      a6a044ea
    • Hans van Kranenburg's avatar
      Import xen_4.8.2+xsa245-0+deb9u1 · ff1976d7
      Hans van Kranenburg authored
      But, fix the .gitignore while doing so. It was ignoring way too much
      (e.g. tree/xen-utils-common) and not ignoring some of the generated
      content (e.g. control.md5sum).
      
      The orig tar that belongs to this debian version is created from this
      commit in xen/stable-4.8:
      
          commit 9ba6783e47db71379c5120039b878f605bdf31f3
          Author: Andrew Cooper <andrew.cooper3@citrix.com>
          Date:   Thu Nov 16 11:55:47 2017 +0100
      
          x86/shadow: correct SH_LINEAR mapping detection in sh_guess_wrmap()
      ff1976d7