[OE-core] [PATCH 6/9] systemd: allow postinsts to run without systemd being present

Burton, Ross ross.burton at intel.com
Tue Mar 19 11:23:47 UTC 2013


On 12 March 2013 10:36, Enrico Scholz <enrico.scholz at sigma-chemnitz.de> wrote:
>> +if which systemctl >/dev/null; then
>
> check with the shell builtin 'type $prog' is more portable and does not
> require the external 'which' program.

Tried that (type -p systemctl), and failed on the host.  Really not
sure why to be honest.

Ross




More information about the Openembedded-core mailing list