chiark / gitweb /
Split brain: With patches-unapplied trees, apply before running rules
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jul 2016 10:54:45 +0000 (11:54 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jul 2016 15:47:48 +0000 (16:47 +0100)
commit7a9b155347c117dceb866095ce87f7c7b54d053f
treeb3b137c5055125b59277328393be0662103974f6
parent574c18723a468471bef2a12b651176dd22b911ba
Split brain: With patches-unapplied trees, apply before running rules

Everywhere we invoke dpkg-buildpackage, check if we need to apply the
patches.  And at the end of every command that might have done this,
check if we did, and unapply them if so.

We don't try to unapply patches in case of error.  That seems likely
to be quite fragile.

Print a warning when we apply patches, suggesting ways to avoid the
need.
dgit