mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-16 22:39:01 +00:00
packaging/qemu: Build and package completely in the container
Currently QEMU is built inside the container, its tarball pulled to the host, files removed then packaged again. Instead, let's run all those steps inside the container and the resulting tarball will be the final version. For that end, it is introduced the qemu-build-post.sh script which will remove the uneeded files and create the tarball. The patterns for directories on qemu.blacklist had to be changed to work properly with `find -path`. Fixes #1168 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
@@ -6,7 +6,7 @@ qemu_black_list=(
|
||||
*/bin/qemu-pr-helper
|
||||
*/bin/virtfs-proxy-helper
|
||||
*/libexec/kata-qemu/qemu*
|
||||
*/share/*/applications/
|
||||
*/share/*/applications
|
||||
*/share/*/*.dtb
|
||||
*/share/*/efi-e1000e.rom
|
||||
*/share/*/efi-e1000.rom
|
||||
@@ -15,9 +15,9 @@ qemu_black_list=(
|
||||
*/share/*/efi-pcnet.rom
|
||||
*/share/*/efi-rtl8139.rom
|
||||
*/share/*/efi-vmxnet3.rom
|
||||
*/share/*/icons/
|
||||
*/share/*/icons
|
||||
*/share/*/*.img
|
||||
*/share/*/keymaps/
|
||||
*/share/*/keymaps
|
||||
*/share/*/multiboot.bin
|
||||
*/share/*/openbios-ppc
|
||||
*/share/*/openbios-sparc32
|
||||
|
Reference in New Issue
Block a user