From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 1/2] systemd: Silence console output when updating the package. Date: Sun, 12 Feb 2023 11:14:32 +0100 Message-ID: <20230212101433.269851-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0740190006207932535==" List-Id: --===============0740190006207932535== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Otherwise there are hints about non executed operations displayed because systemd does not run or lives in a chrooted environment. Signed-off-by: Stefan Schantl --- systemd/systemd.nm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/systemd/systemd.nm b/systemd/systemd.nm index c8e378a38..f1985908b 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -312,7 +312,7 @@ packages =20 script postup # Re-exec systemd after update. - /usr/bin/systemctl daemon-reexec + /usr/bin/systemctl daemon-reexec >/dev/null 2>&1 || : =20 # Restart login service after update /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : @@ -320,12 +320,9 @@ packages =20 # Use the new journald configuration file and restart the service. if ! grep -xq ImportKernel=3Dyes /etc/systemd/journald.conf ; then - mv /etc/systemd/journald.conf.paknew /etc/systemd/journald.conf + mv /etc/systemd/journald.conf.paknew /etc/systemd/journald.conf >/dev/nu= ll 2>&1 || : /usr/bin/systemctl restart systemd-journald.service >/dev/null 2>&1 || : fi - - # Enable spawning getty's on serial devices. - systemctl enable serial-getty(a).service >/dev/null 2>&1 || : end =20 # Be sure to start the new udev after everything is done. --=20 2.30.2 --===============0740190006207932535==--