[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Patches fail - why ?



On Tue, Jun 5, 2018 at 10:54 AM, George Dunlap <dunlapg@xxxxxxxxx> wrote:
> On Tue, Jun 5, 2018 at 8:20 AM, Jan Vejvalka
> <jan.vejvalka@xxxxxxxxxxxxxxx> wrote:
>> Thank you, Mark -
>>
>> - my question, however, remains: what do I do/assume wrong when I'm
>> getting errors applying the official (?) patch set (XSA-263) on the
>> official (?) source package (4.10.1).
>
> Because the official patch isn't aimed at being applied on top of the
> tarball; it's aimed at being applied to the staging branch, to make
> sure that 4.10.2 is fixed properly.

BTW, along with the "official" patch comes an "official" json file
telling you exactly where we applied the patch.  If you look at
xsa263.meta, inside 'Recipes', you'll see this stanza:

    "4.10": {
      "Recipes": {
        "xen": {
          "StableRef": "a0355180b660b149f8054b9facdd9cac8ec86a95",
          "Prereqs": [],
          "Patches": [
            "xsa263-4.10/*.patch"
          ]
        }
      }
    },

This means that for 4.10, take xen.git commit hash
a0355180b660b149f8054b9facdd9cac8ec86a95 (which is from the stable
branch around the time of the public release), and run "git am
xsa263-4.10/*.patch" to get an up-to-date tree.

 -George

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.