
This change updates the `0001-Customize-Debian-build-files-for-STX` deb_patch for QEMU build to better filter the list of targets even for the configure step. It also reduces the build time by avoiding the generation and linking of objects related to targets that won't be used by the package installed on StarlingX. Test Plan: PASS - Build qemu package PASS - Build/install image on AIO-SX PASS - Verify that the package is installed in the system PASS - Verify that stx-openstack sanity passes without new bugs Story: 2010317 Task: 47666 Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com> Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com> Change-Id: I5ae5427271952d75f7d17b3a995d5bfdccbd803a
Get the RedHat source rpm from: $ wget wget http://cbs.centos.org/kojifiles/packages/qemu-kvm-ev/2.3.0/31.el7_2.7.1/src/qemu-kvm-ev-2.3.0-31.el7_2.7.1.src.rpm Uncompress the source rpm: $ rpm2cpio qemu-kvm-ev-2.3.0-31.el7_2.7.1.src.rpm | cpio -idmv All the patches from the redhat source rpm have been applied in git/qemu using scripts/autopatch.sh. Some of these patches can't be applied cleanly with 'git am'. So this script attempd to execute 'git am' on each of them, if it fails it tries to patch the files manually with 'git apply --index'. A git tag 'qemu-kvm-ev-2.3.0-31.el7_2.7.1' has been added to the last patch applied. The Titanium Cloud specific patches will be added after this tag.