From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: Ross Burton <ross@burtonini.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] [PATCH] virt-what: add new recipe
Date: Wed, 6 Apr 2022 12:44:58 -0400 [thread overview]
Message-ID: <20220406164457.GB41737@gmail.com> (raw)
In-Reply-To: <20220406161440.2629415-1-ross.burton@arm.com>
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
on 06/04/2022 Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> 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
>
> diff --git a/recipes-extended/virt-what/virt-what_1.21.bb b/recipes-extended/virt-what/virt-what_1.21.bb
> new file mode 100644
> index 0000000..aa235b3
> --- /dev/null
> +++ b/recipes-extended/virt-what/virt-what_1.21.bb
> @@ -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: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
next prev parent reply other threads:[~2022-04-06 18:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 16:14 [PATCH] virt-what: add new recipe Ross Burton
2022-04-06 16:44 ` Bruce Ashfield [this message]
2022-04-06 16:57 ` [meta-virtualization] " Ross Burton
2022-04-07 21:48 ` Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220406164457.GB41737@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=meta-virtualization@lists.yoctoproject.org \
--cc=ross@burtonini.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.