From 56582eb002d3ab43259cd69606b15b574b9fd304a829607f2e579189879cb963 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 2 May 2023 11:39:35 +0000 Subject: [PATCH] Update comments OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1379 --- systemd.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/systemd.spec b/systemd.spec index 444ccc7d..c0b58b91 100644 --- a/systemd.spec +++ b/systemd.spec @@ -965,17 +965,13 @@ tar -cO \ # Don't drop %%pre section even if it becomes empty: the build process of # installation images uses a hardcoded list of packages with a %%pre that needs # to be run during the build and complains if it can't find one. -# -# Note: presets for units shipped by the main package are applied by %%posttrans -# scripts of systemd-presets-common-SUSE. Hence we don't need to bother running -# %%systemd_{pre,post} on them, which is fortunate since the helper script the -# systemd rpm macros rely on is not yet installed. %pre %if %{without filetriggers} if [ $1 -gt 1 ]; then # We keep these just in case we're upgrading from an old version that # was missing these units. During package installation, these macros are - # NOPs for systemd anyways. + # NOPs for systemd anyways (the branding preset package takes care of + # applying the presets in its %%posttrans in this case). %systemd_pre remote-fs.target %systemd_pre getty@.service %systemd_pre systemd-timesyncd.service