kernel-2.eclass: set UNIPATCH_LIST_GENPATCHES in src_unpack()
authorMichał Górny <mgorny@gentoo.org>
Sun, 6 Dec 2015 18:24:02 +0000 (19:24 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 20 Dec 2015 15:07:11 +0000 (16:07 +0100)
commit0f52ef26a6ce7f4bd9718f7e67340271d8777dcc
tree360a08492113258888c1bab6cc8afa9f93fe7b88
parent603c3ff159667f4743db75163fc210c54c495303
kernel-2.eclass: set UNIPATCH_LIST_GENPATCHES in src_unpack()

Modify genpatches logic to delay setting UNIPATCH_LIST_GENPATCHES until
src_unpack(). The value of UNIPATCH_LIST_GENPATCHES depends on state of
'use experimental', therefore it can not be obtained in global scope.
Therefore, handle_genpatches() will only set the URI when called in
global scope, and it will set UNIPATCH_LIST_GENPATCHES on request which
is done during kernel-2_src_unpack().

Fixes: https://bugs.gentoo.org/show_bug.cgi?id=566520
eclass/kernel-2.eclass