Hello community, here is the log from the commit of package yast2-runlevel for openSUSE:Factory checked in at Tue Sep 6 14:40:59 CEST 2011.
-------- --- yast2-runlevel/yast2-runlevel.changes 2011-01-05 14:05:46.000000000 +0100 +++ /mounts/work_src_done/STABLE/yast2-runlevel/yast2-runlevel.changes 2011-09-05 20:26:45.000000000 +0200 @@ -1,0 +2,11 @@ +Mon Sep 5 16:45:06 UTC 2011 - [email protected] + +- create default runlevel symlink for systemd (bnc#707418) +- 2.21.0 + +------------------------------------------------------------------- +Fri Aug 5 12:34:50 CEST 2011 - [email protected] + +- fixed .desktop file (bnc #681249) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-runlevel-2.20.1.tar.bz2 New: ---- yast2-runlevel-2.21.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-runlevel.spec ++++++ --- /var/tmp/diff_new_pack.CXkzC5/_old 2011-09-06 14:35:02.000000000 +0200 +++ /var/tmp/diff_new_pack.CXkzC5/_new 2011-09-06 14:35:02.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-runlevel (Version 2.20.1) +# spec file for package yast2-runlevel # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,18 +19,21 @@ Name: yast2-runlevel -Version: 2.20.1 +Version: 2.21.0 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-runlevel-2.20.1.tar.bz2 +Source0: yast2-runlevel-2.21.0.tar.bz2 Prefix: /usr Group: System/YaST -License: GPLv2+ +License: GPL v2 or later BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite -Requires: yast2 + +# Systemd.ycp +BuildRequires: yast2 >= 2.21.16 +Requires: yast2 >= 2.21.16 Provides: yast2-config-runlevel Obsoletes: yast2-config-runlevel @@ -44,7 +47,7 @@ boot. %prep -%setup -n yast2-runlevel-2.20.1 +%setup -n yast2-runlevel-2.21.0 %build %{prefix}/bin/y2tool y2autoconf ++++++ yast2-runlevel-2.20.1.tar.bz2 -> yast2-runlevel-2.21.0.tar.bz2 ++++++ ++++ 4318 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-runlevel-2.20.1/VERSION new/yast2-runlevel-2.21.0/VERSION --- old/yast2-runlevel-2.20.1/VERSION 2011-01-05 14:00:54.000000000 +0100 +++ new/yast2-runlevel-2.21.0/VERSION 2011-09-05 18:45:58.000000000 +0200 @@ -1 +1 @@ -2.20.1 +2.21.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-runlevel-2.20.1/configure.in new/yast2-runlevel-2.21.0/configure.in --- old/yast2-runlevel-2.20.1/configure.in 2011-01-05 14:03:01.000000000 +0100 +++ new/yast2-runlevel-2.21.0/configure.in 2011-09-05 20:20:47.000000000 +0200 @@ -3,7 +3,7 @@ dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-runlevel, 2.20.1, http://bugs.opensuse.org/, yast2-runlevel) +AC_INIT(yast2-runlevel, 2.21.0, http://bugs.opensuse.org/, yast2-runlevel) dnl Check for presence of file 'RPMNAME' AC_CONFIG_SRCDIR([RPMNAME]) @@ -18,7 +18,7 @@ AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) dnl Important YaST2 variables -VERSION="2.20.1" +VERSION="2.21.0" RPMNAME="yast2-runlevel" MAINTAINER="Lukas Ocilka <[email protected]>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-runlevel-2.20.1/src/runlevel.desktop new/yast2-runlevel-2.21.0/src/runlevel.desktop --- old/yast2-runlevel-2.20.1/src/runlevel.desktop 2010-01-15 11:14:01.000000000 +0100 +++ new/yast2-runlevel-2.21.0/src/runlevel.desktop 2011-09-02 11:16:31.000000000 +0200 @@ -3,7 +3,6 @@ Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-System; X-KDE-ModuleType=Library -X-KDE-RootOnly=true X-KDE-HasReadOnlyMode=true X-KDE-Library=yast2 X-SuSE-YaST-Call=runlevel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-runlevel-2.20.1/src/runlevel_finish.ycp new/yast2-runlevel-2.21.0/src/runlevel_finish.ycp --- old/yast2-runlevel-2.20.1/src/runlevel_finish.ycp 2009-11-24 15:14:21.000000000 +0100 +++ new/yast2-runlevel-2.21.0/src/runlevel_finish.ycp 2011-09-05 20:25:43.000000000 +0200 @@ -8,7 +8,7 @@ * Authors: * Jiri Srain <[email protected]> * - * $Id: runlevel_finish.ycp 47096 2008-04-28 10:34:38Z jsrain $ + * $Id: runlevel_finish.ycp 65566 2011-09-05 18:26:15Z lslezak $ * */ @@ -18,6 +18,7 @@ import "Mode"; import "RunlevelEd"; +import "Systemd"; import "Directory"; any ret = nil; @@ -29,6 +30,16 @@ y2milestone ("setting default runlevel to %1", runlevel); SCR::Write (.etc.inittab.id, sformat ("%1:initdefault:", runlevel)); SCR::Write (.etc.inittab, nil); + + // create a default symlink for systemd if it is installed + if (Systemd::Installed()) + { + Systemd::SetDefaultRunlevel(runlevel); + } + else + { + y2milestone("Systemd is not installed"); + } } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
