aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/hyperstart/hyperstart_git.bb
blob: 9f98419106a31a41ebda351a94142e357e685d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SUMMARY = "The tiny Init service for HyperContainer"
DESCRIPTION = "The init Task for HyperContainer"

LICENSE = "Apache-2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"

inherit autotools-brokensep 

SRC_URI = "git://github.com/hyperhq/hyperstart.git"
SRC_URI += "file://0001-container.c-Fix-compiler-errors-that-gcc-8.1.0-repor.patch"

SRCREV = "15bb718ad34045aa1962a8204f602c6afe9a76ab"
PV = "v0.2+git${SRCPV}"

S = "${WORKDIR}/git"

CACHED_CONFIGUREVARS = "ac_cv_file__usr_include_linux_vm_sockets_h=true"

do_install() {
	install -d ${D}/var/lib/hyper/

        install -m644 ${S}/build/hyper-initrd.img ${D}/var/lib/hyper/
        install -m644 ${S}/build/arch/x86_64/kernel ${D}/var/lib/hyper/
}

FILES_${PN} += "/var/lib/hyper"