Thanks Rudi, that's got it.
-Original Message-
From: Rudolf J Streif [mailto:rudolf.str...@gmail.com]
Sent: 06 January 2017 17:18
To: yocto@yoctoproject.org; colin.helliw...@ln-systems.com
Subject: Re: [yocto] Adding to inittab based on image content
Hi Colin,
The correct way of
On Saturday, January 7, 2017 10:23:50 AM PST Mike Looijmans wrote:
> On 06-01-17 18:17, Rudolf J Streif wrote:
> > Hi Colin,
> >
> > The correct way of doing this is a package postinstallation script that is
> > run by the package manager after the package containing your application
> > is instal
On 06-01-17 18:17, Rudolf J Streif wrote:
Hi Colin,
The correct way of doing this is a package postinstallation script that is run
by the package manager after the package containing your application is
installed on the target system.
You add to your recipe:
pkg_postinst_${PN}() {
#!/bin/sh
e
Hi Colin,
The correct way of doing this is a package postinstallation script that is run
by the package manager after the package containing your application is
installed on the target system.
You add to your recipe:
pkg_postinst_${PN}() {
#!/bin/sh
echo "whateveryouneed" >> ${D}/etc/inittab
}
Hi,
I have a custom recipe for an application, and the app also needs an entry
adding to inittab. I'd like to trigger this, obviously, only when the app is
included in the image.
I came across some hints at how to do this -
http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/tree/recipe