All of lore.kernel.org
 help / color / mirror / Atom feed
* mount.nfs -> how i include nfs-utils
@ 2015-01-22  9:37 Hänel-Baas, Alexander
  2015-01-23  2:02 ` ting.liu
  0 siblings, 1 reply; 7+ messages in thread
From: Hänel-Baas, Alexander @ 2015-01-22  9:37 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

Hi

In terms of my question "how i include nfs-utils" i saw that the nfs-utils was compiled correctly.
But there was no mount.nfs in /sbin on the target or in the rootfs image.

What is the step to get this files in the do_rootfs process?

With best regards,
Alexander


[-- Attachment #2: Type: text/html, Size: 2985 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mount.nfs -> how i include nfs-utils
  2015-01-22  9:37 mount.nfs -> how i include nfs-utils Hänel-Baas, Alexander
@ 2015-01-23  2:02 ` ting.liu
  2015-01-23  6:20   ` Hänel-Baas, Alexander
  0 siblings, 1 reply; 7+ messages in thread
From: ting.liu @ 2015-01-23  2:02 UTC (permalink / raw)
  To: Hänel-Baas, Alexander, yocto

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

mount.nfs is packaged in nfs-utils-client.

From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of H?nel-Baas, Alexander
Sent: Thursday, January 22, 2015 5:38 PM
To: yocto@yoctoproject.org
Subject: [yocto] mount.nfs -> how i include nfs-utils

Hi

In terms of my question "how i include nfs-utils" i saw that the nfs-utils was compiled correctly.
But there was no mount.nfs in /sbin on the target or in the rootfs image.

What is the step to get this files in the do_rootfs process?

With best regards,
Alexander


[-- Attachment #2: Type: text/html, Size: 4176 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mount.nfs -> how i include nfs-utils
  2015-01-23  2:02 ` ting.liu
@ 2015-01-23  6:20   ` Hänel-Baas, Alexander
  2015-01-23  6:38     ` Jegan Chandru
  0 siblings, 1 reply; 7+ messages in thread
From: Hänel-Baas, Alexander @ 2015-01-23  6:20 UTC (permalink / raw)
  To: ting.liu; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

Hi
Yes i know that.

BUT this file was not copied to the rootfs during  the do_rootfs process.
It is not include in the root_fs.
But it was already compiled.

Alexander

Von: ting.liu@freescale.com [mailto:ting.liu@freescale.com]
Gesendet: Freitag, 23. Januar 2015 03:02
An: Hänel-Baas, Alexander; yocto@yoctoproject.org
Betreff: RE: mount.nfs -> how i include nfs-utils

mount.nfs is packaged in nfs-utils-client.

From: yocto-bounces@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of H?nel-Baas, Alexander
Sent: Thursday, January 22, 2015 5:38 PM
To: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
Subject: [yocto] mount.nfs -> how i include nfs-utils

Hi

In terms of my question "how i include nfs-utils" i saw that the nfs-utils was compiled correctly.
But there was no mount.nfs in /sbin on the target or in the rootfs image.

What is the step to get this files in the do_rootfs process?

With best regards,
Alexander


[-- Attachment #2: Type: text/html, Size: 6324 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mount.nfs -> how i include nfs-utils
  2015-01-23  6:20   ` Hänel-Baas, Alexander
@ 2015-01-23  6:38     ` Jegan Chandru
  2015-01-23  7:14       ` Hänel-Baas, Alexander
  0 siblings, 1 reply; 7+ messages in thread
From: Jegan Chandru @ 2015-01-23  6:38 UTC (permalink / raw)
  To: Hänel-Baas, Alexander; +Cc: yocto, ting.liu

[-- Attachment #1: Type: text/plain, Size: 1881 bytes --]

IMAGE_INSTALL_append = "nfs-util-client"  in local.conf is what you
are looking for. You need to bitbake the image again.

So if some packages are not available in rootfs by default, you could
follow this method.

Check here for your quick reference,

https://wiki.yoctoproject.org/wiki/FAQ

​Please read here in detail,

http://www.yoctoproject.org/docs/1.7.1/dev-manual/dev-manual.html#usingpoky-extend-customimage

​-​
JC​


On Fri, Jan 23, 2015 at 11:50 AM, Hänel-Baas, Alexander <
alexander.haenel-baas@sieb-meyer.de> wrote:

>  Hi
>
> Yes i know that.
>
>
>
> BUT this file was not copied to the rootfs during  the do_rootfs process.
>
> It is not include in the root_fs.
>
> But it was already compiled.
>
>
>
> Alexander
>
>
>
> *Von:* ting.liu@freescale.com [mailto:ting.liu@freescale.com]
> *Gesendet:* Freitag, 23. Januar 2015 03:02
> *An:* Hänel-Baas, Alexander; yocto@yoctoproject.org
> *Betreff:* RE: mount.nfs -> how i include nfs-utils
>
>
>
> mount.nfs is packaged in nfs-utils-client.
>
>
>
> *From:* yocto-bounces@yoctoproject.org [
> mailto:yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org>] *On
> Behalf Of *H?nel-Baas, Alexander
> *Sent:* Thursday, January 22, 2015 5:38 PM
> *To:* yocto@yoctoproject.org
> *Subject:* [yocto] mount.nfs -> how i include nfs-utils
>
>
>
> Hi
>
>
>
> In terms of my question „how i include nfs-utils“ i saw that the nfs-utils
> was compiled correctly.
>
> But there was no mount.nfs in /sbin on the target or in the rootfs image.
>
>
>
> What is the step to get this files in the do_rootfs process?
>
>
>
> With best regards,
>
> Alexander
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
JCP

[-- Attachment #2: Type: text/html, Size: 6577 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mount.nfs -> how i include nfs-utils
  2015-01-23  6:38     ` Jegan Chandru
@ 2015-01-23  7:14       ` Hänel-Baas, Alexander
  2015-01-23  7:40         ` Trevor Woerner
  0 siblings, 1 reply; 7+ messages in thread
From: Hänel-Baas, Alexander @ 2015-01-23  7:14 UTC (permalink / raw)
  To: Jegan Chandru; +Cc: yocto, ting.liu

[-- Attachment #1: Type: text/plain, Size: 2331 bytes --]

Hi Jegan

Thank you for your reply.

I have added the line IMAGE_INSTALL_append=”nfs-utils” in the local.conf file and now nfs work on the target.

Many thanks.

Alex


Von: Jegan Chandru [mailto:pcjegan@gmail.com]
Gesendet: Freitag, 23. Januar 2015 07:38
An: Hänel-Baas, Alexander
Cc: ting.liu@freescale.com; yocto@yoctoproject.org
Betreff: Re: [yocto] mount.nfs -> how i include nfs-utils


IMAGE_INSTALL_append = "nfs-util-client"  in local.conf is what you are looking for. You need to bitbake the image again.



So if some packages are not available in rootfs by default, you could follow this method.

Check here for your quick reference,

https://wiki.yoctoproject.org/wiki/FAQ

​Please read here in detail,

http://www.yoctoproject.org/docs/1.7.1/dev-manual/dev-manual.html#usingpoky-extend-customimage

​-​

JC​

On Fri, Jan 23, 2015 at 11:50 AM, Hänel-Baas, Alexander <alexander.haenel-baas@sieb-meyer.de<mailto:alexander.haenel-baas@sieb-meyer.de>> wrote:
Hi
Yes i know that.

BUT this file was not copied to the rootfs during  the do_rootfs process.
It is not include in the root_fs.
But it was already compiled.

Alexander

Von: ting.liu@freescale.com<mailto:ting.liu@freescale.com> [mailto:ting.liu@freescale.com<mailto:ting.liu@freescale.com>]
Gesendet: Freitag, 23. Januar 2015 03:02
An: Hänel-Baas, Alexander; yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
Betreff: RE: mount.nfs -> how i include nfs-utils

mount.nfs is packaged in nfs-utils-client.

From: yocto-bounces@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of H?nel-Baas, Alexander
Sent: Thursday, January 22, 2015 5:38 PM
To: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
Subject: [yocto] mount.nfs -> how i include nfs-utils

Hi

In terms of my question „how i include nfs-utils“ i saw that the nfs-utils was compiled correctly.
But there was no mount.nfs in /sbin on the target or in the rootfs image.

What is the step to get this files in the do_rootfs process?

With best regards,
Alexander


--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto



--
JCP

[-- Attachment #2: Type: text/html, Size: 13184 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mount.nfs -> how i include nfs-utils
  2015-01-23  7:14       ` Hänel-Baas, Alexander
@ 2015-01-23  7:40         ` Trevor Woerner
  2015-01-23  7:45           ` Hänel-Baas, Alexander
  0 siblings, 1 reply; 7+ messages in thread
From: Trevor Woerner @ 2015-01-23  7:40 UTC (permalink / raw)
  To: "Hänel-Baas, Alexander", Jegan Chandru; +Cc: yocto, ting.liu

On 01/23/15 02:14, Hänel-Baas, Alexander wrote:
> I have added the line IMAGE_INSTALL_append=”nfs-utils” in the
> local.conf file and now nfs work on the target.

If the above line is working, that would be a lucky coincidence! :-)

Using the _append operator one needs to include the space when adding
their string:

    IMAGE_INSTALL_append = " nfs-utils"

In your case I'm guessing there already was a space at the end of the
existing object, otherwise the code building your image would not have
been able to separate "nfs-utils" from whatever proceeded it, and
therefore would not have been able to add that package to your image.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mount.nfs -> how i include nfs-utils
  2015-01-23  7:40         ` Trevor Woerner
@ 2015-01-23  7:45           ` Hänel-Baas, Alexander
  0 siblings, 0 replies; 7+ messages in thread
From: Hänel-Baas, Alexander @ 2015-01-23  7:45 UTC (permalink / raw)
  To: Trevor Woerner, Jegan Chandru; +Cc: yocto, ting.liu

You are right

That was a copy & paste error.
The line called exactly: IMAGE_INSTALL_append = " nfs-utils"
With the spacer.

Alex

-----Ursprüngliche Nachricht-----
Von: Trevor Woerner [mailto:twoerner@gmail.com] 
Gesendet: Freitag, 23. Januar 2015 08:40
An: Hänel-Baas, Alexander; Jegan Chandru
Cc: yocto@yoctoproject.org; ting.liu@freescale.com
Betreff: Re: [yocto] mount.nfs -> how i include nfs-utils

On 01/23/15 02:14, Hänel-Baas, Alexander wrote:
> I have added the line IMAGE_INSTALL_append="nfs-utils" in the 
> local.conf file and now nfs work on the target.

If the above line is working, that would be a lucky coincidence! :-)

Using the _append operator one needs to include the space when adding their string:

    IMAGE_INSTALL_append = " nfs-utils"

In your case I'm guessing there already was a space at the end of the existing object, otherwise the code building your image would not have been able to separate "nfs-utils" from whatever proceeded it, and therefore would not have been able to add that package to your image.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-23  7:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-22  9:37 mount.nfs -> how i include nfs-utils Hänel-Baas, Alexander
2015-01-23  2:02 ` ting.liu
2015-01-23  6:20   ` Hänel-Baas, Alexander
2015-01-23  6:38     ` Jegan Chandru
2015-01-23  7:14       ` Hänel-Baas, Alexander
2015-01-23  7:40         ` Trevor Woerner
2015-01-23  7:45           ` Hänel-Baas, Alexander

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.