From 95aa2b4341dd554a9d6077adfce7ee27b3f69b35 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Sat, 10 Oct 2020 22:55:54 +0800 Subject: [PATCH] stx-extensions: fix the files permission Fix the files permission to avoid the following warning: - [ 1722.252634] systemd-coredump[190171]: Configuration file /etc/systemd/coredump.conf.d/coredump.conf is marked executable Please remove executable permission bits. Proceeding anyway. Story: 2008204 Task: 40988 Change-Id: I97d4ac6a9e1b6919dafda89f21c92bdff73c4925 Signed-off-by: Jackie Huang --- meta-stx-flock/stx-utilities/stx-extensions.bb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta-stx-flock/stx-utilities/stx-extensions.bb b/meta-stx-flock/stx-utilities/stx-extensions.bb index ade8f38..156b62f 100644 --- a/meta-stx-flock/stx-utilities/stx-extensions.bb +++ b/meta-stx-flock/stx-utilities/stx-extensions.bb @@ -15,18 +15,18 @@ do_compile[noexec] = "1" do_install() { - install -p -d -m0755 ${D}/${sysconfdir}/sysctl.d - install -m0755 coredump-sysctl.conf ${D}/${sysconfdir}/sysctl.d/50-coredump.conf + install -p -d -m 0755 ${D}/${sysconfdir}/sysctl.d + install -m 0644 coredump-sysctl.conf ${D}/${sysconfdir}/sysctl.d/50-coredump.conf # Fix the systemd unitdir and the arguments for kernel.core_pattern sed -i -e 's|${nonarch_libdir}/systemd|${systemd_unitdir}|' \ -e 's/%p/%P/' -e 's/%e/%c %h %e/' \ ${D}/${sysconfdir}/sysctl.d/50-coredump.conf - install -p -d -m0755 ${D}/${sysconfdir}/systemd/coredump.conf.d - install -m0755 coredump.conf ${D}/${sysconfdir}/systemd/coredump.conf.d/coredump.conf + install -p -d -m 0755 ${D}/${sysconfdir}/systemd/coredump.conf.d + install -m 0644 coredump.conf ${D}/${sysconfdir}/systemd/coredump.conf.d/coredump.conf - install -p -d -m0755 ${D}/${sysconfdir}/modules-load.d - install -m0644 modules-load-vfio.conf ${D}/${sysconfdir}/modules-load.d/vfio.conf + install -p -d -m 0755 ${D}/${sysconfdir}/modules-load.d + install -m 0644 modules-load-vfio.conf ${D}/${sysconfdir}/modules-load.d/vfio.conf }