--- rpm -qp --scripts binaries.nachbau/systemd-256.2-5.1.x86_64.rpm +++ rpm -qp --scripts binaries/systemd-256.2-5.1.x86_64.rpm @@ -24,89 +24,61 @@ : if [ -x /usr/lib/systemd/systemd-update-helper ]; then /usr/lib/systemd/systemd-update-helper mark-install-system-units systemd-userdbd.service || : fi postinstall scriptlet (using /bin/sh): if [ $1 -eq 1 ]; then # Make /etc/machine-id an empty file during package installation. On the # first boot, machine-id is initialized and either committed (if /etc/ # is writable) or the system/image runs with a transient machine ID, # that changes on each boot (if the image is read-only). This is # important for appliance builds to avoid an identical machine ID in all # images. touch /etc/machine-id chmod 444 /etc/machine-id # Persistent journal is the default mkdir -p /var/log/journal fi pam-config --add --systemd || : # Run ldconfig for nss-systemd and nss-myhostname NSS modules. /sbin/ldconfig systemctl daemon-reexec || : # Reexecute the user managers (if any) /usr/lib/systemd/systemd-update-helper user-reexec || : -# See the comment in %pre about why we need to call %systemd_pre. -: - -if [ -x /usr/lib/systemd/systemd-update-helper ]; then - /usr/lib/systemd/systemd-update-helper install-system-units remote-fs.target || : -fi - -: - -if [ -x /usr/lib/systemd/systemd-update-helper ]; then - /usr/lib/systemd/systemd-update-helper install-system-units getty@.service || : -fi - -: - -if [ -x /usr/lib/systemd/systemd-update-helper ]; then - /usr/lib/systemd/systemd-update-helper install-system-units systemd-journald-audit.socket || : -fi - -: - -if [ -x /usr/lib/systemd/systemd-update-helper ]; then - /usr/lib/systemd/systemd-update-helper install-system-units systemd-userdbd.service || : -fi - -# Run the hacks/fixups to clean up the old stuff left by (very) old versions of -# systemd. -/usr/lib/systemd/rpm/fixlet-systemd-post.sh $1 || : postuninstall scriptlet (using /bin/sh): # Avoid restarting logind until fixed upstream (issue #1163) : if [ $1 -ge 1 ] && [ -x /usr/lib/systemd/systemd-update-helper ]; then # Package upgrade, not uninstall /usr/lib/systemd/systemd-update-helper mark-restart-system-units systemd-hostnamed.service || : fi : if [ $1 -ge 1 ] && [ -x /usr/lib/systemd/systemd-update-helper ]; then # Package upgrade, not uninstall /usr/lib/systemd/systemd-update-helper mark-restart-system-units systemd-journald.service || : fi : if [ $1 -ge 1 ] && [ -x /usr/lib/systemd/systemd-update-helper ]; then # Package upgrade, not uninstall /usr/lib/systemd/systemd-update-helper mark-restart-system-units systemd-localed.service || : fi : if [ $1 -ge 1 ] && [ -x /usr/lib/systemd/systemd-update-helper ]; then # Package upgrade, not uninstall /usr/lib/systemd/systemd-update-helper mark-restart-system-units systemd-timedated.service || : fi