Skip to contentSkip to conversation

oe-core lsb / oe-classic lsb_base

DISCUSSION Andreas Müller 2 participants 3 messages Sep 28, 2011

lore
Share & tools
lore
#0 lore raw

I am trying to get networkmanager ( included in meta-oe ) working. Since the daemon does not start automatically, I try to start it manually by /etc/init.d/Networkmanager start

That complaines about missing /lib/lsb/init-functions. OK - I add lsb to RDEPEND in networkmanager but now manual start complains for missing function log_daemon_msg ( and will surely later complain about log_end_msg ). Further investigations make me wonder:

- *All* files found in /etc/core-lsb include the file /etc/init.d/functions which is not included on my image.
- scripts init-functions and included are sourced in oe-core. Do we want to maintain these scripts?
- isn't this a case for inherit allarch?

I checked lsb_base in oe-classic: The sources are taken from debian and

+ /lib/lsb/init-functions contains my missing functions
- lsb_release is a python script

So how about

* reduce lsb down to lsb_release ( and rename recipe to lsb_release )
* add lsb_base from oe-classic

OR

combine both: Take oe-core lsb_release and oe-classic init-functions ( resulting version number? )

What do you think?

Andreas

#1 lore raw

Op 28 sep. 2011 om 16:19 heeft Andreas Müller <[email protected]> het volgende geschreven:

Quoted 1 line

I am trying to get networkmanager ( included in meta-oe ) working. Since the daemon does not start automatically, I try to start it manually by /etc/init.d/Networkmanager start

Stop using sysvinit and switch to systemd.

Quoted 28 lines

That complaines about missing /lib/lsb/init-functions. OK - I add lsb to RDEPEND in networkmanager but now manual start complains for missing function log_daemon_msg ( and will surely later complain about log_end_msg ). Further investigations make me wonder:

- *All* files found in /etc/core-lsb include the file /etc/init.d/functions which is not included on my image.
- scripts init-functions and included are sourced in oe-core. Do we want to maintain these scripts?
- isn't this a case for inherit allarch?

I checked lsb_base in oe-classic: The sources are taken from debian and

+ /lib/lsb/init-functions contains my missing functions
- lsb_release is a python script

So how about

* reduce lsb down to lsb_release ( and rename recipe to lsb_release )
* add lsb_base from oe-classic

OR

combine both: Take oe-core lsb_release and oe-classic init-functions ( resulting version number? )

What do you think?

Andreas

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 6 lines · Koen Kooi

Op 28 sep. 2011 om 16:19 heeft Andreas Müller <[email protected]> het volgende geschreven:

Quoted 1 line

I am trying to get networkmanager ( included in meta-oe ) working. Since the daemon does not start automatically, I try to start it manually by /etc/init.d/Networkmanager start

Stop using sysvinit and switch to systemd.

I know - but for debugging I would like to have since systemd autostart does not work and I do not see why..

So your suggestion: No public efforts for lsb?

Quoted 33 lines
Quoted 32 lines

That complaines about missing /lib/lsb/init-functions. OK - I add lsb to RDEPEND in networkmanager but now manual start complains for missing function log_daemon_msg ( and will surely later complain about log_end_msg ). Further investigations make me wonder:

- *All* files found in /etc/core-lsb include the file /etc/init.d/functions which is not included on my image.
- scripts init-functions and included are sourced in oe-core. Do we want to maintain these scripts?
- isn't this a case for inherit allarch?

I checked lsb_base in oe-classic: The sources are taken from debian and

+ /lib/lsb/init-functions contains my missing functions
- lsb_release is a python script

So how about

* reduce lsb down to lsb_release ( and rename recipe to lsb_release )
* add lsb_base from oe-classic

OR

combine both: Take oe-core lsb_release and oe-classic init-functions ( resulting version number? )

What do you think?

Andreas

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core