upstart vs. task-proper-tools
We like to create an upstart based image. Therefor we use
IMAGE_INIT_MANAGER = "upstart upstart-sysvcompat sysvinit-utils"
inside our image recipe.
Unfortunately our image somehow inherits task-proper-tools which contains an RDEPEND for sysvinit. This results in
-------------------------->snip<-------------------------
| * check_data_file_clashes: Package upstart-sysvcompat wants to install file /home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/sbin/runlevel | But that file is already provided by package * sysvinit | * check_data_file_clashes: Package upstart-sysvcompat wants to install file /home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/etc/init.d/rcS | But that file is already provided by package * sysvinit | * check_data_file_clashes: Package upstart-sysvcompat wants to install file /home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/etc/init.d/rc | But that file is already provided by package * sysvinit | * check_data_file_clashes: Package upstart-sysvcompat wants to install file /home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/etc/default/rcS | But that file is already provided by package * sysvinit | * opkg_install_cmd: Cannot install package upstart.
-------------------------->snip<-------------------------
Regards,
Steffen
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Quoted 18 lines · Steffen Sledz
We like to create an upstart based image. Therefor we use
IMAGE_INIT_MANAGER= "upstart upstart-sysvcompat sysvinit-utils"inside our image recipe.
Unfortunately our image somehow inherits task-proper-tools which contains an RDEPEND for sysvinit. This results in
-------------------------->snip<-------------------------
| * check_data_file_clashes: Package upstart-sysvcompat wants to install file /home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/sbin/runlevel | But that file is already provided by package * sysvinit | * check_data_file_clashes: Package upstart-sysvcompat wants to install file /home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/etc/init.d/rcS | But that file is already provided by package * sysvinit | * check_data_file_clashes: Package upstart-sysvcompat wants to install file /home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/etc/init.d/rc | But that file is already provided by package * sysvinit | * check_data_file_clashes: Package upstart-sysvcompat wants to install file /home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/etc/default/rcS | But that file is already provided by package * sysvinit | * opkg_install_cmd: Cannot install package upstart.
Quoted 1 line
-------------------------->snip<-------------------------
BTW:
What is the exact meaning/purpose/use of task-proper-tools?
The list contains a lot of tools with existing alternatives (e.g. syslog-ng vs. rsyslog or pump vs. dhcpcd). If an image contains for example rsyslog and task-proper-tools then syslog-ng is installed too although it is not used (rsyslog has a higher u-a prio). So it senselessly occupies image space. :(
Steffen
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
W dniu 24.08.2011 14:31, Steffen Sledz pisze:
Quoted 2 lines
BTW:
What is the exact meaning/purpose/use of task-proper-tools?
Replace busybox components by full versions. Was made years ago and then updated by several people. While working for BugLabs company I used it to create rootfs without busybox.
Quoted 1 line
The list contains a lot of tools with existing alternatives (e.g. syslog-ng vs. rsyslog or pump vs. dhcpcd).
Then propose change which will allow to install one of them only at time?
Quoted 1 line · Steffen Sledz
We like to create an upstart based image. Therefor we use
Steffen, what are your thoughts on upstart vs systemd? I am moving toward systemd for one project, but I'm interested in what others are choosing and why.
Thanks,
Cliff
Signature · 2 lines
================= http://bec-systems.com
Quoted 6 lines · Cliff Brake
Quoted 1 line · Steffen Sledz
We like to create an upstart based image. Therefor we use
Steffen, what are your thoughts on upstart vs systemd? I am moving toward systemd for one project, but I'm interested in what others are choosing and why.
We're like to use systemd in the next major version of our images.
But currently we are bound to the runlevel model. We only want to use some additional upstart features.
Steffen
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Quoted 11 lines · Marcin Juszkiewicz
W dniu 24.08.2011 14:31, Steffen Sledz pisze:
Quoted 2 lines
BTW:
What is the exact meaning/purpose/use of task-proper-tools?Replace busybox components by full versions. Was made years ago and then updated by several people. While working for BugLabs company I used it to create rootfs without busybox.
Quoted 1 line
The list contains a lot of tools with existing alternatives (e.g. syslog-ng vs. rsyslog or pump vs. dhcpcd).
Then propose change which will allow to install one of them only at time?
Sorry, but my knowledge is not sufficient to do this. I've no idea how to reference u-a related tools here.
Who can help?
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Quoted 9 lines · Steffen Sledz
Quoted 8 lines · Marcin Juszkiewicz
W dniu 24.08.2011 14:31, Steffen Sledz pisze:
Quoted 2 lines
BTW:
What is the exact meaning/purpose/use of task-proper-tools?Replace busybox components by full versions. Was made years ago and then updated by several people. While working for BugLabs company I used it to create rootfs without busybox.
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
The list contains a lot of tools with existing alternatives (e.g. syslog-ng vs. rsyslog or pump vs. dhcpcd).
Then propose change which will allow to install one of them only at time?
Sorry, but my knowledge is not sufficient to do this. I've no idea how to reference u-a related tools here.
Why you don't remove task-proper-tools from your images RDEPENDS and add only tools you need which aren't provided by upstart?
or use something likeDISTRO_SYSLOG ?= "syslog-ng"
in task-proper-tools
and setDISTRO_SYSLOG = upstart
for your distro if distro level granularity is fine for you (all supported images are using upstart).
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 7 lines · Martin Jansa
Quoted 6 lines · Steffen Sledz
Quoted 5 lines · Marcin Juszkiewicz
W dniu 24.08.2011 14:31, Steffen Sledz pisze:
Quoted 1 line
BTW: What is the exact meaning/purpose/use of task-proper-tools?
Replace busybox components by full versions. Was made years ago and then updated by several people. While working for BugLabs company I used it to create rootfs without busybox.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
The list contains a lot of tools with existing alternatives (e.g. syslog-ng vs. rsyslog or pump vs. dhcpcd).
Then propose change which will allow to install one of them only at time?
Sorry, but my knowledge is not sufficient to do this. I've no idea how to reference u-a related tools here.
Why you don't remove task-proper-tools from your images RDEPENDS and add only tools you need which aren't provided by upstart?
task-proper-tools is not directly in our image RDEPENDS but inherited via task-sdk-native (may be via others too).
Quoted 3 lines
or use something like
DISTRO_SYSLOG?= "syslog-ng" in task-proper-toolsand set
DISTRO_SYSLOG= upstart for your distro if distro level granularity is fine for you (all supported images are using upstart).
We do not have an own distro (we use angstrom). It's only a custom image.
And the initial problem is sysvinit vs. upstart which are not u-a but need to be installed exclusively. If i'm right this is done by setting IMAGE_INIT_MANAGER. Can this variable used inside the task-proper-tools RDEPENDS?
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Quoted 10 lines · Steffen Sledz
Quoted 9 lines · Martin Jansa
Quoted 8 lines · Steffen Sledz
Quoted 7 lines · Marcin Juszkiewicz
W dniu 24.08.2011 14:31, Steffen Sledz pisze:
Quoted 1 line
BTW: What is the exact meaning/purpose/use of task-proper-tools?
Replace busybox components by full versions. Was made years ago and then updated by several people. While working for BugLabs company I used it to create rootfs without busybox.
Quoted 1 line
The list contains a lot of tools with existing alternatives (e.g. syslog-ng vs. rsyslog or pump vs. dhcpcd).
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Then propose change which will allow to install one of them only at time?
Sorry, but my knowledge is not sufficient to do this. I've no idea how to reference u-a related tools here.
Why you don't remove task-proper-tools from your images RDEPENDS and add only tools you need which aren't provided by upstart?
task-proper-tools is not directly in our image RDEPENDS but inherited via task-sdk-native (may be via others too).
then maybe it's time to propose removing it from task-sdk-native or add switch controlling if it should be included or not.
Quoted 7 lines
Quoted 3 lines
or use something like
DISTRO_SYSLOG?= "syslog-ng" in task-proper-toolsand set
DISTRO_SYSLOG= upstart for your distro if distro level granularity is fine for you (all supported images are using upstart).We do not have an own distro (we use angstrom). It's only a custom image.
And the initial problem is sysvinit vs. upstart which are not u-a but need to be installed exclusively. If i'm right this is done by setting
IMAGE_INIT_MANAGER. Can this variable used inside the task-proper-tools RDEPENDS?
No because you have one global task-proper-tools for different images (with possible different IMAGE_INIT_MANAGER values).
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 24-08-11 13:03, Steffen Sledz schreef:
Quoted 4 lines
We like to create an upstart based image. Therefor we use
IMAGE_INIT_MANAGER= "upstart upstart-sysvcompat sysvinit-utils"
Quoted 8 lines
inside our image recipe.
Unfortunately our image somehow inherits task-proper-tools which contains an RDEPEND for sysvinit. This results in
-------------------------->snip<------------------------- | *
check_data_file_clashes: Package upstart-sysvcompat wants to install file/home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/sbin/runlevel| But that file is already provided by package * sysvinit | *check_data_file_clashes: Package upstart-sysvcompat wants to install file/home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/etc/init.d/rcS| But that file is already provided by package * sysvinit | *check_data_file_clashes: Package upstart-sysvcompat wants to install
file/home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/etc/init.d/rc| But that file is already provided by package * sysvinit | *check_data_file_clashes: Package upstart-sysvcompat wants to install file/home/sledz/work/HydraIP/OE/tmp.6/rootfs/hydraip-hipox-devimage/etc/default/rcS| But that file is already provided by package * sysvinit | *opkg_install_cmd: Cannot install package upstart. -------------------------->snip<-------------------------
Why not change those into u-a entries?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFOVRadMkyGM64RGpERAkPdAJ4q2GZbqk9Bk9xI3/EJ+6puyDr0OgCgjgeI GPHe/PbojFKSuh4RqeXDKGY=
=aCHU
-----END PGP SIGNATURE-----
Am 24.08.2011 17:14, schrieb Martin Jansa:
Quoted 13 lines · Steffen Sledz
Quoted 12 lines · Martin Jansa
Quoted 11 lines · Steffen Sledz
Quoted 10 lines · Marcin Juszkiewicz
Quoted 8 lines
W dniu 24.08.2011 14:31, Steffen Sledz pisze:
Quoted 1 line
BTW: What is the exact meaning/purpose/use of task-proper-tools?
Replace busybox components by full versions. Was made years ago and then updated by several people. While working for BugLabs company I used it to create rootfs without busybox.
Quoted 1 line
The list contains a lot of tools with existing alternatives (e.g. syslog-ng vs. rsyslog or pump vs. dhcpcd).
Then propose change which will allow to install one of them only at time?
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Sorry, but my knowledge is not sufficient to do this. I've no idea how to reference u-a related tools here.
Why you don't remove task-proper-tools from your images RDEPENDS and add only tools you need which aren't provided by upstart?
task-proper-tools is not directly in our image RDEPENDS but inherited via task-sdk-native (may be via others too).
then maybe it's time to propose removing it from task-sdk-native or add switch controlling if it should be included or not.
+1
Quoted 10 lines
Quoted 7 lines
Quoted 3 lines
or use something like
DISTRO_SYSLOG?= "syslog-ng" in task-proper-toolsand set
DISTRO_SYSLOG= upstart for your distro if distro level granularity is fine for you (all supported images are using upstart).We do not have an own distro (we use angstrom). It's only a custom image.
And the initial problem is sysvinit vs. upstart which are not u-a but need to be installed exclusively. If i'm right this is done by setting
IMAGE_INIT_MANAGER. Can this variable used inside the task-proper-tools RDEPENDS?No because you have one global task-proper-tools for different images (with possible different
IMAGE_INIT_MANAGERvalues).
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058