usbinit, weston-init, run-postinsts, qt-demo-init: Drop allarch
PATCH 1/1 usbinit, weston-init, run-postinsts, qt-demo-init: Drop allarch
* update-rc.d.bbclass now adds dependency on TUNE_PKGARCH initscripts, so these cannot be allarch
--- meta/recipes-bsp/usbinit/usbinit.bb | 2 +- meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb | 2 +- meta/recipes-graphics/wayland/weston-init.bb | 2 +- meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-bsp/usbinit/usbinit.bb +1 -1
@@ -15,7 +15,7 @@ do_install() { install usb-gether ${D}${sysconfdir}/init.d } -inherit update-rc.d allarch +inherit update-rc.d INITSCRIPT_NAME = "usb-gether" INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."
meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb +1 -1
@@ -9,7 +9,7 @@ SRC_URI = "file://run-postinsts \ file://run-postinsts.init \ file://run-postinsts.service" -inherit allarch systemd update-rc.d +inherit systemd update-rc.d INITSCRIPT_NAME = "run-postinsts" INITSCRIPT_PARAMS = "start 99 S ."
meta/recipes-graphics/wayland/weston-init.bb +1 -1
@@ -11,7 +11,7 @@ do_install() { install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston } -inherit allarch update-rc.d +inherit update-rc.d RDEPENDS_${PN} = "weston kbd"
meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb +1 -1
@@ -11,7 +11,7 @@ do_install() { install -m 0755 ${WORKDIR}/qtdemo-init ${D}${sysconfdir}/init.d/qtdemo } -inherit update-rc.d allarch +inherit update-rc.d INITSCRIPT_NAME = "qtdemo" INITSCRIPT_PARAMS = "start 99 5 2 . stop 19 0 1 6 ."
Signature · 1 line
2.0.0
Hi Martin,
Quoted 2 lines · On Thursday 19 June 2014 13:23:42 Martin Jansa wrote:
* update-rc.d.bbclass now adds dependency on
TUNE_PKGARCHinitscripts, so these cannot be allarch
As I've said before, I really dislike this change. The system should be made to handle the situation properly instead of working around the issue.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 8 lines · Paul Eggleton
Hi Martin,
Quoted 2 lines · On Thursday 19 June 2014 13:23:42 Martin Jansa wrote:
* update-rc.d.bbclass now adds dependency on
TUNE_PKGARCHinitscripts, so these cannot be allarchAs I've said before, I really dislike this change. The system should be made to handle the situation properly instead of working around the issue.
This one is new :) (I think) I had clean state (with my unmerged changes) with dylan (now I'm testing dora, daisy, master as well), these are "new" as the initscripts dependency was added recently.
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 8 lines · On Thursday 19 June 2014 18:39:22 Martin Jansa wrote:
Quoted 7 lines · Paul Eggleton
Hi Martin,
Quoted 3 lines · On Thursday 19 June 2014 13:23:42 Martin Jansa wrote:
* update-rc.d.bbclass now adds dependency on
TUNE_PKGARCHinitscripts, so
these cannot be allarch
Quoted 7 lines
Quoted 3 lines
As I've said before, I really dislike this change. The system should be made to handle the situation properly instead of working around the issue.
This one is new :) (I think) I had clean state (with my unmerged changes) with dylan (now I'm testing dora, daisy, master as well), these are "new" as the initscripts dependency was added recently.
I'm aware that it's a new instance, but of the same situation.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 5 lines · Paul Eggleton
Quoted 2 lines
* update-rc.d.bbclass now adds dependency on
TUNE_PKGARCHinitscripts, so these cannot be allarchAs I've said before, I really dislike this change. The system should be made to handle the situation properly instead of working around the issue.
Isn't this what the abi exclude thingy is for?
Ross
Quoted 8 lines · Ross
Quoted 5 lines · Paul Eggleton
Quoted 2 lines
* update-rc.d.bbclass now adds dependency on
TUNE_PKGARCHinitscripts, so these cannot be allarchAs I've said before, I really dislike this change. The system should be made to handle the situation properly instead of working around the issue.
Isn't this what the abi exclude thingy is for?
Do we want to maintain list of all recipes which inherit update-rc.c in layer.conf?
That's what I did in one of our layers and the list is rather long.
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 8 lines · Martin Jansa
Quoted 7 lines · Ross
Quoted 5 lines · Paul Eggleton
Quoted 2 lines
* update-rc.d.bbclass now adds dependency on
TUNE_PKGARCHinitscripts, so these cannot be allarchAs I've said before, I really dislike this change. The system should be made to handle the situation properly instead of working around the issue.
Quoted 6 lines
Quoted 1 line
Isn't this what the abi exclude thingy is for?
Do we want to maintain list of all recipes which inherit
update-rc.cin layer.conf?That's what I did in one of our layers and the list is rather long.
Ah sorry for possible confusion, I had to list *all* of them because we have MACHINE_ARCH initscripts.
To fix current issues in oe-core we only need to list all recipes which inherit allarch *and* update-rc.d (unless we want to exclude it everywhere just for consistency).
Quoted 1 line
abi exclude thingy
is a bit dangerous, I still sometimes see issues when something is supposed to be abisafe and in some cases it isn't and I need to manually bump PR in the recipe which wasn't rebuilt.
So I'm trying to use SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS only in cases where it's really safe or when the dependent recipe takes forever to build (so I wan't to build it just once or once per TUNE_PKGARCH). For simple and quickly built recipe I really don't mind "building" them multiple times if it prevents "rebuilding" them every single time I change MACHINE.
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 29 lines · Martin Jansa
Quoted 8 lines · Martin Jansa
Quoted 7 lines · Ross
Quoted 5 lines · Paul Eggleton
Quoted 2 lines
* update-rc.d.bbclass now adds dependency on
TUNE_PKGARCHinitscripts, so these cannot be allarchAs I've said before, I really dislike this change. The system should be made to handle the situation properly instead of working around the issue.
Quoted 6 lines
Quoted 1 line
Isn't this what the abi exclude thingy is for?
Do we want to maintain list of all recipes which inherit
update-rc.cin layer.conf?That's what I did in one of our layers and the list is rather long.
Ah sorry for possible confusion, I had to list *all* of them because we have
MACHINE_ARCHinitscripts.To fix current issues in oe-core we only need to list all recipes which inherit allarch *and* update-rc.d (unless we want to exclude it everywhere just for consistency).
Quoted 1 line
abi exclude thingy
is a bit dangerous, I still sometimes see issues when something is supposed to be abisafe and in some cases it isn't and I need to manually bump PR in the recipe which wasn't rebuilt.
Quoted 5 lines
So I'm trying to use
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPSonly in cases where it's really safe or when the dependent recipe takes forever to build (so I wan't to build it just once or once perTUNE_PKGARCH). For simple and quickly built recipe I really don't mind "building" them multiple times if it prevents "rebuilding" them every single time I change MACHINE.
Can't we just add "initscripts" to the list there. There shouldn't be a need to rebuild initscripts any time something depending on it changes, it should have a safe ABI in that sense?
Cheers,
Richard
Avoiding getting the login prompt on the LCD at boot
Running a Beaglebone with an LCD.
Running Yocto-1.5 with meta-oe, meta-ti, meta-arago, meta-qt5 added.
Would like to have boot process where the LCD looks like the following:
1. Boot LOGO
2. psplash
3. QT based application.
Between 2 and 3, I get an ugly login prompt.
Removed the FRAMEBUFFER_CONSOLE from the kernel build, but then I do not get a Boot LOGO.
The screen is black, blinks and then psplash starts.
Any ideas?
Ulf Samuelsson
Re: Avoiding getting the login prompt on the LCD at boot
Quoted 1 line · Ulf Samuelsson
Between 2 and 3, I get an ugly login prompt.
So something is chvt'ing away from psplash too early. Is the Qt application running on framebuffer, or Wayland, or X11, or what?
Ross
Re: Avoiding getting the login prompt on the LCD at boot
2014-07-03 22:31, Burton, Ross skrev:
Quoted 6 lines · Ulf Samuelsson
Quoted 1 line
Between 2 and 3, I get an ugly login prompt.
So something is chvt'ing away from psplash too early. Is the Qt application running on framebuffer, or Wayland, or X11, or what?
Ross
Running eglfs using the PowerVR omaplfb and da8xx-fb drivers.
The ugly login prompt disappears, if I don't have a console on the framebuffer. But why don't I get a logo if I disable it???
BR
Ulf
PATCH 1/1 SIGGEN_EXCLUDERECIPES_ABISAFE: add initscripts
In reply to Paul Eggleton* update-rc.d now adds initscripts dependency even to allarch recipes making them effectively TUNE_PKGARCH, "fix" it by excluding initscripts from all signatures
--- meta/conf/layer.conf | 1 + 1 file changed, 1 insertion(+)
meta/conf/layer.conf +1 -0
@@ -30,4 +30,5 @@ SIGGEN_EXCLUDERECIPES_ABISAFE += " \ udev-extraconf \ packagegroup-x11-xserver \ systemd-serialgetty \ + initscripts \ "
Signature · 1 line
2.0.4