Actually, that depends on which package format you use. The script that
executes the postinsts on target can be found in
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.
Alex
On Fri, 27 Mar 2020 at 10:06, wrote:
> Hi Alex,
> Im not sure if my previous reply got sent/reached
I am using deb as my package class. What I am gathering from that run-postinsts
directory is that there is a systemd service that starts and executes the
run-postinsts script.
That script looks for a directory /etc/deb-postinsts and executes all scripts
in there. Does that mean, that the
You can start by inspecting your image's rootfs, the scripts to run on
first boot should be in /etc/ somewhere. Are they?
Alex
On Fri, 27 Mar 2020 at 09:14, wrote:
> Hi,
> I am trying to execute a few shell commands the first time a new image
> boots. The Yocto built-in mechanism for that
Hi Alex,
Im not sure if my previous reply got sent/reached you. I apologise in case you
receive this message twice.
Should there be a script in /etc created from my pkg_postinst_ontarget_${PN}
function? If yes, what would its name be?
Stefan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all
I am not sure about deb-postinsts. What I see the script doing is:
eval dpkg --configure -a $append_log
Alex
On Fri, 27 Mar 2020 at 10:26, wrote:
> I am using deb as my package class. What I am gathering from that
> run-postinsts directory is that there is a systemd service that starts and
>
Hi,
I am trying to execute a few shell commands the first time a new image boots.
The Yocto built-in mechanism for that should be pkg_postinst_ontarget_${PN}.
However I can not get the commands I put within that function to execute. I am
having a hard time trying to figure out what the problem
Hi Stefan,
On Fri, Mar 27, 2020 at 05:26:23AM -0700, stefan.wennin...@evopro-ag.de wrote:
> I think the relevant part for me in that script is the func
> exec_postinst_scriplets(). It looks to me as if this function iterates
> through all scripts in the /etc/deb-postinsts directory in my case
Hi Stefan,
On Fri, Mar 27, 2020 at 06:41:57AM -0700, stefan.wennin...@evopro-ag.de wrote:
> Hi Quentin,
> I have now read up on the exact meaning of PROVIDES and PACKAGES and I do
> understand your response.
> It does sound like I am talking about PACKAGES since I did suspect PROVIDES
> to work
Hi Quentin,
I have now read up on the exact meaning of PROVIDES and PACKAGES and I do
understand your response.
It does sound like I am talking about PACKAGES since I did suspect PROVIDES to
work like that.
Well at least if PROVIDES would work like that, it would explain why my
postinstall did
Signed-off-by: Jan Luebbe
---
recipes-mac/AppArmor/{apparmor_2.13.3.bb => apparmor_2.13.4.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename recipes-mac/AppArmor/{apparmor_2.13.3.bb => apparmor_2.13.4.bb} (99%)
diff --git a/recipes-mac/AppArmor/apparmor_2.13.3.bb
This avoids "systemd[1]: Configuration file
/lib/systemd/system/apparmor.service is marked executable. Please remove
executable permission bits. Proceeding anyway." on boot.
Signed-off-by: Jan Luebbe
---
recipes-mac/AppArmor/apparmor_2.13.3.bb | 2 +-
1 file changed, 1 insertion(+), 1
I think the relevant part for me in that script is the func
exec_postinst_scriplets(). It looks to me as if this function iterates through
all scripts in the /etc/deb-postinsts directory in my case and executes them
with "sh".
My problem seems to have stemmed from confusion on my part about
Hi Marteen,
thanks for working on this, a couple of comments
On 3/19/20 6:26 AM, Maarten wrote:
Add support for the special tilde character. The current opkg version
allows specifying a version appended with a tilde e.g.
1.2.2~releasecandidate which is lower in version than 1.2.2 itself. With
On 3/9/20 5:45 AM, Yi Zhao wrote:
> Add missing runtime dependencies otherwise /usr/bin/oscapd can not
> startup.
>
> Signed-off-by: Yi Zhao
merged.
thanks,
Armin
> ---
> .../openscap-daemon/openscap-daemon_0.1.10.bb| 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
On 3/25/20 6:01 AM, Martin Jansa wrote:
> Signed-off-by: Martin Jansa
Merged.
thanks,
Armin
> ---
> conf/layer.conf | 2 +-
> meta-integrity/conf/layer.conf | 2 +-
> meta-security-compliance/conf/layer.conf | 2 +-
> meta-security-isafw/conf/layer.conf
On 3/25/20 4:43 AM, Jonatan Pålsson wrote:
> Signed-off-by: Jonatan Pålsson
series merged.
thanks
Armin
> ---
> recipes-security/sssd/sssd_1.16.4.bb | 18 +-
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/recipes-security/sssd/sssd_1.16.4.bb
>
Signed-off-by: Armin Kuster
---
features/apparmor/apparmor_on_boot.cfg | 2 --
1 file changed, 2 deletions(-)
delete mode 100644 features/apparmor/apparmor_on_boot.cfg
diff --git a/features/apparmor/apparmor_on_boot.cfg
b/features/apparmor/apparmor_on_boot.cfg
deleted file mode 100644
index
17 matches
Mail list logo