diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-06-19 16:33:21 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-06-19 16:33:21 (GMT) |
commit | add68322ba5eec52f74a033b4927ac2de33a7125 (patch) | |
tree | 5b6b363b0f1b4a29808093fdea58498d29c3ea07 | |
parent | 963af6552edf07d6f40c50037193de7d81830221 (diff) |
Bundle repo files compatible with sweets-distribution application
-rw-r--r-- | oob/include.ini | 2 | ||||
-rw-r--r-- | oob/post.sh | 20 |
2 files changed, 19 insertions, 3 deletions
diff --git a/oob/include.ini b/oob/include.ini index 93b98c4..e3a4acf 100644 --- a/oob/include.ini +++ b/oob/include.ini @@ -44,8 +44,6 @@ add_excludes_to = koji.dist-f14-i686,koji.dist-f14-i686-updates-%(olpc_version_m [yumcfg] addrepo_01 = 1,olpc-f14,http://rpmdropbox.laptop.org/f14/ -addrepo_10 = 1,SweetsDistribution,http://download.sugarlabs.org/packages/SweetsDistribution/Fedora-14/ -addrepo_11 = 1,SweetsDistribution:Factory,http://download.sugarlabs.org/packages/SweetsDistribution:/Factory/Fedora-14/ add_excludes_to = fedora,fedora-updates,fedora-updates-testing [custom_packages] diff --git a/oob/post.sh b/oob/post.sh index 427a16a..b824eda 100644 --- a/oob/post.sh +++ b/oob/post.sh @@ -3,6 +3,24 @@ src_root=$(dirname $0) cd ${INSTALL_ROOT} +cat > etc/yum.repos.d/SweetsDistribution.repo << EOF +[SweetsDistribution] +name=SweetsDistribution +failovermethod=priority +baseurl=http://download.sugarlabs.org/packages/SweetsDistribution/Fedora-14/ +enabled=1 +metadata_expire=1 +gpgcheck=0 + +[SweetsDistribution:Factory] +name=SweetsDistribution:Factory +failovermethod=priority +baseurl=http://download.sugarlabs.org/packages/SweetsDistribution:/Factory/Fedora-14/ +enabled=1 +metadata_expire=1 +gpgcheck=0 +EOF + gconf_set="gconftool-2 --direct --config-source xml:readwrite:etc/gconf/gconf.xml.defaults --set" $gconf_set --type float /desktop/sugar/font/default_size 7 $gconf_set --type bool /desktop/sugar/show_logout false @@ -17,7 +35,7 @@ cat > etc/sweets.conf << EOF # enable Sugar Network support in Sugar Shell sugar-network = True -[sugar-network] +[local] # url to connect to Sugar Network server API # make it empty to discover local servers via Avahi api-url = |