Skip to contentSkip to conversation

Add nfs package to image minimal for atom-pc

DISCUSSION Jack 4 participants 6 messages Sep 16, 2013

lore
Share & tools
lore

Jack

author
#0 lore raw

Hi,

I built a core-image-minimal for atom-pc. Then, I want to add it nfs and ssh packages. I added IMAGE_INSTALL_append_pn-core-image-minimal = " packagegroup-core-ssh-openssh packagegroup-core-nfs" line to local.conf file. Package packagegroup-core-ssh-openssh was built but I got error for packagegroup-core-nfs. Error is:

Error: packagegroup-core-nfs not found in the base feeds (atom_pc core2 i686 i586 i486 i386 x86 noarch any all).

How can I solve this error ?
Thanks.

#1 lore raw

I reckon it should be packagegroup-core-nfs-server??! Can you try adding this in local.conf?

Quoted 22 lines · Jack

Hi,

I built a core-image-minimal for atom-pc. Then, I want to add it nfs and ssh
packages. I added IMAGE_INSTALL_append_pn-core-image-minimal = " packagegroup-core-ssh-openssh packagegroup-core-nfs" line to local.conf file. Package packagegroup-core-ssh-openssh was built but I got error for packagegroup-core-nfs. Error is:

Error: packagegroup-core-nfs not found in the base feeds (atom_pc core2 i686
i586 i486 i386 x86 noarch any all).

How can I solve this error ?
Thanks.

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 1 line
JCP
author
#2 lore raw

I have already tested it. But I got error again. Error is :

Computing transaction...error: Can't install nfs-utils-1.2.7-r0@core2: no package provides /bin/bash

What can I do?

#3 lore raw
Quoted 6 lines · Jack

I have already tested it. But I got error again. Error is :

Computing transaction...error: Can't install nfs-utils-1.2.7-r0@core2: no package provides /bin/bash

What can I do?

well, you can add bash to your image using IMAGE_INSTALL or something however that might hide potential problem where may be there is one script in nfs-utils wanting bash which can be split into a package of its own. If you can file a bug in yocto bugzilla to track it as well

Quoted 5 lines

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#4 lore raw
Quoted 5 lines · Khem Raj
Quoted 2 lines · Jack

I have already tested it. But I got error again. Error is :

Quoted 8 lines
Quoted 4 lines

Computing transaction...error: Can't install nfs-utils-1.2.7-r0@core2: no package provides /bin/bash

What can I do?

well, you can add bash to your image using IMAGE_INSTALL or something however that might hide potential problem where may be there is one script in nfs-utils wanting bash which can be split into a package of its own. If you can file a bug in yocto bugzilla to track it as well

nfs-utils contains a couple bash scripts, e.g. osd_login or start-statd. Both use in its current state at least some bash specifics, so they need to either be modified to work with any shell, split out or bash needs to be added as dependency. I already reported this on the mailing list some months ago, but since then I simply added bash to the image, as I was told that adding bash as dependency is a no-go.

Philipp

#5 lore raw
Quoted 7 lines · Philipp Wagner
Quoted 6 lines · Khem Raj
Quoted 3 lines · Jack

I have already tested it. But I got error again. Error is :

Computing transaction...error: Can't install nfs-utils-1.2.7-r0@core2:

no

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

package provides /bin/bash

What can I do?

well, you can add bash to your image using IMAGE_INSTALL or something

however that might

Quoted 1 line
Quoted 1 line

hide potential problem where may be there is one script in nfs-utils

wanting bash which

Quoted 1 line
Quoted 1 line

can be split into a package of its own. If you can file a bug in yocto

bugzilla to track it as well

Quoted 7 lines

nfs-utils contains a couple bash scripts, e.g. osd_login or start-statd. Both use in its current state at least some bash specifics, so they need to either be modified to work with any shell, split out or bash needs to be added as dependency. I already reported this on the mailing list some months ago, but since then I simply added bash to the image, as I was told that adding bash as dependency is a no-go.

its really not a no go but its not a depend but rdepend and even better id bashism can be removed

Quoted 7 lines

Philipp
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto