Mailinglist Archive: yast-commit (126 mails)

< Previous Next >
[yast-commit] r67630 - in /branches/SuSE-Code-11-SP2-Branch/vm: VERSION package/yast2-vm.changes src/vm_finish.ycp
Author: charlesa
Date: Thu Mar 15 00:08:14 2012
New Revision: 67630

URL: http://svn.opensuse.org/viewcvs/yast?rev=67630&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-SP2-Branch/vm/VERSION
branches/SuSE-Code-11-SP2-Branch/vm/package/yast2-vm.changes
branches/SuSE-Code-11-SP2-Branch/vm/src/vm_finish.ycp

Modified: branches/SuSE-Code-11-SP2-Branch/vm/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/vm/VERSION?rev=67630&r1=67629&r2=67630&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/vm/VERSION (original)
+++ branches/SuSE-Code-11-SP2-Branch/vm/VERSION Thu Mar 15 00:08:14 2012
@@ -1 +1 @@
-2.17.9
+2.17.10

Modified: branches/SuSE-Code-11-SP2-Branch/vm/package/yast2-vm.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/vm/package/yast2-vm.changes?rev=67630&r1=67629&r2=67630&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/vm/package/yast2-vm.changes (original)
+++ branches/SuSE-Code-11-SP2-Branch/vm/package/yast2-vm.changes Thu Mar 15
00:08:14 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 Jan 3 10:53:10 MST 2012 - carnold@xxxxxxxxxx

- bnc#733715 - SLES11_SP2_LOC : EN: Typo in relocation-server.pot -

Modified: branches/SuSE-Code-11-SP2-Branch/vm/src/vm_finish.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/vm/src/vm_finish.ycp?rev=67630&r1=67629&r2=67630&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/vm/src/vm_finish.ycp (original)
+++ branches/SuSE-Code-11-SP2-Branch/vm/src/vm_finish.ycp Thu Mar 15 00:08:14
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