/[smeserver]/rpms/anaconda/sme8/0011-Make-install-headless-but-still-write-keyboard-info-.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme8/0011-Make-install-headless-but-still-write-keyboard-info-.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Sat Sep 17 20:44:05 2011 UTC (13 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: anaconda-11_1_2_242-1_el5_sme_1, anaconda-11_1_2_242-1_el5_sme
Changes since 1.2: +1 -1 lines
* Sat Sep 17 2011 Shad L. Lords <slords@mail.com> 11.1.2.242-1.el5.sme
- No warnings if kernel not upgraded
  (recreate initrd if kernel was installed)
- No warnings if unable to remove rpm databases
- Always pick best arch for package
- Allow creating/mounting degraded raid arrays
  (log info about degraded arrays instead of not starting them)
- Start /boot raid device first so it will be in sync for grub install
- Automatically upgrade bootloader if necessary
- Log install errors but don't bug user about them
- Search for language updates on upgrade disk
- Force time to be based on UTC
- Add final warning before installing
- Make install headless but still write keyboard info out
  (don't ask us to use vnc mode)
- Make install window wider
  (fix titlebar spacing)
- Don't email root on raid events
- Make boot loader use SME labels
- Determine upgradability of SME server
  (change erase disks to upgrade dialog)
- Run SME post-install scripts on kickstart install/upgrade
- Limit languages to those supported by SME

1 slords 1.1 From 8eff0a88b3a600e16b4743811d2d61df6b14ae75 Mon Sep 17 00:00:00 2001
2     From: Shad L. Lords <slords@mail.com>
3     Date: Mon, 19 Oct 2009 08:34:43 -0600
4     Subject: [PATCH 11/17] Make install headless but still write keyboard info out
5    
6     ---
7     anaconda | 6 ++++++
8     instdata.py | 5 ++---
9     2 files changed, 8 insertions(+), 3 deletions(-)
10    
11     diff --git a/anaconda b/anaconda
12     index 9c77191..2ce84cc 100755
13     --- a/anaconda
14     +++ b/anaconda
15     @@ -757,6 +757,9 @@ if __name__ == "__main__":
16     else:
17     opts.display_mode = 'g'
18    
19     + # we don't want to ask about vnc
20     + flags.vncquestion = False
21     +
22     #we prefer vnc over text mode, so ask about that, but only if the KS file doesn't specify anything special
23     if opts.display_mode == 't' and flags.vncquestion:
24     title = _("Would you like to use VNC?")
25     @@ -777,6 +780,9 @@ if __name__ == "__main__":
26     import instdata
27     import floppy
28    
29     + # we don't want to waste time probing
30     + opts.isHeadless = 1
31     +
32     if not opts.isHeadless:
33     try:
34     import xsetup
35     diff --git a/instdata.py b/instdata.py
36     index f6903f3..e747f09 100644
37     --- a/instdata.py
38     +++ b/instdata.py
39     @@ -145,8 +145,7 @@ class InstallData:
40     def write(self):
41     self.instLanguage.write (self.anaconda.rootPath)
42    
43     - if not self.isHeadless:
44     - self.keyboard.write (self.anaconda.rootPath)
45     + self.keyboard.write (self.anaconda.rootPath)
46    
47     self.timezone.write (self.anaconda.rootPath)
48    
49     @@ -264,8 +263,8 @@ class InstallData:
50     f.write("key %s\n" %(self.instClass.installkey,))
51    
52     self.instLanguage.writeKS(f)
53     + self.keyboard.writeKS(f)
54     if not self.isHeadless:
55     - self.keyboard.writeKS(f)
56     self.xsetup.writeKS(f, self.desktop, self.ksdata)
57     self.network.writeKS(f)
58     self.zfcp.writeKS(f)
59     --
60 slords 1.3 1.7.1
61 slords 1.1

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed