Hello community, here is the log from the commit of package yast2-bootloader for openSUSE:Factory checked in at 2012-03-06 13:42:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-bootloader (Old) and /work/SRC/openSUSE:Factory/.yast2-bootloader.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-bootloader", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-bootloader/yast2-bootloader.changes 2012-01-20 20:29:36.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-bootloader.new/yast2-bootloader.changes 2012-03-06 13:42:15.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Mar 5 14:42:10 CET 2012 - [email protected] + +- add basic grub2 support that only handles installs +- 2.23.0 + +------------------------------------------------------------------- Old: ---- yast2-bootloader-2.22.0.tar.bz2 New: ---- yast2-bootloader-2.23.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-bootloader.spec ++++++ --- /var/tmp/diff_new_pack.5POz10/_old 2012-03-06 13:42:17.000000000 +0100 +++ /var/tmp/diff_new_pack.5POz10/_new 2012-03-06 13:42:17.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-bootloader -Version: 2.22.0 +Version: 2.23.0 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -91,6 +91,7 @@ export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" +%{?suse_update_config:%{suse_update_config -f}} ./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir} # V=1: verbose build in case we used AM_SILENT_RULES(yes) # so that RPM_OPT_FLAGS check works ++++++ yast2-bootloader-2.22.0.tar.bz2 -> yast2-bootloader-2.23.0.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/VERSION new/yast2-bootloader-2.23.0/VERSION --- old/yast2-bootloader-2.22.0/VERSION 2012-01-13 11:33:35.000000000 +0100 +++ new/yast2-bootloader-2.23.0/VERSION 2012-03-05 15:09:26.000000000 +0100 @@ -1 +1 @@ -2.22.0 +2.23.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/configure new/yast2-bootloader-2.23.0/configure --- old/yast2-bootloader-2.22.0/configure 2012-01-20 12:31:03.000000000 +0100 +++ new/yast2-bootloader-2.23.0/configure 2012-03-05 15:09:51.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for yast2-bootloader 2.22.0. +# Generated by GNU Autoconf 2.68 for yast2-bootloader 2.23.0. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -570,8 +570,8 @@ # Identity of this package. PACKAGE_NAME='yast2-bootloader' PACKAGE_TARNAME='yast2-bootloader' -PACKAGE_VERSION='2.22.0' -PACKAGE_STRING='yast2-bootloader 2.22.0' +PACKAGE_VERSION='2.23.0' +PACKAGE_STRING='yast2-bootloader 2.23.0' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' PACKAGE_URL='' @@ -1364,7 +1364,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures yast2-bootloader 2.22.0 to adapt to many kinds of systems. +\`configure' configures yast2-bootloader 2.23.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1436,7 +1436,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-bootloader 2.22.0:";; + short | recursive ) echo "Configuration of yast2-bootloader 2.23.0:";; esac cat <<\_ACEOF @@ -1552,7 +1552,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-bootloader configure 2.22.0 +yast2-bootloader configure 2.23.0 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2005,7 +2005,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by yast2-bootloader $as_me 2.22.0, which was +It was created by yast2-bootloader $as_me 2.23.0, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2935,7 +2935,7 @@ # Define the identity of the package. PACKAGE='yast2-bootloader' - VERSION='2.22.0' + VERSION='2.23.0' cat >>confdefs.h <<_ACEOF @@ -3057,7 +3057,7 @@ -VERSION="2.22.0" +VERSION="2.23.0" RPMNAME="yast2-bootloader" MAINTAINER="Steffen Winterfeldt <[email protected]>" @@ -16127,7 +16127,7 @@ fi -ac_config_files="$ac_config_files Makefile src/routines/Makefile src/modules/Makefile src/lilo/Makefile src/grub/Makefile src/elilo/Makefile src/ppc/Makefile src/zipl/Makefile src/config/Makefile src/clients/Makefile src/Makefile scripts/Makefile agents/Makefile doc/autodocs/Makefile doc/Makefile" +ac_config_files="$ac_config_files Makefile src/routines/Makefile src/modules/Makefile src/lilo/Makefile src/grub/Makefile src/grub2/Makefile src/elilo/Makefile src/ppc/Makefile src/zipl/Makefile src/config/Makefile src/clients/Makefile src/Makefile scripts/Makefile agents/Makefile doc/autodocs/Makefile doc/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -16695,7 +16695,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by yast2-bootloader $as_me 2.22.0, which was +This file was extended by yast2-bootloader $as_me 2.23.0, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -16761,7 +16761,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -yast2-bootloader config.status 2.22.0 +yast2-bootloader config.status 2.23.0 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" @@ -17275,6 +17275,7 @@ "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;; "src/lilo/Makefile") CONFIG_FILES="$CONFIG_FILES src/lilo/Makefile" ;; "src/grub/Makefile") CONFIG_FILES="$CONFIG_FILES src/grub/Makefile" ;; + "src/grub2/Makefile") CONFIG_FILES="$CONFIG_FILES src/grub2/Makefile" ;; "src/elilo/Makefile") CONFIG_FILES="$CONFIG_FILES src/elilo/Makefile" ;; "src/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/ppc/Makefile" ;; "src/zipl/Makefile") CONFIG_FILES="$CONFIG_FILES src/zipl/Makefile" ;; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/configure.in new/yast2-bootloader-2.23.0/configure.in --- old/yast2-bootloader-2.22.0/configure.in 2012-01-20 12:30:44.000000000 +0100 +++ new/yast2-bootloader-2.23.0/configure.in 2012-03-05 15:09:45.000000000 +0100 @@ -1,9 +1,9 @@ dnl configure.in for yast2-bootloader dnl -dnl -- This file is generated by y2autoconf 2.21.7 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.21.6 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-bootloader, 2.22.0, http://bugs.opensuse.org/, yast2-bootloader) +AC_INIT(yast2-bootloader, 2.23.0, http://bugs.opensuse.org/, yast2-bootloader) 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.22.0" +VERSION="2.23.0" RPMNAME="yast2-bootloader" MAINTAINER="Steffen Winterfeldt <[email protected]>" @@ -205,6 +205,7 @@ src/modules/Makefile src/lilo/Makefile src/grub/Makefile +src/grub2/Makefile src/elilo/Makefile src/ppc/Makefile src/zipl/Makefile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/Makefile.am new/yast2-bootloader-2.23.0/src/Makefile.am --- old/yast2-bootloader-2.22.0/src/Makefile.am 2009-04-02 10:41:25.000000000 +0200 +++ new/yast2-bootloader-2.23.0/src/Makefile.am 2012-03-05 15:09:25.000000000 +0100 @@ -1 +1 @@ -SUBDIRS = routines modules lilo grub elilo ppc zipl config clients +SUBDIRS = routines modules lilo grub grub2 elilo ppc zipl config clients diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/Makefile.in new/yast2-bootloader-2.23.0/src/Makefile.in --- old/yast2-bootloader-2.22.0/src/Makefile.in 2012-01-20 12:31:07.000000000 +0100 +++ new/yast2-bootloader-2.23.0/src/Makefile.in 2012-03-05 15:09:52.000000000 +0100 @@ -258,7 +258,7 @@ ydatadir = @ydatadir@ yncludedir = @yncludedir@ ystartupdir = @ystartupdir@ -SUBDIRS = routines modules lilo grub elilo ppc zipl config clients +SUBDIRS = routines modules lilo grub grub2 elilo ppc zipl config clients all: all-recursive .SUFFIXES: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/grub2/Makefile.am new/yast2-bootloader-2.23.0/src/grub2/Makefile.am --- old/yast2-bootloader-2.22.0/src/grub2/Makefile.am 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-bootloader-2.23.0/src/grub2/Makefile.am 2012-03-05 15:09:25.000000000 +0100 @@ -0,0 +1,11 @@ +# +# Makefile.am for bootloader/src +# + +yncludedir = @yncludedir@/bootloader/grub2 + +ynclude_DATA = \ + dialogs.ycp + +EXTRA_DIST = \ + $(ynclude_DATA) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/grub2/Makefile.in new/yast2-bootloader-2.23.0/src/grub2/Makefile.in --- old/yast2-bootloader-2.22.0/src/grub2/Makefile.in 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-bootloader-2.23.0/src/grub2/Makefile.in 2012-03-05 15:09:52.000000000 +0100 @@ -0,0 +1,466 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# +# Makefile.am for bootloader/src +# + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +subdir = src/grub2 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/libtool.m4 \ + $(top_srcdir)/ltoptions.m4 $(top_srcdir)/ltsugar.m4 \ + $(top_srcdir)/ltversion.m4 $(top_srcdir)/lt~obsolete.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(yncludedir)" +DATA = $(ynclude_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AGENT_LIBADD = @AGENT_LIBADD@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINTAINER = @MAINTAINER@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +RANLIB = @RANLIB@ +RPMNAME = @RPMNAME@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +STYLESHEET_CSS = @STYLESHEET_CSS@ +STYLESHEET_HTML = @STYLESHEET_HTML@ +STYLESHEET_PDF = @STYLESHEET_PDF@ +STYLESHEET_YCPDOC = @STYLESHEET_YCPDOC@ +STYLESHEET_YDOC = @STYLESHEET_YDOC@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +Y2CORE_CFLAGS = @Y2CORE_CFLAGS@ +Y2CORE_LIBS = @Y2CORE_LIBS@ +Y2DEVTOOLS_PREFIX = @Y2DEVTOOLS_PREFIX@ +YCPC = @YCPC@ +YCPDOC = @YCPDOC@ +YCPMAKEDEP = @YCPMAKEDEP@ +YDOXYGEN = @YDOXYGEN@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +agentdir = @agentdir@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +clientdir = @clientdir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +desktopdir = @desktopdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +execcompdir = @execcompdir@ +fillupdir = @fillupdir@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +imagedir = @imagedir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +moduledir = @moduledir@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgconfigdatadir = @pkgconfigdatadir@ +pkgconfigdir = @pkgconfigdir@ +plugindir = @plugindir@ +potdir = @potdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +schemadir = @schemadir@ +scrconfdir = @scrconfdir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +themedir = @themedir@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +yast2dir = @yast2dir@ +ybindir = @ybindir@ +ydatadir = @ydatadir@ +yncludedir = @yncludedir@/bootloader/grub2 +ystartupdir = @ystartupdir@ +ynclude_DATA = \ + dialogs.ycp + +EXTRA_DIST = \ + $(ynclude_DATA) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/grub2/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu src/grub2/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-yncludeDATA: $(ynclude_DATA) + @$(NORMAL_INSTALL) + test -z "$(yncludedir)" || $(MKDIR_P) "$(DESTDIR)$(yncludedir)" + @list='$(ynclude_DATA)'; test -n "$(yncludedir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(yncludedir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(yncludedir)" || exit $$?; \ + done + +uninstall-yncludeDATA: + @$(NORMAL_UNINSTALL) + @list='$(ynclude_DATA)'; test -n "$(yncludedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(yncludedir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(yncludedir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(yncludedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-yncludeDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-yncludeDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + install-yncludeDATA installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-yncludeDATA + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/grub2/dialogs.ycp new/yast2-bootloader-2.23.0/src/grub2/dialogs.ycp --- old/yast2-bootloader-2.22.0/src/grub2/dialogs.ycp 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-bootloader-2.23.0/src/grub2/dialogs.ycp 2012-03-05 15:09:25.000000000 +0100 @@ -0,0 +1,51 @@ +/** + * File: + * include/bootloader/grub2/dialogs.ycp + * + * Module: + * Bootloader installation and configuration + * + * Summary: + * Dialogs for configuraion i386-specific functions + * + * Authors: + * Jiri Srain <[email protected]> + * + * $Id: dialogs.ycp 56563 2009-04-02 08:41:25Z jreidinger $ + * + */ + +{ + +textdomain "bootloader"; + + +import "Label"; +import "Wizard"; +import "CWM"; +import "BootCommon"; +import "Stage"; + +include "bootloader/grub/options.ycp"; + +/** + * Cache for genericWidgets function + */ +map<string,map<string,any> > _grub2_widgets = nil; + +/** + * Get generic widgets + * @return a map describing all generic widgets + */ +global map<string,map<string,any> > grub2Widgets () { + if (_grub2_widgets == nil) + { + _grub2_widgets = $[ + "loader_location" : grubBootLoaderLocationWidget (), + ]; + } + return _grub2_widgets; +} + +} //EOF + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/modules/BootCommon.ycp new/yast2-bootloader-2.23.0/src/modules/BootCommon.ycp --- old/yast2-bootloader-2.22.0/src/modules/BootCommon.ycp 2011-10-18 16:30:01.000000000 +0200 +++ new/yast2-bootloader-2.23.0/src/modules/BootCommon.ycp 2012-03-05 15:09:25.000000000 +0100 @@ -15,7 +15,7 @@ * Joachim Plack <[email protected]> * Olaf Dabrunz <[email protected]> * - * $Id: BootCommon.ycp 66485 2011-10-18 14:30:01Z snwint $ + * $Id: BootCommon.ycp 67562 2012-03-05 13:48:47Z snwint $ * */ @@ -187,7 +187,7 @@ /** * type of bootloader to configure/being configured - * shall be one of "lilo", "grub", "elilo", "ppc", "zipl" + * shall be one of "lilo", "grub", "elilo", "ppc", "zipl", "grub2" */ string loader_type = nil; @@ -289,7 +289,7 @@ * List of all supported bootloaders */ global list<string> bootloaders = ["lilo", "grub", "elilo", - "zipl", "ppc"]; + "zipl", "ppc", "grub2"]; /** FATE#305008: Failover boot configurations for md arrays with redundancy * if true enable redundancy for md array @@ -589,7 +589,7 @@ "sections" : remapSections(sections), "device_map" : BootStorage::remapDeviceMap(BootStorage::device_mapping), ]; - if ( ! ( loader_type == "grub" ) ) { + if ( ! ( loader_type == "grub" || loader_type == "grub2" ) ) { exp["repl_mbr"] = repl_mbr; exp["activate"] = activate; } @@ -609,7 +609,7 @@ // FIXME: for grub, repl_mbr is replaced by globals["generic_mbr"]; same // for activate; remove the following when no bootloader uses these // variables any more - if ( ! ( loader_type == "grub" ) ) { + if ( ! ( loader_type == "grub" || loader_type == "grub2" ) ) { repl_mbr = settings["repl_mbr"]:false; activate = settings["activate"]:false; } @@ -1043,6 +1043,9 @@ loader_type = (string)SCR::Read (.probe.boot_arch); if (loader_type == "s390") loader_type = "zipl"; + // suppose grub2 should superscede grub .. + if (loader_type == "grub") + loader_type = "grub2"; y2milestone ("Bootloader detection returned %1", loader_type); // lslezak@: Arch::is_xenU() returns true only in PV guest if (Arch::is_uml () || Arch::is_xenU()) @@ -1136,7 +1139,7 @@ global define list<string> getBootloaders () { if (Mode::config ()) { - return ["grub", "lilo", "elilo", "zipl", "ppc", "default", "none"]; + return ["grub", "lilo", "elilo", "zipl", "ppc", "grub2", "default", "none"]; } list<string> ret = [ getLoaderType (false), @@ -1144,7 +1147,7 @@ ]; if (Arch::i386 () || Arch::x86_64 ()) { - ret = (list<string>)merge (ret, ["lilo", "grub"]); + ret = (list<string>)merge (ret, ["lilo", "grub", "grub2"]); if (Arch::x86_64 ()) ret = (list<string>)merge (ret, ["elilo"]); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/modules/BootGRUB2.ycp new/yast2-bootloader-2.23.0/src/modules/BootGRUB2.ycp --- old/yast2-bootloader-2.22.0/src/modules/BootGRUB2.ycp 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-bootloader-2.23.0/src/modules/BootGRUB2.ycp 2012-03-05 15:09:25.000000000 +0100 @@ -0,0 +1,207 @@ +/** + * File: + * modules/BootGRUB2.ycp + * + * Module: + * Bootloader installation and configuration + * + * Summary: + * Module containing specific functions for GRUB2 configuration + * and installation + * + * Authors: + * Jiri Srain <[email protected]> + * Joachim Plack <[email protected]> + * Olaf Dabrunz <[email protected]> + * Philipp Thomas <[email protected]> + * + * $Id: BootGRUB.ycp 63508 2011-03-04 12:53:27Z jreidinger $ + * + */ + +{ +module "BootGRUB2"; + +textdomain "bootloader"; + +import "Arch"; +import "BootCommon"; +import "BootStorage"; +import "Kernel"; +import "Mode"; +import "Stage"; +import "Storage"; +import "StorageDevices"; +import "Pkg"; +import "HTML"; + +// includes +// for shared some routines with grub +include "bootloader/grub/misc.ycp"; +// for simplified widgets than other +include "bootloader/grub2/dialogs.ycp"; +// general functions + +/** + * Read settings from disk + * @param reread boolean true to force reread settings from system + * @param avoid_reading_device_map do not read new device map from file, use + * internal data + * @return boolean true on success + */ +global boolean Read (boolean reread, boolean avoid_reading_device_map) { + BootCommon::InitializeLibrary (reread, "grub2"); + if (reread) { + BootCommon::ReadFiles (avoid_reading_device_map); + } + // TODO: check if necessary for grub2 + grub_DetectDisks (); + boolean ret = BootCommon::Read (false, avoid_reading_device_map); + + // TODO: check if necessary for grub2 + // refresh device map if not read + if (BootStorage::device_mapping == nil + || size (BootStorage::device_mapping) == 0) + { + BootStorage::ProposeDeviceMap (); + } + + return ret; +} + +/** + * Update read settings to new version of configuration files + */ +global define void Update () { + Read (true, true); + + //we don't handle sections, grub2 section create them for us + //BootCommon::UpdateSections (); + BootCommon::UpdateGlobals (); +} +/** + * Write bootloader settings to disk + * @return boolean true on success + */ +global define boolean Write () { + + boolean ret = BootCommon::UpdateBootloader (); + + //TODO: InstallingToFloppy .. + if (BootCommon::location_changed) { + // bnc #461613 - Unable to boot after making changes to boot loader + // bnc #357290 - module rewrites grub generic code when leaving with no changes, which may corrupt grub + grub_updateMBR (); + + boolean grub_ret = BootCommon::InitializeBootloader (); + if (grub_ret == nil) + grub_ret = false; + + y2milestone ("GRUB return value: %1", grub_ret); + ret = ret && grub_ret; + ret = ret && BootCommon::PostUpdateMBR (); + } + + return ret; +} + +/** + * Reset bootloader settings + * @param init boolean true to repropose also device map + */ +global define void Reset (boolean init) { + if (Mode::autoinst ()) + return; + BootCommon::Reset (init); +} + +/** + * Propose bootloader settings + */ + +global define void Propose () { + y2milestone ("Proposed globals: %1", BootCommon::globals); + grub_LocationProposal (); +} + + +/** + * Display bootloader summary + * @return a list of summary lines + */ + +global define list<string> Summary () { + list<string> result = [ sformat (_("Boot Loader Type: %1"), + BootCommon::getLoaderName (BootCommon::getLoaderType (false), `summary)) ]; + list<string> locations = []; + + if (BootCommon::globals["boot_boot"]:"" == "true") + locations = add(locations, BootStorage::BootPartitionDevice + _(" (\"/boot\")")); + if (BootCommon::globals["boot_extended"]:"" == "true") + locations = add(locations, BootStorage::ExtendedPartitionDevice + _(" (extended)")); + if (BootCommon::globals["boot_root"]:"" == "true") + locations = add(locations, BootStorage::RootPartitionDevice + _(" (\"/\")")); + if (BootCommon::globals["boot_mbr"]:"" == "true") + locations = add(locations, BootCommon::mbrDisk + _(" (MBR)")); + if (haskey (BootCommon::globals, "boot_custom")) + locations = add(locations, BootCommon::globals["boot_custom"]:""); + if (size(locations) > 0) { + // FIXME: should we translate all devices to names and add MBR suffixes? + result = add (result, sformat (_("Status Location: %1"), mergestring (locations, ", "))); + } + + return result; +} + +/** + * Return map of provided functions + * @return a map of functions (eg. $["write":BootGRUB2::Write]) + */ +global map<string, any> GetFunctions () { + return $[ + "read" : Read, + "reset" : Reset, + "propose" : Propose, + "summary" : Summary, + "update" : Update, + "widgets" : grub2Widgets, + "write" : Write, + ]; +} + +/** + * Initializer of GRUB bootloader + */ +global define void Initializer () { + y2milestone ("Called GRUB2 initializer"); + BootCommon::current_bootloader_attribs = $[ + "propose" : false, + "read" : false, + "scratch" : false, + "restore_mbr" : false, + "bootloader_on_disk" : false, + ]; +} + +/** + * Constructor + */ +global define void BootGRUB2 () { + BootCommon::bootloader_attribs["grub2"] = $[ + "required_packages" : ["grub2"], + "loader_name" : "GRUB2", + "initializer" : BootGRUB2::Initializer, + ]; +} + +} // EOF + +/* + * Local variables: + * mode: ycp + * mode: font-lock + * mode: auto-fill + * indent-level: 4 + * fill-column: 78 + * End: + */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/modules/BootSupportCheck.ycp new/yast2-bootloader-2.23.0/src/modules/BootSupportCheck.ycp --- old/yast2-bootloader-2.22.0/src/modules/BootSupportCheck.ycp 2010-05-06 13:15:42.000000000 +0200 +++ new/yast2-bootloader-2.23.0/src/modules/BootSupportCheck.ycp 2012-03-05 15:09:25.000000000 +0100 @@ -74,7 +74,7 @@ * Check that bootloader is known and supported */ boolean KnownLoader () { - if (! contains (["grub", "elilo", "ppc", "zipl", "none"], Bootloader::getLoaderType ())) + if (! contains (["grub", "grub2", "elilo", "ppc", "zipl", "none"], Bootloader::getLoaderType ())) { if (Bootloader::getLoaderType () != "lilo") @@ -125,7 +125,7 @@ if (lt == "elilo") return true; } else { - if ((lt == "grub") || (lt == "lilo")) + if ((lt == "grub") || (lt == "lilo") || (lt == "grub2")) return true; } } @@ -297,6 +297,13 @@ } /** + * GRUB2-related check + */ +global boolean GRUB2 () { + return GRUB(); +} + +/** * ELILO related check */ boolean ELILO () { @@ -348,6 +355,8 @@ supported = PPC () && supported; else if (lt == "zipl") supported = ZIPL () && supported; + else if (lt == "grub2") + supported = GRUB2 () && supported; y2milestone ("Configuration supported: %1", supported); return supported; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/modules/Makefile.am new/yast2-bootloader-2.23.0/src/modules/Makefile.am --- old/yast2-bootloader-2.22.0/src/modules/Makefile.am 2009-04-22 13:48:59.000000000 +0200 +++ new/yast2-bootloader-2.23.0/src/modules/Makefile.am 2012-03-05 15:09:25.000000000 +0100 @@ -11,6 +11,7 @@ BootArch.ycp \ BootELILO.ycp \ BootGRUB.ycp \ + BootGRUB2.ycp \ BootLILO.ycp \ BootPOWERLILO.ycp \ BootZIPL.ycp \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/modules/Makefile.in new/yast2-bootloader-2.23.0/src/modules/Makefile.in --- old/yast2-bootloader-2.22.0/src/modules/Makefile.in 2012-01-20 12:31:07.000000000 +0100 +++ new/yast2-bootloader-2.23.0/src/modules/Makefile.in 2012-03-05 15:09:52.000000000 +0100 @@ -258,6 +258,7 @@ BootArch.ycp \ BootELILO.ycp \ BootGRUB.ycp \ + BootGRUB2.ycp \ BootLILO.ycp \ BootPOWERLILO.ycp \ BootZIPL.ycp \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/routines/dialogs.ycp new/yast2-bootloader-2.23.0/src/routines/dialogs.ycp --- old/yast2-bootloader-2.22.0/src/routines/dialogs.ycp 2009-08-06 13:50:12.000000000 +0200 +++ new/yast2-bootloader-2.23.0/src/routines/dialogs.ycp 2012-03-05 15:09:25.000000000 +0100 @@ -11,7 +11,7 @@ * Authors: * Jiri Srain <[email protected]> * - * $Id: dialogs.ycp 58289 2009-08-06 11:50:12Z juhliarik $ + * $Id: dialogs.ycp 67562 2012-03-05 13:48:47Z snwint $ * */ @@ -81,9 +81,12 @@ */ symbol MainDialog () { y2milestone ("Running Main Dialog"); + string lt = Bootloader::getLoaderType (); term contents = `VBox ( - "tab", - `Right ("adv_button") + "tab", + (lt == "grub2") + ? nil + : `Right ("adv_button") ); // F#300779 - Install diskless client (NFS-root) @@ -98,15 +101,22 @@ } // F#300779: end - list<string> widget_names = ["tab", "adv_button"]; + list<string> widget_names = (lt == "grub2") + ? ["tab"] + : ["tab", "adv_button"]; map<string,map<string,any> > widget_descr = $[]; + widget_descr = (map<string,map<string,any> >) union (CommonGlobalWidgets (), Bootloader::blWidgetMaps ()); widget_descr["tab"] = CWMTab::CreateWidget($[ - "tab_order": ["sections", "installation"], - "tabs": TabsDescr (), - "widget_descr": widget_descr, - "initial_tab" : return_tab, + "tab_order": (lt == "grub2") + ? ["installation"] + : ["sections", "installation"], + "tabs": TabsDescr (), + "widget_descr": widget_descr, + "initial_tab" : (lt == "grub2") + ? "installation" + : return_tab ]); widget_descr["tab", "no_help"] = ""; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/routines/global_widgets.ycp new/yast2-bootloader-2.23.0/src/routines/global_widgets.ycp --- old/yast2-bootloader-2.22.0/src/routines/global_widgets.ycp 2009-04-23 14:56:26.000000000 +0200 +++ new/yast2-bootloader-2.23.0/src/routines/global_widgets.ycp 2012-03-05 15:09:25.000000000 +0100 @@ -11,7 +11,7 @@ * Authors: * Jiri Srain <[email protected]> * - * $Id: global_widgets.ycp 56933 2009-04-23 12:56:26Z juhliarik $ + * $Id: global_widgets.ycp 67562 2012-03-05 13:48:47Z snwint $ * */ @@ -314,6 +314,22 @@ return `redraw; } + if (new_bl == "grub2") { + if (Popup::ContinueCancel (_(" +The GRUB2 is still under develope and test. + +Proceed? +"))) + { + BootCommon::other_bl[old_bl] = Bootloader::Export (); + BootCommon::setLoaderType ("grub2"); + Bootloader::Propose (); + BootCommon::location_changed = true; + BootCommon::changed = true; + } + return `redraw; + } + if (Arch::x86_64 ()) { if (new_bl == "elilo") { // continue/cancel pop-up @@ -704,7 +720,7 @@ `HStretch (), `VBox ( `Label (""), - (lt == "none" || lt == "default" || lt == "zipl" || lt == "lilo") + (lt == "none" || lt == "default" || lt == "zipl" || lt == "lilo" || lt == "grub2") ? `Empty() : "loader_options" ), `HSpacing (2) @@ -721,8 +737,8 @@ : "inst_details", `VStretch () ), `HStretch ()), - "widget_names": (lt == "none" || lt == "default" || lt=="zipl") - ? [ "loader_type", "loader_options"] + "widget_names": (lt == "none" || lt == "default" || lt=="zipl" || lt == "grub2") + ? [ "loader_type", "loader_options", "loader_location"] : [ "loader_type", "loader_options", "loader_location", "inst_details"] ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-2.22.0/src/routines/switcher.ycp new/yast2-bootloader-2.23.0/src/routines/switcher.ycp --- old/yast2-bootloader-2.22.0/src/routines/switcher.ycp 2009-04-16 08:32:38.000000000 +0200 +++ new/yast2-bootloader-2.23.0/src/routines/switcher.ycp 2012-03-05 15:09:25.000000000 +0100 @@ -12,7 +12,7 @@ * Jiri Srain <[email protected]> * Olaf Dabrunz <[email protected]> * - * $Id: switcher.ycp 56797 2009-04-16 06:32:38Z jreidinger $ + * $Id: switcher.ycp 67562 2012-03-05 13:48:47Z snwint $ * */ @@ -23,6 +23,7 @@ import "BootLILO"; import "BootPOWERLILO"; import "BootZIPL"; +import "BootGRUB2"; import "BootCommon"; /** @@ -38,7 +39,8 @@ "grub" : BootGRUB::GetFunctions, "elilo" : BootELILO::GetFunctions, "zipl" : BootZIPL::GetFunctions, - "ppc" : BootPOWERLILO::GetFunctions + "ppc" : BootPOWERLILO::GetFunctions, + "grub2" : BootGRUB2::GetFunctions ]; map<string,any> () gf = (map<string,any>())(bl_functions[bootloader]:nil); if (gf == nil) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
