mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-03 06:24:21 +01:00
This repository is growing is due to different projects are living here, kernel config and patches, obs scripts, kata-deploy, release tools. Lets move the obs scripts to its own directory. Fixes: #75 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
29 lines
686 B
Makefile
29 lines
686 B
Makefile
#!/usr/bin/make -f
|
|
include /usr/share/dpkg/default.mk
|
|
export LANG=C
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_configure:
|
|
chmod a+x "../SOURCES/configure-hypervisor.sh"
|
|
eval "../SOURCES/configure-hypervisor.sh" "qemu-lite" | xargs ./configure --prefix=/usr
|
|
|
|
override_dh_auto_build:
|
|
make
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install
|
|
for file in $(CURDIR)/debian/qemu-lite/usr/bin/* ; do \
|
|
dir=$$(dirname $$file) ;\
|
|
bin=$$(basename $$file) ;\
|
|
new=$$(echo $$bin | sed -e 's/qemu-/qemu-lite-/g' -e 's/ivshmem-/ivshmem-lite-/g' -e 's/virtfs-/virtfs-lite-/g') ;\
|
|
mv $$file "$$dir"/"$$new" ; \
|
|
done
|
|
|
|
override_dh_auto_test:
|
|
echo "Skip auto test"
|
|
|
|
override_dh_auto_clean:
|
|
echo "Skip auto clean"
|
|
|