Merge "barbican: fix path issue in service unitfile and missing dir"
authorXiaohua Zhang <xiaohua.zhang@windriver.com>
Wed, 6 May 2020 14:05:24 +0000 (14:05 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Wed, 6 May 2020 14:05:24 +0000 (14:05 +0000)
meta-stx/recipes-bsp/grub/grub_2.02.bbappend
meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb
meta-stx/recipes-core/stx-config-files/files/syslog-ng-conf-fix-the-source.patch [deleted file]

index df7354c..cfa2eca 100644 (file)
@@ -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"
index 67b0e5e..b61260c 100644 (file)
@@ -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 (file)
index a493093..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From 466367eb5ebc4ea1b9b1457d496834c57ed1dd66 Mon Sep 17 00:00:00 2001
-From: Jackie Huang <jackie.huang@windriver.com>
-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 <jackie.huang@windriver.com>
----
- 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
-