Skip to contentSkip to conversation

randrproto: set ALLOW_EMPTY

PATCH In review Yi Zhao 3 participants 5 messages Jul 6, 2016

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

cover randrproto: set ALLOW_EMPTY

The following changes since commit 5c11e365e19357f721c49d076971567e7b64b61b:

lib/oeqa: add Galculator to SDK and runtime tests (2016-07-01 16:22:48 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib yzhao/fix-randrproto
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=yzhao/fix-randrproto

Yue Tao (1):
randrproto: set ALLOW_EMPTY

 meta/recipes-graphics/xorg-proto/randrproto_1.5.0.bb | 2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/1 randrproto: set ALLOW_EMPTY

From: Yue Tao <[email protected]>

When adding package randrproto to an image with IMAGE_INSTALL_append = " randrproto", an error occurs:

$ bitbake core-image-sato
[snip]
ERROR: randrproto not found in the base feeds (qemux86 i586 x86 noarch any all).
[snip]

Set ALLOW_EMPTY to avoid this issue.

---
 meta/recipes-graphics/xorg-proto/randrproto_1.5.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-graphics/xorg-proto/randrproto_1.5.0.bb +2 -0
index b59e525..22c7f81 100644
@@ -17,3 +17,5 @@ BBCLASSEXTEND = "native nativesdk"
 
 SRC_URI[md5sum] = "a46765c8dcacb7114c821baf0df1e797"
 SRC_URI[sha256sum] = "4c675533e79cd730997d232c8894b6692174dce58d3e207021b8f860be498468"
+
+ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
2.7.4
#2 lore raw
Quoted 9 lines · Yi Zhao

When adding package randrproto to an image with IMAGE_INSTALL_append = " randrproto", an error occurs:

$ bitbake core-image-sato
[snip]
ERROR: randrproto not found in the base feeds (qemux86 i586 x86 noarch any
all).
[snip]

No.

$ oe-pkgdata-util list-pkgs -rp randrproto
randrproto-dbg
randrproto-dev
randrproto-doc

The answer here is to not add randrproto to an image, as the package doesn't exist. Especially when this is whack-a-mole:

$ oe-pkgdata-util list-pkgs -rp renderproto
renderproto-dev
renderproto-dbg
renderproto-doc

(repeat for every recipe in x11-proto)

Ross

#3 lore raw
Quoted 21 lines · Ross
Quoted 9 lines · Yi Zhao

When adding package randrproto to an image with IMAGE_INSTALL_append = " randrproto", an error occurs:

$ bitbake core-image-sato
[snip]
ERROR: randrproto not found in the base feeds (qemux86 i586 x86
noarch any all).
[snip]

No.

$ oe-pkgdata-util list-pkgs -rp randrproto
randrproto-dbg
randrproto-dev
randrproto-doc

The answer here is to not add randrproto to an image, as the package doesn't exist. Especially when this is whack-a-mole:

Quoted 6 lines
$ oe-pkgdata-util list-pkgs -rp renderproto
renderproto-dev
renderproto-dbg
renderproto-doc

(repeat for every recipe in x11-proto)

Agreed. We've seen patches like this before, we rejected them last time and we will do again.

Cheers,

Richard

author
#4 lore raw

Hi Ross & Richard,

So that's a wrong usage for adding this package to an image. Thank you for the explanation.

Yi

Quoted 34 lines · Richard Purdie
Quoted 20 lines · Ross
Quoted 9 lines · Yi Zhao

When adding package randrproto to an image with IMAGE_INSTALL_append = " randrproto", an error occurs:

$ bitbake core-image-sato
[snip]
ERROR: randrproto not found in the base feeds (qemux86 i586 x86
noarch any all).
[snip]

No.

$ oe-pkgdata-util list-pkgs -rp randrproto
randrproto-dbg
randrproto-dev
randrproto-doc

The answer here is to not add randrproto to an image, as the package doesn't exist. Especially when this is whack-a-mole:

Quoted 6 lines
$ oe-pkgdata-util list-pkgs -rp renderproto
renderproto-dev
renderproto-dbg
renderproto-doc

(repeat for every recipe in x11-proto)

Agreed. We've seen patches like this before, we rejected them last time and we will do again.

Cheers,

Richard