3accc08948
For debian build the dh_auto_install step will inject a DESTDIR based on the artifact build directory PKGBUILDIDR (equivalent to buildroot for spec files), but without control for the desired destination on the system (local_stx_ansible_dir): make -j32 install DESTDIR=/<<PKGBUILDDIR>>/debian/playbookconfig Change Makefile to support DESTDIR and PREFIX. Change spec files to use DESTDIR as buildroot and PREFIX as destination on the system. This allows to write clean debian rules files. Tested by doing a CentOS7 build-pkg & build-iso, then did run the ansible playbook. Story: 2009101 Task: 43051 Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com> Change-Id: Ic5a0463a8b5fa804f7829435d91e51a8e315802e |
||
---|---|---|
.. | ||
build_srpm.data | ||
playbookconfig.spec |