Accepting request 1179985 from home:varkoly:branches:systemsmanagement

- Error message about 'journald.conf' (bsc#1221533)
  Check if journald.conf does exist.
- 1.12

OBS-URL: https://build.opensuse.org/request/show/1179985
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/clone-master-clean-up?expand=0&rev=12
This commit is contained in:
Egbert Eich 2024-06-11 11:15:59 +00:00 committed by Git OBS Bridge
parent 634d799879
commit b3c6f6b582
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 19 06:28:29 UTC 2024 - Peter Varkoly <varkoly@suse.com>
- Error message about 'journald.conf' (bsc#1221533)
Check if journald.conf does exist.
- 1.12
-------------------------------------------------------------------
Tue Feb 7 12:26:43 UTC 2023 - Peter Varkoly <varkoly@suse.com>

View File

@ -95,10 +95,11 @@ done
echo 'Clearing systemd journal'
pushd /etc/systemd > /dev/null
cp journald.conf journald.conf.bak
[ -e journald.conf ] && cp journald.conf journald.conf.bak
echo -e '\nSystemMaxUse=1K' >> journald.conf
systemctl restart systemd-journald
mv journald.conf.bak journald.conf
rm journald.conf
[ -e journald.conf.bak ] && mv journald.conf.bak journald.conf
popd > /dev/null
echo 'Clearing machine ID file'

View File

@ -1,7 +1,7 @@
#
# spec file for package clone-master-clean-up
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: clone-master-clean-up
Version: 1.11
Version: 1.12
Release: 0
Summary: Tool to clean up a system for cloning preparation
License: GPL-2.0-or-later