From: Xiaohua Zhang Date: Wed, 6 May 2020 14:05:24 +0000 (+0000) Subject: Merge "barbican: fix path issue in service unitfile and missing dir" X-Git-Tag: bronze-rc0~32 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=14e9b1bd86fc91ab1e7851531726df5867691559;hp=c3f91116636439616c6b85c6023a9f6a2670d5ff;p=pti%2Frtp.git Merge "barbican: fix path issue in service unitfile and missing dir" --- diff --git a/meta-stx/recipes-bsp/grub/grub_2.02.bbappend b/meta-stx/recipes-bsp/grub/grub_2.02.bbappend index df7354c..cfa2eca 100644 --- a/meta-stx/recipes-bsp/grub/grub_2.02.bbappend +++ b/meta-stx/recipes-bsp/grub/grub_2.02.bbappend @@ -20,6 +20,8 @@ do_install_append() { for file in ${D}${bindir}/grub2-* ${D}${sbindir}/grub2-*; do ln -sf $(basename ${file}) $(echo ${file}|sed 's/grub2/grub/') done + + sed -i -e 's/ ro / rw /' ${D}${sysconfdir}/grub.d/10_linux } FILES_${PN}-editenv = "${bindir}/grub2-editenv" diff --git a/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb b/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb index 67b0e5e..b61260c 100644 --- a/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb +++ b/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb @@ -49,7 +49,6 @@ SRC_URI = " \ file://util-linux-pam-postlogin.patch \ file://syslog-ng-config-parse-err.patch \ file://syslog-ng-config-systemd-service.patch \ - file://syslog-ng-conf-fix-the-source.patch \ file://syslog-ng-conf-replace-match-with-message.patch \ file://lighttpd-init-script-chroot.patch \ " diff --git a/meta-stx/recipes-core/stx-config-files/files/syslog-ng-conf-fix-the-source.patch b/meta-stx/recipes-core/stx-config-files/files/syslog-ng-conf-fix-the-source.patch deleted file mode 100644 index a493093..0000000 --- a/meta-stx/recipes-core/stx-config-files/files/syslog-ng-conf-fix-the-source.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 466367eb5ebc4ea1b9b1457d496834c57ed1dd66 Mon Sep 17 00:00:00 2001 -From: Jackie Huang -Date: Thu, 26 Mar 2020 23:41:59 +0800 -Subject: [PATCH] syslog-ng.conf: fix the source - -ERROR: Using /dev/log Unix socket with systemd is not possible. - -Signed-off-by: Jackie Huang ---- - syslog-ng-config/files/syslog-ng.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/syslog-ng-config/files/syslog-ng.conf b/syslog-ng-config/files/syslog-ng.conf -index b1bab2c..1e06c02 100644 ---- a/syslog-ng-config/files/syslog-ng.conf -+++ b/syslog-ng-config/files/syslog-ng.conf -@@ -62,7 +62,7 @@ options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no); - # This is the default behavior of sysklogd package - # Logs may come from unix stream, but not from another machine. - # --source s_src { unix-dgram("/dev/log" ); internal(); -+source s_src { systemd_journal(); internal(); - file("/proc/kmsg" program_override("kernel") ); - }; - --- -2.7.4 -