ansible-playbooks/playbookconfig/opensuse
Dan Voiculeasa 3accc08948 Enhance Makefile and RPM specs
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
2021-08-19 12:32:18 +03:00
..
playbookconfig.changes Add opensuse spec file 2019-09-30 08:04:14 -07:00
playbookconfig.spec Enhance Makefile and RPM specs 2021-08-19 12:32:18 +03:00