Yong Fu 3ae6cb3d51 CentOS 8:fix qemu-keymap unpackaged for qemu-kvm
build qemu-kvm:
error: Installed (but unpackaged) file(s) found:
   /usr/bin/qemu-keymap
   /usr/lib/debug/usr/bin/qemu-keymap-3.0.0-0.tis.101.x86_64.debug

package qemu-keymap in the qemu-kvm-common package to fix it

Change-Id: Ide5b6fc03f5b3cf0695041c86184e670d1329de7
Story: 2006729
Task: 39869
Signed-off-by: Yong Fu <fuyong@neusoft.com>
2020-06-01 14:56:58 +08:00
..
2018-08-01 10:06:31 -04:00
2018-08-01 10:06:31 -04:00
2018-08-01 10:06:31 -04:00
2018-08-01 10:06:31 -04:00

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.