Where does yast keep its list of installation sources?
Carl and Johnny: thanks for the pointers. On Monday 27 February 2006 11:00, Carl Hartung wrote:
Look in the directories below /var/adm/YaST/InstSrcManager
Wow. I had seen those dirs while searching, but had not grokked what was going on. I was looking for a single config file; evidently there is no such thing. What I really wanted was a way to back up the list of URLs for the sources I had defined, since it has taken me some time to get that list together. Here's how I got that list: $ grep -h URL /var/adm/YaST/InstSrcManager/*/*/description You can redirect the output to a file to save your list. Note: a more correct form of the above command would be: $ grep -h URL /var/adm/YaST/InstSrcManager/IS_CACHE_*/DESCRIPTION/description This is better because it is more specific about exactly which files we want to look in. But the shorter form should be safe (at least until SUSE adds another file named 'description' to those directories). Warm regards, Robert
You can use Yast itself to import/export... http://www.novell.com/coolsolutions/tools/16683.html B=) On Monday 27 February 2006 11:22 am, Robert Morrison wrote:
Carl and Johnny: thanks for the pointers.
On Monday 27 February 2006 11:00, Carl Hartung wrote:
Look in the directories below /var/adm/YaST/InstSrcManager
Wow.
I had seen those dirs while searching, but had not grokked what was going on. I was looking for a single config file; evidently there is no such thing.
What I really wanted was a way to back up the list of URLs for the sources I had defined, since it has taken me some time to get that list together. Here's how I got that list:
$ grep -h URL /var/adm/YaST/InstSrcManager/*/*/description
You can redirect the output to a file to save your list.
Note: a more correct form of the above command would be:
$ grep -h URL /var/adm/YaST/InstSrcManager/IS_CACHE_*/DESCRIPTION/description
This is better because it is more specific about exactly which files we want to look in. But the shorter form should be safe (at least until SUSE adds another file named 'description' to those directories).
Warm regards, Robert
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Monday 27 February 2006 12:24, Brad Bourn wrote:
You can use Yast itself to import/export...
Thanks Brad, great tip. The "export" script on the page Brad links to boils down to: installation_sources -s | while read line; do line="${line##*(}"; echo ${line%%)*}; done | sed '/Installation Sources/d' And there's an import script too; how convenient.
Greetings Robert, Mandag 27 februar 2006 17:45 kvad Robert Morrison:
I've looked, really.
Somewhere under /var/adm/YaST/InstSrcManager/ It is tugged away in some cache files. I do not remember the detailes, but I found them there some time ago. Best regards :o) Johnny :o)
participants (4)
-
Brad Bourn
-
Carl Hartung
-
Johnny Ernst Nielsen
-
Robert Morrison