minor fixes for current HEADs
cover minor fixes for current HEADs
The following changes since commit e3e92fe9035f872e619f56426414dd93e917f3cc:
README: Refactor (2013-01-24 21:34:48 +0200)
are available in the git repository at:
git://github.com/schnitzeltony/meta-raspberrypi.git work
Andreas Müller (2):
layer.conf: fix parse
xserver-xf86-config: fix do_install
conf/layer.conf | 2 +- .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.4.4
PATCH 1/2 layer.conf: fix parse
after meta-systemd commit [1] the following error was thrown during parsing:
ERROR: Unable to parse /home/Superandy/data/oe-core/sources/meta-raspberrypi/conf/layer.conf:
Failure expanding variable BBFILES, expression was
.../home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/recipes-*/*/*.bb /home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/oe-core/recipes-*/*/*.bbappend /home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-oe/recipes-*/*/*.bbappend
${@base_contains('BBFILE_COLLECTIONS', 'systemd-layer','', '/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/invalid.bb', d)} ${@base_contains('BBFILE_COLLECTIONS', 'gnome-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-gnome/recipes-*/*/*.bbappend', '', d)} ${@base_contains('BBFILE_COLLECTIONS', 'efl-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-efl/recipes-*/*/*.bbappend', '', d)} ${@base_contains('BBFILE_COLLECTIONS', 'multimedia-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-multimedia/recipes-*/*/*.bbappend', '', d)} ${@base_contains('BBFILE_COLLECTIONS', 'networking','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-networking/recipes-*/*/*.bbappend', '', d)} ${@base_contains('BBFILE_COLLECTIONS', 'xfce-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-xfce/recipes-*/*/*.bbappend', '', d)}
...
which triggered exception NameError: name 'base_contains' is not defined
[1] http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e
--- conf/layer.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
conf/layer.conf +1 -1
@@ -2,7 +2,7 @@ BBPATH .= ":${LAYERDIR}" # We have a recipes directory containing .bb and .bbappend files, add to BBFILES -BBFILES := "${BBFILES} ${LAYERDIR}/recipes*/*/*.bb \ +BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "raspberrypi"
Signature · 1 line
1.7.4.4
Re: [meta-raspberrypi][PATCH 1/2] layer.conf: fix parse
Quoted 40 lines · Andreas Müller
after meta-systemd commit [1] the following error was thrown during parsing:
ERROR: Unable to parse
/home/Superandy/data/oe-core/sources/meta-raspberrypi/conf/layer.conf:
Failure expanding variable BBFILES, expression was
.../home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/recipes-*/*/*.bb/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/oe-core/recipes-*/*/*.bbappend/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-oe/recipes-*/*/*.bbappend
${@base_contains('BBFILE_COLLECTIONS', 'systemd-layer','', '/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/invalid.bb', d)} ${@base_contains('BBFILE_COLLECTIONS', 'gnome-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-gnome/recipes-*/*/*.bbappend', '', d)} ${@base_contains('BBFILE_COLLECTIONS', 'efl-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-efl/recipes-*/*/*.bbappend', '', d)} ${@base_contains('BBFILE_COLLECTIONS', 'multimedia-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-multimedia/recipes-*/*/*.bbappend', '', d)} ${@base_contains('BBFILE_COLLECTIONS', 'networking','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-networking/recipes-*/*/*.bbappend', '', d)} ${@base_contains('BBFILE_COLLECTIONS', 'xfce-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-xfce/recipes-*/*/*.bbappend', '', d)}
...
which triggered exception NameError: name 'base_contains' is not defined[1] http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e
Signed-off-by Andreas Müller <[email protected]>--- conf/layer.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)conf/layer.conf +1
-2@@ -2,7 +2,7 @@ BBPATH .= ":${LAYERDIR}" # We have a recipes directory containing .bb and .bbappend files, add to BBFILES -BBFILES := "${BBFILES} ${LAYERDIR}/recipes*/*/*.bb \ +BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "raspberrypi" --1.7.4.4
Quoted 4 lines
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Merged with a little commit message tweak.
Thank you,
--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12
PATCH 2/2 xserver-xf86-config: fix do_install
In reply to Andreas Müllerfor some reason wildcards don't work in current head. Error message was:
| DEBUG: Executing shell function do_install
| install: cannot stat `/home/Superandy/tmp/oe-core-eglibc/work/raspberrypi-angstrom-linux-gnueabi/xserver-xf86-config/0.1-r18/xorg.conf.d/*': No such file or directory
--- .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +4 -2
@@ -1,12 +1,14 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" # Don't forget to bump PRINC if you update the extra files. -PRINC := "${@int(PRINC) + 5}" +PRINC := "${@int(PRINC) + 6}" THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" -SRC_URI_append_raspberrypi = " file://xorg.conf.d/* " +SRC_URI_append_raspberrypi = " \ + file://xorg.conf.d/10-evdev.conf \ +" do_install_append_raspberrypi () { install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
Signature · 1 line
1.7.4.4
Re: [meta-raspberrypi][PATCH 2/2] xserver-xf86-config: fix do_install
Quoted 5 lines · Andreas Müller
for some reason wildcards don't work in current head. Error message was:
| DEBUG: Executing shell function
do_install
| install: cannot stat `/home/Superandy/tmp/oe-core-eglibc/work/raspberrypi-angstrom-linux-gnueabi/xserver-xf86-config/0.1-r18/xorg.conf.d/*': No such file or directory
I can't reproduce your error. For me this works. Maybe was something broken in oe-core? Anyway it seems to be fixed now. Would you retest it please
Quoted 14 lines
Signed-off-by Andreas Müller <[email protected]>--- .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +0
-1@@ -1,12 +1,14 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" # Don't forget to bump PRINC if you update the extra files. -PRINC := "${@int(PRINC) + 5}"
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend line 12
Quoted 10 lines
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +4
-1+PRINC := "${@int(PRINC) + 6}" THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" -SRC_URI_append_raspberrypi = " file://xorg.conf.d/* " +SRC_URI_append_raspberrypi = " \ + file://xorg.conf.d/10-evdev.conf \ +"
I don't find this lin ebreak necesssary here. And if it was, don't combine formating commits with other fixes.
Thanks,
--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12
Re: [meta-raspberrypi][PATCH 2/2] xserver-xf86-config: fix do_install
Quoted 9 lines · Andrei Gherzan
Quoted 5 lines · Andreas Müller
for some reason wildcards don't work in current head. Error message was:
| DEBUG: Executing shell function
do_install
| install: cannot stat `/home/Superandy/tmp/oe-core-eglibc/work/raspberrypi-angstrom-linux-gnueabi/xserver-xf86-config/0.1-r18/xorg.conf.d/*': No such file or directoryI can't reproduce your error. For me this works. Maybe was something broken in oe-core? Anyway it seems to be fixed now. Would you retest it please
Will do that
Quoted 20 lines
Quoted 20 lines
Signed-off-by Andreas Müller <[email protected]>--- .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +1
-1@@ -1,12 +1,14 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" # Don't forget to bump PRINC if you update the extra files. -PRINC := "${@int(PRINC) + 5}" +PRINC := "${@int(PRINC) + 6}" THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
Quoted 8 lines
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend line 12
Quoted 5 lines
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +3
-1-SRC_URI_append_raspberrypi = " file://xorg.conf.d/* " +SRC_URI_append_raspberrypi = " \ + file://xorg.conf.d/10-evdev.conf \ +"I don't find this lin ebreak necesssary here. And if it was, don't combine formating commits with other fixes.
Oops this was left over from some testing.
Andreas
Re: [meta-raspberrypi][PATCH 2/2] xserver-xf86-config: fix do_install
Hey Andreas,
Is this sill needed? Did you test this lately?
Quoted 50 lines · Andreas Müller
Quoted 5 lines · Andrei Gherzan
Quoted 4 lines · Andreas Müller
for some reason wildcards don't work in current head. Error message was:
| DEBUG: Executing shell function
do_install
| install: cannot stat`/home/Superandy/tmp/oe-core-eglibc/work/raspberrypi-angstrom-linux-gnueabi/xserver-xf86-config/0.1-r18/xorg.conf.d/*':
No such file or directoryQuoted 3 lines
Quoted 1 line
I can't reproduce your error. For me this works. Maybe was something
broken in
Quoted 1 line
oe-core? Anyway it seems to be fixed now. Would you retest it please
Will do that
Quoted 7 lines
Quoted 7 lines
Signed-off-by Andreas Müller <[email protected]>--- .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)diff --git
a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
Quoted 13 lines
Quoted 13 lines
index 65931e2..a8b8e8c 100644
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +1
-1@@ -1,12 +1,14 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" # Don't forget to bump PRINC if you update the extra files. -PRINC := "${@int(PRINC) + 5}" +PRINC := "${@int(PRINC) + 6}" THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"Quoted 6 lines
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend line 12
Quoted 5 lines
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +3
-1-SRC_URI_append_raspberrypi = " file://xorg.conf.d/* " +SRC_URI_append_raspberrypi = " \ + file://xorg.conf.d/10-evdev.conf \ +"I don't find this lin ebreak necesssary here. And if it was, don't
combine
Quoted 2 lines
formating commits with other fixes.
Oops this was left over from some testing.
Andreas
Signature · 2 lines
*Andrei Gherzan* m: +40.744.478.414 | f: +40.31.816.28.12
Re: [meta-raspberrypi][PATCH 2/2] xserver-xf86-config: fix do_install
Can't replicate this issue and somebody who experienced it in the past confirmed me that it was someway fixed. So I will drop this patch.
Thanks.
Quoted 66 lines · Andrei Gherzan
Hey Andreas,
Is this sill needed? Did you test this lately?
Quoted 44 lines · Andreas Müller
Quoted 2 lines · Andrei Gherzan
Quoted 1 line · Andreas Müller
for some reason wildcards don't work in current head. Error message
was:
Quoted 3 lines
Quoted 3 lines
| DEBUG: Executing shell function
do_install
| install: cannot stat`/home/Superandy/tmp/oe-core-eglibc/work/raspberrypi-angstrom-linux-gnueabi/xserver-xf86-config/0.1-r18/xorg.conf.d/*':
No such file or directoryQuoted 3 lines
Quoted 1 line
I can't reproduce your error. For me this works. Maybe was something
broken in
Quoted 1 line
oe-core? Anyway it seems to be fixed now. Would you retest it please
Will do that
Quoted 7 lines
Quoted 7 lines
Signed-off-by Andreas Müller <[email protected]>--- .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)diff --git
a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
Quoted 13 lines
Quoted 13 lines
index 65931e2..a8b8e8c 100644
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +1
-1@@ -1,12 +1,14 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" # Don't forget to bump PRINC if you update the extra files. -PRINC := "${@int(PRINC) + 5}" +PRINC := "${@int(PRINC) + 6}" THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"Quoted 6 lines
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend line 12
Quoted 5 lines
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +3
-1-SRC_URI_append_raspberrypi = " file://xorg.conf.d/* " +SRC_URI_append_raspberrypi = " \ + file://xorg.conf.d/10-evdev.conf \ +"I don't find this lin ebreak necesssary here. And if it was, don't
Quoted 7 lines
combine
Quoted 2 lines
formating commits with other fixes.
Oops this was left over from some testing.
Andreas
--
*Andrei Gherzan*
m: +40.744.478.414 | f: +40.31.816.28.12
Signature · 2 lines
*Andrei Gherzan* m: +40.744.478.414 | f: +40.31.816.28.12
Re: [meta-raspberrypi][PATCH 2/2] xserver-xf86-config: fix do_install
Quoted 5 lines · Andrei Gherzan
Can't replicate this issue and somebody who experienced it in the past confirmed me that it was someway fixed. So I will drop this patch.
Thanks.
I think wildcards are qorking currently - you can drop this one
Andreas