build: Move patches to <patch-repos> dir 43/20043/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 27 Aug 2016 15:13:32 +0000 (17:13 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 31 Aug 2016 15:18:46 +0000 (17:18 +0200)
commit52701ce099ac455aa393aac34d684f5d59b3d2fe
treed250441b0988dcd813edcc130f2a4bb4147660b2
parent5b24755186a36c79f03596d52cd4ba2627791470
build: Move patches to <patch-repos> dir

Decouple main Makefile and repository patches by moving all Fuel
component patches to a subdir, <patch-repo>.

Proposed structure of <patch-repos> dir:
- patch-repos/*.patch are intended for <fuel-main> git repo;
- patch-repos/build/repo/<fuel-module>/*.patch are intended for
  <fuel-module>, e.g. "fuel-nailgun";

Full list of Fuel submodules supported by this mechanism at [1].

While at it, replace all occurences of </tmp/fuel-main> with
<FUEL_MAIN_DIR> in main Makefile and rewrite a few git/make calls
to use the "-C" arg.

NOTE: `git -C` is available starting with git 1.8.5.

[1] https://github.com/openstack/fuel-main/blob/stable/mitaka/repos.mk
    #L32-L44

Change-Id: I5e4adc7285054777c3898592ed48482ccd2b706f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
build/Makefile
build/patch-repos/0010-bootstrap_admin_node.sh.patch [moved from build/bootstrap_admin_node.sh.patch with 100% similarity]
build/patch-repos/0020-isolinux.cfg.patch [moved from build/isolinux.cfg.patch with 100% similarity]
build/patch-repos/0030-repo-multi-arch-local-mirrors.patch [moved from build/repo-multi-arch-local-mirrors.patch with 100% similarity]
build/patch-repos/build/repos/fuel-nailgun/0010-Mark-Intel-82599-10-Gigabit-NIC-as-DPDK-capable.patch [moved from build/Mark-Intel-82599-10-Gigabit-NIC-as-DPDK-capable.patch with 100% similarity]