Hello community,
here is the log from the commit of package yast2-packager
checked in at Thu Apr 27 10:26:46 CEST 2006.
--------
--- yast2-packager/yast2-packager.changes 2006-04-26 17:03:36.000000000 +0200
+++ STABLE/yast2-packager/yast2-packager.changes 2006-04-27 08:37:57.000000000 +0200
@@ -1,0 +2,11 @@
+Thu Apr 27 08:13:00 CEST 2006 - lslezak@suse.cz
+
+- dirinstall - create /dev/null and /dev/zero devices in
+ the target directory (some packages require them in the
+ postinstall script) (#158476)
+- dirinstall - updated the list of disabled services, do not
+ modify /etc/inittab - it's not needed for a Xen guest
+ installation
+- 2.13.101
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-2.13.100.tar.bz2
New:
----
yast2-packager-2.13.101.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.MZXtVW/_old 2006-04-27 10:26:28.000000000 +0200
+++ /var/tmp/diff_new_pack.MZXtVW/_new 2006-04-27 10:26:28.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-packager (Version 2.13.100)
+# spec file for package yast2-packager (Version 2.13.101)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-packager
-Version: 2.13.100
-Release: 2
+Version: 2.13.101
+Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.13.100.tar.bz2
+Source0: yast2-packager-2.13.101.tar.bz2
prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-country yast2-devtools yast2-installation yast2-testsuite yast2-xml
Requires: yast2 yast2-installation checkmedia yast2-country
@@ -41,7 +41,7 @@
Arvin Schnell
%prep
-%setup -n yast2-packager-2.13.100
+%setup -n yast2-packager-2.13.101
%build
%{prefix}/bin/y2tool y2autoconf
@@ -78,6 +78,14 @@
%doc %{prefix}/share/doc/packages/yast2-packager
%changelog -n yast2-packager
+* Thu Apr 27 2006 - lslezak@suse.cz
+- dirinstall - create /dev/null and /dev/zero devices in
+ the target directory (some packages require them in the
+ postinstall script) (#158476)
+- dirinstall - updated the list of disabled services, do not
+ modify /etc/inittab - it's not needed for a Xen guest
+ installation
+- 2.13.101
* Wed Apr 26 2006 - jsrain@suse.de
- fixed setting language adter package manager reset (#162064)
- 2.13.100
++++++ yast2-packager-2.13.100.tar.bz2 -> yast2-packager-2.13.101.tar.bz2 ++++++
++++ 4921 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-packager-2.13.100/VERSION new/yast2-packager-2.13.101/VERSION
--- old/yast2-packager-2.13.100/VERSION 2006-04-26 17:01:32.000000000 +0200
+++ new/yast2-packager-2.13.101/VERSION 2006-04-27 08:39:45.000000000 +0200
@@ -1 +1 @@
-2.13.100
+2.13.101
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-packager-2.13.100/configure.in new/yast2-packager-2.13.101/configure.in
--- old/yast2-packager-2.13.100/configure.in 2006-04-26 17:03:00.000000000 +0200
+++ new/yast2-packager-2.13.101/configure.in 2006-04-27 08:40:58.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-packager, 2.13.100, http://www.suse.de/feedback, yast2-packager)
+AC_INIT(yast2-packager, 2.13.101, http://www.suse.de/feedback, yast2-packager)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.13.100"
+VERSION="2.13.101"
RPMNAME="yast2-packager"
MAINTAINER="Jiri Srain "
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-packager-2.13.100/src/clients/inst_dirinstall.ycp new/yast2-packager-2.13.101/src/clients/inst_dirinstall.ycp
--- old/yast2-packager-2.13.100/src/clients/inst_dirinstall.ycp 2006-02-02 19:49:25.000000000 +0100
+++ new/yast2-packager-2.13.101/src/clients/inst_dirinstall.ycp 2006-04-27 08:29:36.000000000 +0200
@@ -5,7 +5,7 @@
*
* Purpose: Install into directory
*
- * $Id: inst_dirinstall.ycp 25628 2005-09-26 14:10:59Z jsrain $
+ * $Id: inst_dirinstall.ycp 30518 2006-04-27 06:24:33Z lslezak $
*/
{
@@ -24,6 +24,12 @@
Pkg::TargetFinish ();
DirInstall::MountFilesystems ();
+ // create /dev/zero and /dev/null devices in the target directory,
+ // some packages require them in the postinstall script
+ SCR::Execute(.target.bash, sformat("mkdir -p %1/dev", DirInstall::target));
+ SCR::Execute(.target.bash, sformat("mknod -m 666 %1/dev/zero c 1 5", DirInstall::target));
+ SCR::Execute(.target.bash, sformat("mknod -m 666 %1/dev/null c 1 3", DirInstall::target));
+
/*
if(Pkg::TargetInit (Installation::destdir,true) != true)
{
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-packager-2.13.100/src/clients/inst_dirinstall_finish.ycp new/yast2-packager-2.13.101/src/clients/inst_dirinstall_finish.ycp
--- old/yast2-packager-2.13.100/src/clients/inst_dirinstall_finish.ycp 2006-02-15 19:24:05.000000000 +0100
+++ new/yast2-packager-2.13.101/src/clients/inst_dirinstall_finish.ycp 2006-04-27 08:29:36.000000000 +0200
@@ -8,7 +8,7 @@
* Authors:
* Anas Nashif
*
- * $Id: inst_dirinstall_finish.ycp 27936 2006-02-13 20:01:14Z olh $
+ * $Id: inst_dirinstall_finish.ycp 30518 2006-04-27 06:24:33Z lslezak $
*
*/
{
@@ -98,19 +98,14 @@
Pkg::SourceCacheCopyTo (Installation::destdir);
- // disable HW services - they are useless and usually failing in UML
- list<string> disable_services = ["kbd", "hotplug", "hwscan", "powersaved"];
+ // disable some services - they are useless and usually failing in UML/Xen VM
+ list<string> disable_services = ["kbd", "acpid"];
foreach(string s, disable_services, {
integer disabled = (integer) SCR::Execute(.target.bash, sformat("/sbin/insserv -r %1", s));
y2milestone("insserv - service %1 exit status: %2", s, disabled);
}
);
- // modify inittab - halt system when Ctrl+Alt+Del is received
- // can be used by uml_mconsole for safe system shutdown
- // replace -r (reboot) option by -h (halt)
- SCR::Execute(.target.bash, "/usr/bin/sed -e 's|^ca::ctrlaltdel:/sbin/shutdown \\(.*\\)-r\\(.*\\)$|ca::ctrlaltdel:/sbin/shutdown \\1-h\\2|' /etc/inittab > /tmp/inittab.sed.$$ && mv /tmp/inittab.sed.$$ /etc/inittab");
-
// umount /proc and /sys before creating image (otherwise tar may fail)
DirInstall::UmountFilesystems ();
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-packager-2.13.100/src/modules/test.ycp new/yast2-packager-2.13.101/src/modules/test.ycp
--- old/yast2-packager-2.13.100/src/modules/test.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-packager-2.13.101/src/modules/test.ycp 2005-11-02 13:29:02.000000000 +0100
@@ -0,0 +1,58 @@
+
+{
+ import "Package";
+ import "CommandLine";
+
+ textdomain "test";
+
+ boolean startHandler(map opts) {
+ Package::InstallAll(["samba-doc", "qt3-devel-doc"]);
+// Package::InstallAll(["sambadocdfdfdf"]);
+
+ return true;
+ }
+
+ symbol GUIhandler() {
+ y2milestone("GUIhandler");
+ return `next;
+ }
+
+ boolean Read() {
+ return true;
+ }
+
+ boolean Write() {
+ return true;
+ }
+
+ map cmdline = $[
+ // help text
+ "help" : _("Start installation in a virtual machine"),
+ "id" : "vm",
+ "guihandler": GUIhandler,
+ "initialize": Read,
+ "finish" : Write,
+ "actions" : $[
+ "start" : $[
+ // command description
+ "help" : _("Start installation"),
+ "handler" : startHandler
+ ]
+ ],
+ "options" : $[
+ "configured" : $[
+ // option description
+ "help" : _("List only configured devices")
+ ],
+ "all" : $[
+ // option description
+ "help" : _("List all detected IDE devices")
+ ]
+ ],
+ "mappings" : $[
+ "start" : ["configured", "all"],
+ ]
+ ];
+
+ any ret = CommandLine::Run(cmdline);
+}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...