All of lore.kernel.org
 help / color / mirror / Atom feed
From: lei yang <lei.yang@windriver.com>
To: "Prica, Mihai" <mihai.prica@intel.com>
Cc: bruce.ashfield@windriver.com,
	"meta-virtualization@yoctoproject.org"
	<meta-virtualization@yoctoproject.org>
Subject: Re: [PATCH v2 2/2] Created new target:kvm-image-minimal
Date: Tue, 15 Jan 2013 19:22:01 +0800	[thread overview]
Message-ID: <50F53BD9.60203@windriver.com> (raw)
In-Reply-To: <97BD068FB200C44AA73C2B641F162ECF8FC42C@IRSMSX101.ger.corp.intel.com>

On 01/15/2013 06:44 PM, Prica, Mihai wrote:
>> -----Original Message-----
>> From: Lei Yang [mailto:lei.yang@windriver.com]
>> Sent: Friday, January 11, 2013 7:17 PM
>> To: Prica, Mihai
>> Cc: meta-virtualization@yoctoproject.org
>> Subject: Re: [meta-virtualization] [PATCH v2 2/2] Created new target:kvm-image-
>> minimal
>>
>> On 01/12/2013 12:27 AM, Mihai Prica wrote:
>>> Signed-off-by: Mihai Prica<mihai.prica@intel.com>
>>> ---
>>>    recipes-extended/images/kvm-image-minimal.bb |   28
>> ++++++++++++++++++++++++++
>>>    1 file changed, 28 insertions(+)
>>>    create mode 100644 recipes-extended/images/kvm-image-minimal.bb
>>>
>>> diff --git a/recipes-extended/images/kvm-image-minimal.bb
>>> b/recipes-extended/images/kvm-image-minimal.bb
>>> new file mode 100644
>>> index 0000000..275c43b
>>> --- /dev/null
>>> +++ b/recipes-extended/images/kvm-image-minimal.bb
>>> @@ -0,0 +1,28 @@
>>> +DESCRIPTION = "A minimal kvm image"
>>> +
>>> +IMAGE_INSTALL = " \
>>> +    packagegroup-core-boot \
>>> +    ${ROOTFS_PKGMANAGE_BOOTSTRAP} \
>>> +    qemu \
>>> +    libvirt \
>>> +    libvirt-libvirtd \
>>> +    libvirt-virsh \
>>> +    "
>>> +
>>> +IMAGE_FEATURES += "ssh-server-openssh"
>>> +
>>> +IMAGE_LINGUAS = " "
>>> +
>>> +LICENSE = "MIT"
>>> +
>>> +inherit core-image
>>> +
>>> +IMAGE_ROOTFS_SIZE = "8192"
>>> +
>>> +ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "
>>> +
>>> +PACKAGE_INSTALL_ATTEMPTONLY = "\
>> Hi Mibai
>>
>> can you explain "PACKAGE_INSTALL_ATTEMPTONLY " to me, I just see this
>> variable first time
> In an image recipe you can't use RRECOMMENDS to specify a list of packages that extend the usability of the image being built.  In this type of recipe you can use PACKAGE_INSTALL_ATTEMPTONLY that has the same functionality.

I don't know why RRECOMMENDS can't be used in image recipes, How about 
"IMAGE_INSTALL", this is always used

Lei




> Thanks,
> Mihai
>> Lei
>> :-)
>>
>>> +    kernel-module-kvm \
>>> +    kernel-module-kvm-intel \
>>> +    kernel-module-kvm-amd \
>>> +    "



  reply	other threads:[~2013-01-15 11:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-11 16:27 [PATCH v2 1/2] linux-yocto: added kernel configuration for KVM Mihai Prica
2013-01-11 16:27 ` [PATCH v2 2/2] Created new target:kvm-image-minimal Mihai Prica
2013-01-11 17:16   ` Lei Yang
2013-01-15 10:44     ` Prica, Mihai
2013-01-15 11:22       ` lei yang [this message]
2013-01-16  3:27       ` lei yang
2013-01-16 13:58         ` Prica, Mihai
2013-01-25 15:58           ` Prica, Mihai
2013-01-25 16:06             ` Bruce Ashfield
2013-01-25 17:10             ` lei yang
2013-01-11 21:08 ` [PATCH v2 1/2] linux-yocto: added kernel configuration for KVM Bruce Ashfield
2013-01-12  6:08   ` lei yang
2013-01-13 14:48     ` Bruce Ashfield
2013-01-25 15:48       ` Prica, Mihai
2013-01-25 16:05         ` 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=50F53BD9.60203@windriver.com \
    --to=lei.yang@windriver.com \
    --cc=bruce.ashfield@windriver.com \
    --cc=meta-virtualization@yoctoproject.org \
    --cc=mihai.prica@intel.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.