Skip to contentSkip to conversation

upstart vs. task-proper-tools

DISCUSSION Steffen Sledz 5 participants 11 messages Aug 24, 2011

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
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
#2 lore raw

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?

#8 lore raw
In reply to Steffen Sledz
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
#9 lore raw
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
#3 lore raw
In reply to Marcin Juszkiewicz
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
#4 lore raw
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 like
DISTRO_SYSLOG ?= "syslog-ng"
in task-proper-tools

and set
DISTRO_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]
#5 lore raw
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-tools

and 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
#6 lore raw
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-tools

and 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]
#10 lore raw
In reply to Steffen Sledz

-----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-----

#7 lore raw
In reply to Martin Jansa

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-tools

and 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).

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