virt-what: add new recipe
PATCH 1/1 virt-what: add new recipe
--- recipes-extended/virt-what/virt-what_1.21.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-extended/virt-what/virt-what_1.21.bb
recipes-extended/virt-what/virt-what_1.21.bb new file +11 -0
@@ -0,0 +1,11 @@ +SUMMARY = "Detect if we are running in a virtual machine" +HOMEPAGE = "https://people.redhat.com/~rjones/virt-what/" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "https://people.redhat.com/~rjones/virt-what/files/${BP}.tar.gz" +SRC_URI[sha256sum] = "12cb455334aa4cfd53ab78f27e2252e94d1f676dd093f48327ed94d8080d1f7b" + +DEPENDS = "perl-native" + +inherit autotools
Signature · 1 line
2.25.1
I've always used systemd-detect-virt for this same use case.
Can you confirm if it works both on sysvinit and systemd based init setups ?
Bruce
In message: [meta-virtualization] [PATCH] virt-what: add new recipe
Quoted 36 lines · on 06/04/2022 Ross Burton wrote:
Signed-off-by Ross Burton <[email protected]>--- recipes-extended/virt-what/virt-what_1.21.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-extended/virt-what/virt-what_1.21.bbrecipes-extended/virt-what/virt-what_1.21.bb new file +11
-0@@ -0,0 +1,11 @@ +SUMMARY = "Detect if we are running in a virtual machine" +HOMEPAGE = "https://people.redhat.com/~rjones/virt-what/" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "https://people.redhat.com/~rjones/virt-what/files/${BP}.tar.gz" +SRC_URI[sha256sum] = "12cb455334aa4cfd53ab78f27e2252e94d1f676dd093f48327ed94d8080d1f7b" + +DEPENDS = "perl-native" + +inherit autotoolsSignature · 11 lines
2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7125): https://lists.yoctoproject.org/g/meta-virtualization/message/7125 Mute This Topic: https://lists.yoctoproject.org/mt/90293376/1050810 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
It pokes at /proc, /sys, and cpuid, so it should be initsystem agnostic.
Ross
Quoted 48 lines · Bruce Ashfield
I've always used systemd-detect-virt for this same use case.
Can you confirm if it works both on sysvinit and systemd based init setups ?
Bruce
In message: [meta-virtualization] [PATCH] virt-what: add new recipe
Quoted 36 lines · on 06/04/2022 Ross Burton wrote:
Signed-off-by Ross Burton <[email protected]>--- recipes-extended/virt-what/virt-what_1.21.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-extended/virt-what/virt-what_1.21.bbrecipes-extended/virt-what/virt-what_1.21.bb new file +11
-1@@ -0,0 +1,11 @@ +SUMMARY = "Detect if we are running in a virtual machine" +HOMEPAGE = "https://people.redhat.com/~rjones/virt-what/" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "https://people.redhat.com/~rjones/virt-what/files/${BP}.tar.gz" +SRC_URI[sha256sum] = "12cb455334aa4cfd53ab78f27e2252e94d1f676dd093f48327ed94d8080d1f7b" + +DEPENDS = "perl-native" + +inherit autotools --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7125): https://lists.yoctoproject.org/g/meta-virtualization/message/7125
Mute This Topic: https://lists.yoctoproject.org/mt/90293376/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Bruce Ashfield
Appliedmerged to master.
Bruce
In message: [meta-virtualization] [PATCH] virt-what: add new recipe
Quoted 36 lines · on 06/04/2022 Ross Burton wrote:
Signed-off-by Ross Burton <[email protected]>--- recipes-extended/virt-what/virt-what_1.21.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-extended/virt-what/virt-what_1.21.bbrecipes-extended/virt-what/virt-what_1.21.bb new file +11
-0@@ -0,0 +1,11 @@ +SUMMARY = "Detect if we are running in a virtual machine" +HOMEPAGE = "https://people.redhat.com/~rjones/virt-what/" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "https://people.redhat.com/~rjones/virt-what/files/${BP}.tar.gz" +SRC_URI[sha256sum] = "12cb455334aa4cfd53ab78f27e2252e94d1f676dd093f48327ed94d8080d1f7b" + +DEPENDS = "perl-native" + +inherit autotoolsSignature · 11 lines
2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7125): https://lists.yoctoproject.org/g/meta-virtualization/message/7125 Mute This Topic: https://lists.yoctoproject.org/mt/90293376/1050810 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-