]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/patch: Make GitApplyTree._applypatch() support read-only .git/hooks
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Wed, 27 Jan 2016 14:39:52 +0000 (15:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Jan 2016 18:14:54 +0000 (18:14 +0000)
commita88d603b51a9ebb39210d54b667519acfbe465c3
treed2c255cfa18409e5f7458836b3a5a56fc610fd55
parent3e98ba4d6c1d1e4919ce373ec031d41c2538f10b
lib/oe/patch: Make GitApplyTree._applypatch() support read-only .git/hooks

Rather than modifying files in .git/hooks, which can be read-only
(e.g., if it is a link to a directory in /usr/share), move away the
entire .git/hooks directory temporarily.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/patch.py