Fedora Linux Support Community & Resources Center
  #1  
Old 27th July 2010, 08:31 PM
PryGuy Offline
Registered User
 
Join Date: Feb 2010
Location: Russia
Age: 36
Posts: 45
linuxfedorafirefox
Why doesn't livecd-creator save settings after HDD install?

Good day, I use livecd-creator to make custom spins. I import settings the following way in my .ks file:
Code:
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t list --list-type string /apps/panel/applets/clock/prefs/cities '[<location name="Москва" timezone="Europe/Moscow" latitude="55.650002" longitude="37.266666" code="UUWW" current="true"/>]' >/dev/null
(This one configures the weather applet for instance).
Everything's fine when I run the LiveCD itself, but I lose all the settings after the installer copies the LiveCD contents on my hard disk. Please help! Thanks in advance!

---------- Post added at 11:31 PM CDT ---------- Previous post was at 08:41 PM CDT ----------

I tried the following method:
Code:
%post --nochroot
cp -r /path/to/saved/folder/.gconf $INSTALL_ROOT/etc/skel
%end
The 'gconf' folder was copied from a LiveCD session and put into /var/skel again. Hope this works.

But I can't get two things:
1. Why the /etc/gconf/gconf.xml.defaults data is not applied to the hard disk installations and where the 'default' hard disk installation settings are from then?
2. I'm absolutely sure there should be a less sophisticated way to solve my problem.

Any ideas?

Last edited by PryGuy; 27th July 2010 at 08:50 PM.
Reply With Quote
  #2  
Old 27th July 2010, 09:49 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,754
linuxfedorafirefox
Re: Why doesn't livecd-creator save settings after HDD install?

Quote:
Originally Posted by PryGuy View Post
1. Why the /etc/gconf/gconf.xml.defaults data is not applied to the hard disk installations and where the 'default' hard disk installation settings are from then?
Not sure

Unless something has changed, all the installer really does is copy the image over and resize it.
Quote:
Originally Posted by PryGuy View Post
2. I'm absolutely sure there should be a less sophisticated way to solve my problem.
You can always add your settings to one of the "live" scripts, so that once installed they are re-applied, while you're there you might as well turn those off and delete them.
Reply With Quote
Reply

Tags
gconf, livecd-creator, settings

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to build F12 LiveCD using livecd-creator Salgeras Installation, Upgrades and Live Media 2 5th January 2010 06:51 PM
livecd-creator itachisxeyes Fedora Spins & Remixes 2 31st December 2009 09:02 AM
f-12 livecd-creator perazim Installation, Upgrades and Live Media 2 23rd November 2009 02:06 PM
F11 Livecd-creator abohsin Using Fedora 1 9th October 2009 07:34 PM
Not able to create bootable liveCD with livecd-creator baloon Installation, Upgrades and Live Media 3 9th July 2009 12:44 PM


Current GMT-time: 19:56 (Tuesday, 30-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat