integ/virt/qemu
Rafael Falcao 9ffeea6a76 Update debian package versions to use git commits
The Debian packaging has been changed to reflect all the
git commits under the directory, and not just the commits
to the metadata folder.

This ensures that any new code submissions under those
directories will increment the versions.

- The commit "Add debian package for virt/cloud-init"
  (SHA 6d1244bda9) was choosen to be the SRC_BASE_SRCREV
  of the cloud-init's metadata because is the commit that
  creates the debian directory with build files structure.

- The commit "Add debian package for virt/kvm-timer-advance"
  (SHA 4cb5d17a7f) was choosen to be the SRC_BASE_SRCREV
  of the kvm-timer-advance's metadata because is commit
  creates the debian directory with build files structure.

- The commit "Add debian package for virt/libvirt-python"
  (SHA 6420a976d3) was choosen to be the SRC_BASE_SRCREV
  of the libvirt-python's metadata because is the commit that
  creates the debian directory with build files structure.

- The commit "Debian: Add build structure for virt/libvirt"
  (SHA 1f37f8b5d4) was choosen to be the SRC_BASE_SRCREV
  of the libvirt's metadata  because is the commit that
  creates the debian directory with build files structure.

- The commit "Debian: Add build structure for virt/qemu"
  (SHA 75a234904f) was choosen to be the SRC_BASE_SRCREV
  of the qemu's metadata because is the commit that
  creates the debian directory with build files structure.

Test Plan:
PASS: build-image
PASS: build-pkgs -c -p cloud-init
PASS: build-pkgs -c -p kvm-timer-advance
PASS: build-pkgs -c -p libvirt-python
PASS: build-pkgs -c -p libvirt
PASS: build-pkgs -c -p qemu
PASS: commit a file change under cloud-init, rebuild and
      see that the cloud-init version has increased.

Story: 2010550
Task: 47468

Signed-off-by: Rafael Falcao <rafael.vieirafalcao@windriver.com>
Change-Id: Ica6638b220e6366a9fb1be47d5380fa44046ed84
2023-02-22 15:11:29 -03:00
..
centos Fix qemu and kubernetes build resource requirements 2022-03-15 11:39:08 -04:00
debian Update debian package versions to use git commits 2023-02-22 15:11:29 -03:00
qemu Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
scripts Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
.gitignore Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
PKG-INFO Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
README Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00

README

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.