Mailinglist Archive: yast-commit (126 mails)

< Previous Next >
[yast-commit] r67629 - in /branches/SuSE-Code-11-SP1-Branch/vm: VERSION package/yast2-vm.changes src/vm_finish.ycp
Author: charlesa
Date: Thu Mar 15 00:05:10 2012
New Revision: 67629

URL: http://svn.opensuse.org/viewcvs/yast?rev=67629&view=rev
Log:
- bnc#720929 - OES11LH: Upgrade from OES 2 SP2 to OES 11 RC3
re-adds "x0..respawn..xterm" to inittab

Modified:
branches/SuSE-Code-11-SP1-Branch/vm/VERSION
branches/SuSE-Code-11-SP1-Branch/vm/package/yast2-vm.changes
branches/SuSE-Code-11-SP1-Branch/vm/src/vm_finish.ycp

Modified: branches/SuSE-Code-11-SP1-Branch/vm/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/vm/VERSION?rev=67629&r1=67628&r2=67629&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/vm/VERSION (original)
+++ branches/SuSE-Code-11-SP1-Branch/vm/VERSION Thu Mar 15 00:05:10 2012
@@ -1 +1 @@
-2.17.2
+2.17.3

Modified: branches/SuSE-Code-11-SP1-Branch/vm/package/yast2-vm.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/vm/package/yast2-vm.changes?rev=67629&r1=67628&r2=67629&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/vm/package/yast2-vm.changes (original)
+++ branches/SuSE-Code-11-SP1-Branch/vm/package/yast2-vm.changes Thu Mar 15
00:05:10 2012
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Mar 14 17:00:46 MDT 2012 - carnold@xxxxxxxxxx
+
+- bnc#720929 - OES11LH: Upgrade from OES 2 SP2 to OES 11 RC3
+ re-adds "x0..respawn..xterm" to inittab
+
+-------------------------------------------------------------------
Tue Mar 8 16:17:23 MST 2011 - carnold@xxxxxxxxxx

- bnc#508347 - Yast2 virtualization installation error but success

Modified: branches/SuSE-Code-11-SP1-Branch/vm/src/vm_finish.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/vm/src/vm_finish.ycp?rev=67629&r1=67628&r2=67629&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/vm/src/vm_finish.ycp (original)
+++ branches/SuSE-Code-11-SP1-Branch/vm/src/vm_finish.ycp Thu Mar 15 00:05:10
2012
@@ -97,14 +97,20 @@
y2milestone("check for xvc0 in inittab and securetty");
if ( !contains(SCR::Dir(.etc.inittab), "x0") )
{
- y2milestone("Adding the x0 entry in the inittab file");
- SCR::Write (.etc.inittab.x0, sformat
("12345:respawn:/sbin/agetty -L 9600 xvc0 xterm"));
- SCR::Write (.etc.inittab, nil);
- string dev_xvc0 = "/dev/xvc0";
- if ( ! FileUtils::Exists(dev_xvc0) )
+ // On an upgrade, don't add new entry if existing one is
commented out - bnc#720929
+ if ( 0 != SCR::Execute(.target.bash,"/usr/bin/grep -q '^#x0:'
/etc/inittab") )
{
- y2milestone("%1 not found, commenting out the x0 entry
in the inittab", dev_xvc0);
- SCR::Execute(.target.bash,"/bin/sed --in-place
's/^x0:/#x0:/g' /etc/inittab");
+ y2milestone("Adding the x0 entry in the inittab file");
+ SCR::Write (.etc.inittab.x0, sformat
("12345:respawn:/sbin/agetty -L 9600 xvc0 xterm"));
+ SCR::Write (.etc.inittab, nil);
+ string dev_xvc0 = "/dev/xvc0";
+ if ( ! FileUtils::Exists(dev_xvc0) )
+ {
+ y2milestone("%1 not found, commenting out the
x0 entry in the inittab", dev_xvc0);
+ SCR::Execute(.target.bash,"/bin/sed --in-place
's/^x0:/#x0:/g' /etc/inittab");
+ }
+ } else {
+ y2milestone("The x0 entry in the inittab is there but
commented out");
}
}
SCR::Execute(.target.bash,"/usr/bin/grep -q xvc0 /etc/securetty || echo
xvc0 >> /etc/securetty");

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages