From 06fb3180db1b77ccda67412bb43fd12ec0327256b814f50027618e1bd9da1137 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Fri, 17 Feb 2012 09:33:25 +0000 Subject: [PATCH 1/2] Accepting request 105639 from home:tittiatcoke Enable plymouth integration OBS-URL: https://build.opensuse.org/request/show/105639 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=248 --- bootsplash-quit.service | 15 --------------- bootsplash-shutdown.service | 13 ------------- bootsplash-startup.service | 12 ------------ systemd-bootsplash | 21 --------------------- systemd.changes | 7 +++++++ systemd.spec | 31 ++----------------------------- 6 files changed, 9 insertions(+), 90 deletions(-) delete mode 100644 bootsplash-quit.service delete mode 100644 bootsplash-shutdown.service delete mode 100644 bootsplash-startup.service delete mode 100644 systemd-bootsplash diff --git a/bootsplash-quit.service b/bootsplash-quit.service deleted file mode 100644 index 6fd9b0a1..00000000 --- a/bootsplash-quit.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=Terminate bootsplash -After=xdm.service rc-local.service bootsplash-startup.service -Before=getty@tty1.service -DefaultDependencies=no -Names=plymouth-quit-wait.service -ConditionFileIsExecutable=/sbin/splash -ConditionKernelCommandLine=splash=silent -ConditionKernelCommandLine=vga - -[Service] -ExecStart=/lib/systemd/systemd-bootsplash 5 -ExecStartPost=-/bin/kill -SIGRTMIN+21 1 -Type=oneshot -RemainAfterExit=true diff --git a/bootsplash-shutdown.service b/bootsplash-shutdown.service deleted file mode 100644 index a1a483ec..00000000 --- a/bootsplash-shutdown.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Start bootsplash for shutdown/reboot -Before=shutdown.service halt.service -DefaultDependencies=no -ConditionFileIsExecutable=/sbin/splash -ConditionKernelCommandLine=splash=silent -ConditionKernelCommandLine=vga - -[Service] -ExecStartPre=-/bin/kill -SIGRTMIN+20 1 -ExecStart=/lib/systemd/systemd-bootsplash 0 -Type=oneshot -RemainAfterExit=true diff --git a/bootsplash-startup.service b/bootsplash-startup.service deleted file mode 100644 index 9d94d9ff..00000000 --- a/bootsplash-startup.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Start bootsplash -DefaultDependencies=no -ConditionFileIsExecutable=/sbin/splash -ConditionKernelCommandLine=splash=silent -ConditionKernelCommandLine=vga - -[Service] -ExecStartPre=-/bin/kill -SIGRTMIN+20 1 -ExecStart=/lib/systemd/systemd-bootsplash 0 -Type=oneshot -RemainAfterExit=true diff --git a/systemd-bootsplash b/systemd-bootsplash deleted file mode 100644 index 3cf8438d..00000000 --- a/systemd-bootsplash +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/bash -. /etc/rc.splash $1 -export RUNLEVEL=$1 -export PREVLEVEL=N -if [ "$1" == "5" ]; then - /bin/systemctl status --no-pager default.target | grep -q graphical.target - if [ $? -eq 0 ]; then - declare -i timeout - timeout=0 - console=`fgconsole` - while [ $console -eq 1 -a $timeout -lt 30 ] ; do - sleep 1 - timeout+=1 - console=`fgconsole` - done - fi - splashtrigger "rlreached $1" -else - splashtrigger "rlchange $1" - splashtrigger "coolo" -fi diff --git a/systemd.changes b/systemd.changes index e1d0ade6..03628718 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 17 09:22:50 UTC 2012 - tittiatcoke@gmail.com + +- Enable Plymouth integration. + * Bootsplash related files will be moved to the bootsplash + package + ------------------------------------------------------------------- Mon Feb 13 12:11:17 UTC 2012 - fcrozat@suse.com diff --git a/systemd.spec b/systemd.spec index 2d84f46e..feb2cb5d 100644 --- a/systemd.spec +++ b/systemd.spec @@ -16,8 +16,6 @@ # -%define build_plymouth 0 - #don't require python, use recommends (bnc#716939) Name: systemd @@ -65,10 +63,6 @@ Source3: systemd-sysv-convert Source4: macros.systemd Source5: systemd-insserv_conf Source6: baselibs.conf -Source7: systemd-bootsplash -Source8: bootsplash-startup.service -Source9: bootsplash-quit.service -Source10: bootsplash-shutdown.service # Stop-gap, just to ensure things work fine with rsyslog without having to change the package right-away Source11: listen.conf Patch1: 0001-Add-bootsplash-handling-for-password-dialogs.patch @@ -125,8 +119,6 @@ Provides: sysvinit:/sbin/init %description sysvinit Drop-in replacement of System V init tools. -%if %{build_plymouth} - %package plymouth Summary: Plymouth support for systemd Group: System/Base @@ -135,7 +127,6 @@ Requires: plymouth %description plymouth Plymouth integration for systemd -%endif %prep %setup -q @@ -187,12 +178,6 @@ mkdir -p %{buildroot}/{sbin,var/lib/systemd/sysv-convert,var/lib/systemd/migrate install -m755 %{S:3} -D %{buildroot}%{_sbindir}/systemd-sysv-convert # do not install, code has been fixed, might be useful in the future #install -m755 %{S:5} %{buildroot}/lib/systemd/system-generators -install -m755 %{S:7} %{buildroot}/lib/systemd/ -install -m644 %{S:8} %{S:9} %{S:10} %{buildroot}/lib/systemd/system/ -ln -s ../bootsplash-startup.service %{buildroot}/lib/systemd/system/basic.target.wants/ -ln -s ../bootsplash-quit.service %{buildroot}/lib/systemd/system/multi-user.target.wants/ -ln -s ../bootsplash-shutdown.service %{buildroot}/lib/systemd/system/shutdown.target.wants/ -ln -s ../bootsplash-shutdown.service %{buildroot}/lib/systemd/system/reboot.target.wants/ ln -s ../lib/systemd/systemd %{buildroot}/bin/systemd ln -s ../lib/systemd/systemd %{buildroot}/sbin/init ln -s ../bin/systemctl %{buildroot}/sbin/reboot @@ -203,11 +188,8 @@ ln -s ../bin/systemctl %{buildroot}/sbin/telinit ln -s ../bin/systemctl %{buildroot}/sbin/runlevel rm -rf %{buildroot}/etc/systemd/system/*.target.wants rm -f %{buildroot}/etc/systemd/system/default.target -%if !%{build_plymouth} -rm -f %{buildroot}/lib/systemd/system/plymouth-*.service -rm -f %{buildroot}/lib/systemd/system/*.wants/plymouth-*.service -rm -f %{buildroot}/lib/systemd/system/systemd-ask-password-plymouth.* -%endif +# Don't activate the plymouth-quit services in order to get a smooth transistion to the DM +rm -f %{buildroot}/lib/systemd/system/*.wants/plymouth-quit*.service # aliases for /etc/init.d/* ln -s /dev/null %{buildroot}/lib/systemd/system/cgroup.service ln -s systemd-tmpfiles-setup.service %{buildroot}/lib/systemd/system/cleanup.service @@ -248,10 +230,6 @@ install -m 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/rsyslog.d/ # Create the /var/log/journal directory to change the volatile journal to a persistent one mkdir -p %{buildroot}/var/log/journal -%if %{build_plymouth} -(cd %{buildroot} && find . -name '*plymouth*') > files.plymouth -%endif - %fdupes $RPM_BUILD_ROOT %post @@ -367,12 +345,10 @@ rm -rf %{buildroot} %{_datadir}/polkit-1/actions %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy %{_datadir}/systemd -%if %{build_plymouth} # Packaged in plymouth subpackage %exclude /lib/systemd/system/plymouth-*.service %exclude /lib/systemd/system/*.wants/plymouth-*.service %exclude /lib/systemd/system/systemd-ask-password-plymouth.* -%endif # Packaged in gtk subpackage %exclude %{_mandir}/man1/systemadm.1* # Packaged in sysvinit subpackage @@ -423,14 +399,11 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/libsystemd-id128.pc %{_libdir}/pkgconfig/libsystemd-journal.pc -%if %{build_plymouth} - %files plymouth %defattr(-,root,root,-) /lib/systemd/system/plymouth-*.service /lib/systemd/system/*.wants/plymouth-*.service /lib/systemd/system/systemd-ask-password-plymouth.* -%endif %files sysvinit %defattr(-,root,root,-) From a5345e44b953b891d91edd84682c71d699a3b9188c719829a241eb2f2dcb38ad Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Mon, 20 Feb 2012 10:55:29 +0000 Subject: [PATCH 2/2] Accepting request 105839 from home:jengelh:branches:Base:System - Use pkgconfig symbols for BuildRequires and specify version - Add missing kmod BuildRequires for systemd-gtk OBS-URL: https://build.opensuse.org/request/show/105839 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=249 --- systemd-gtk.changes | 6 ++++++ systemd-gtk.spec | 23 ++++++++++++----------- systemd.changes | 5 +++++ systemd.spec | 15 +++++++-------- 4 files changed, 30 insertions(+), 19 deletions(-) diff --git a/systemd-gtk.changes b/systemd-gtk.changes index e1d0ade6..16e4a504 100644 --- a/systemd-gtk.changes +++ b/systemd-gtk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Feb 19 07:56:05 UTC 2012 - jengelh@medozas.de + +- Use pkgconfig symbols for BuildRequires and specify version +- Add missing kmod BuildRequires for systemd-gtk + ------------------------------------------------------------------- Mon Feb 13 12:11:17 UTC 2012 - fcrozat@suse.com diff --git a/systemd-gtk.spec b/systemd-gtk.spec index 217ce042..7e026fa1 100644 --- a/systemd-gtk.spec +++ b/systemd-gtk.spec @@ -15,33 +15,34 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: systemd-gtk Url: http://www.freedesktop.org/wiki/Software/systemd Version: 42 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: audit-devel -BuildRequires: dbus-1-devel -BuildRequires: glib2-devel BuildRequires: gperf -BuildRequires: gtk2-devel BuildRequires: intltool BuildRequires: libacl-devel BuildRequires: libcap-devel -BuildRequires: libcryptsetup-devel -BuildRequires: libgee-devel -BuildRequires: libnotify-devel -BuildRequires: libselinux-devel -BuildRequires: libsepol-devel BuildRequires: libtool -BuildRequires: libudev-devel BuildRequires: pam-devel BuildRequires: pkg-config BuildRequires: tcpd-devel BuildRequires: udev BuildRequires: xz -BuildRequires: xz-devel +BuildRequires: pkgconfig(dbus-1) >= 1.5.2 +BuildRequires: pkgconfig(gee-1.0) +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(glib-2.0) > 2.26 +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(libcryptsetup) +BuildRequires: pkgconfig(libkmod) >= 5 +BuildRequires: pkgconfig(liblzma) +BuildRequires: pkgconfig(libnotify) +BuildRequires: pkgconfig(libselinux) +BuildRequires: pkgconfig(libsepol) +BuildRequires: pkgconfig(udev) >= 172 Summary: Graphical front-end for systemd License: GPL-2.0+ Group: System/Base diff --git a/systemd.changes b/systemd.changes index 03628718..7f6e8373 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Feb 19 07:56:05 UTC 2012 - jengelh@medozas.de + +- Use pkgconfig symbols for BuildRequires and specify version + ------------------------------------------------------------------- Fri Feb 17 09:22:50 UTC 2012 - tittiatcoke@gmail.com diff --git a/systemd.spec b/systemd.spec index feb2cb5d..19bfe47b 100644 --- a/systemd.spec +++ b/systemd.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - #don't require python, use recommends (bnc#716939) Name: systemd @@ -27,26 +26,26 @@ License: GPL-2.0+ Group: System/Base BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: audit-devel -BuildRequires: dbus-1-devel BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gperf BuildRequires: intltool BuildRequires: libacl-devel BuildRequires: libcap-devel -BuildRequires: libcryptsetup-devel -BuildRequires: libkmod-devel -BuildRequires: libselinux-devel -BuildRequires: libsepol-devel BuildRequires: libtool -BuildRequires: libudev-devel BuildRequires: libxslt1 BuildRequires: pam-devel BuildRequires: pkg-config BuildRequires: tcpd-devel BuildRequires: udev BuildRequires: xz -BuildRequires: xz-devel +BuildRequires: pkgconfig(dbus-1) >= 1.3.2 +BuildRequires: pkgconfig(libcryptsetup) +BuildRequires: pkgconfig(libkmod) >= 5 +BuildRequires: pkgconfig(liblzma) +BuildRequires: pkgconfig(libselinux) +BuildRequires: pkgconfig(libsepol) +BuildRequires: pkgconfig(udev) >= 172 Requires: udev >= 172 Requires: dbus-1 >= 1.4.0 Requires: kbd