From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 5EB8565D00 for ; Tue, 29 Mar 2016 08:28:35 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id u2T8SaHb019211 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 29 Mar 2016 01:28:37 -0700 (PDT) Received: from pek-hostel-deb02.wrs.com (128.224.153.152) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.248.2; Tue, 29 Mar 2016 01:28:36 -0700 From: To: Date: Tue, 29 Mar 2016 16:22:56 +0800 Message-ID: <1459239776-3868-1-git-send-email-rongqing.li@windriver.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [PATCH][meta-oe] virt-what: add the recipe X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 08:28:36 -0000 Content-Type: text/plain From: Roy Li virt-what is a a shell script which can be used to detect if the program is running in a virtual machine. Signed-off-by: Roy Li --- .../recipes-extended/virt-what/virt-what_1.15.bb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta-oe/recipes-extended/virt-what/virt-what_1.15.bb diff --git a/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb b/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb new file mode 100644 index 0000000..7509eee --- /dev/null +++ b/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb @@ -0,0 +1,36 @@ +SUMMARY = "Detect if we are running in a virtual machine" +DESCRIPTION =" virt-what is a shell script which can be used to detect if the program \ +is running in a virtual machine. \ +The program prints out a list of "facts" about the virtual machine, \ +derived from heuristics. One fact is printed per line. \ +If nothing is printed and the script exits with code 0 (no error), \ +then it can mean either that the program is running on bare-metal or \ +the program is running inside a type of virtual machine which we don't \ +know about or can't detect. \ +Current types of virtualization detected: \ + - hyperv Microsoft Hyper-V \ + - kvm Linux Kernel Virtual Machine (KVM) \ + - openvz OpenVZ or Virtuozzo \ + - powervm_lx86 IBM PowerVM Lx86 Linux/x86 emulator \ + - qemu QEMU (unaccelerated) \ + - uml User-Mode Linux (UML) \ + - virtage Hitachi Virtualization Manager (HVM) Virtage LPAR \ + - virtualbox VirtualBox \ + - virtualpc Microsoft VirtualPC \ + - vmware VMware \ + - xen Xen \ + - xen-dom0 Xen dom0 (privileged domain) \ + - xen-domU Xen domU (paravirtualized guest domain) \ + - xen-hvm Xen guest fully virtualized (HVM) \ +" + +SECTION = "base" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "http://people.redhat.com/~rjones/virt-what/files/${PN}-${PV}.tar.gz" + +inherit autotools + +SRC_URI[md5sum] = "35d19ca3305e8ae88c1985fbd8388f53" +SRC_URI[sha256sum] = "7ab9220d4682eadf9139c6afe62d33ebd273fff69e49054279caba5514937c41" -- 1.9.1