X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-config-files%2Fconfig-files_1.0.0.bb;h=2002e2d793c1460b86f5e2b9c81174d5bb90e704;hb=4ea6c305c910add58abd7b9d74c1da14e226adef;hp=cde5170566a4f775340434748134c820536abce6;hpb=d41692264a2b1a54082ef936d2830cd9d4fa6b62;p=pti%2Frtp.git 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 cde5170..2002e2d 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 @@ -251,8 +251,8 @@ pkg_postinst_ontarget_audit-config() { } pkg_postinst_centos-release-config() { - sed 's/@PLATFORM_RELEASE@/${STX_REL}/' $D${datadir}/starlingx/config-files/centos-release-config/files/issue >> $D${sysconfdir}/issue - sed 's/@PLATFORM_RELEASE@/${STX_REL}/' $D${datadir}/starlingx/config-files/centos-release-config/files/issue.net >> $D${sysconfdir}/issue.net + sed 's/@PLATFORM_RELEASE@/${ORAN_REL}/' $D${datadir}/starlingx/config-files/centos-release-config/files/issue >> $D${sysconfdir}/issue + sed 's/@PLATFORM_RELEASE@/${ORAN_REL}/' $D${datadir}/starlingx/config-files/centos-release-config/files/issue.net >> $D${sysconfdir}/issue.net chmod 644 $D${sysconfdir}/issue chmod 644 $D${sysconfdir}/issue.net } @@ -686,15 +686,6 @@ pkg_postinst_syslog-ng-config() { if [ -z "$D" ]; then systemctl --no-block restart syslog-ng.service fi - -# TODO -#preun: -# %systemd_preun syslog-ng.service -#postun: -# ldconfig -# %systemd_postun_with_restart syslog-ng.service -# systemctl daemon-reload 2>&1 || : -# systemctl try-restart } pkg_postinst_ontarget_systemd-config() {