FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 09-14-2010, 09:59 PM
Bill Nottingham
 
Default Both the inittab and systemd sections can return. Move this part earlier.

This is useful for both master and F-14.

Bill Nottingham (notting@redhat.com) said:
> ---
> pyanaconda/desktop.py | 9 +++++----
> 1 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/pyanaconda/desktop.py b/pyanaconda/desktop.py
> index f9069ac..bc6f949 100644
> --- a/pyanaconda/desktop.py
> +++ b/pyanaconda/desktop.py
> @@ -49,6 +49,11 @@ class Desktop (SimpleConfigFile):
> self.runlevel = 3
>
> def write (self, instPath):
> + if self.getDefaultDesktop():
> + f = open(instPath + "/etc/sysconfig/desktop", "w")
> + f.write(str (self))
> + f.close()
> +
> try:
> inittab = open (instPath + '/etc/inittab', 'r')
> except IOError:
> @@ -73,7 +78,3 @@ class Desktop (SimpleConfigFile):
> os.unlink(default_target)
> os.symlink('/lib/systemd/system/runlevel' + str(self.runlevel) + '.target', default_target)
>
> - if self.getDefaultDesktop():
> - f = open(instPath + "/etc/sysconfig/desktop", "w")
> - f.write(str (self))
> - f.close()
> --
> 1.7.2.3
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-15-2010, 07:50 PM
David Lehman
 
Default Both the inittab and systemd sections can return. Move this part earlier.

Looks okay for master and f14-branch, but it won't make the beta without
a blocker.

Dave

On Tue, 2010-09-14 at 17:40 -0400, Bill Nottingham wrote:
> ---
> pyanaconda/desktop.py | 9 +++++----
> 1 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/pyanaconda/desktop.py b/pyanaconda/desktop.py
> index f9069ac..bc6f949 100644
> --- a/pyanaconda/desktop.py
> +++ b/pyanaconda/desktop.py
> @@ -49,6 +49,11 @@ class Desktop (SimpleConfigFile):
> self.runlevel = 3
>
> def write (self, instPath):
> + if self.getDefaultDesktop():
> + f = open(instPath + "/etc/sysconfig/desktop", "w")
> + f.write(str (self))
> + f.close()
> +
> try:
> inittab = open (instPath + '/etc/inittab', 'r')
> except IOError:
> @@ -73,7 +78,3 @@ class Desktop (SimpleConfigFile):
> os.unlink(default_target)
> os.symlink('/lib/systemd/system/runlevel' + str(self.runlevel) + '.target', default_target)
>
> - if self.getDefaultDesktop():
> - f = open(instPath + "/etc/sysconfig/desktop", "w")
> - f.write(str (self))
> - f.close()


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-15-2010, 09:31 PM
Bill Nottingham
 
Default Both the inittab and systemd sections can return. Move this part earlier.

David Lehman (dlehman@redhat.com) said:
> Looks okay for master and f14-branch, but it won't make the beta without
> a blocker.

Pushed. It occurs to me we might be able to nuke this code, but I'm not sure
if setting the default desktop bits is still supportable deep in
kickstart somewhere.

Bill

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org