Re: Changing the Favorite Activities

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 13:52 +1000, T Gillett wrote:
 Hi
 
 I would like to be able to change the set of activities shown in the
 ring of the home view via a script in order to set up a batch of XO-1
 and XO-1.5 devices.
 
 Previously this was possible by changing the file 
 /home/olpc/.sugar/default.favorite_activities
 
 However in the current stable release this no longer works. If the
 file is changed, it is replaced with the default list on restart.
 
 Is there another mechanism available to achieve this in the current
 release?
 
 Thanks in advance.
 

Think the file you want is:

/usr/share/sugar/data/activities.defaults

Jerry



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Kernel RPMs now auto-install to boot partition

2013-03-22 Thread Daniel Drake
Hi,

Found some time to implement something that has been desired for a
while: now when you install a kernel RPM on the XO, it will
additionally auto-install to the boot partition, so now you can just
install a new kernel RPM with rpm/yum and reboot and expect it to be
used, no additional steps needed.

The root of this strange behaviour (installing kernels twice) is due
to the design of the update system, there might be room to improve on
this in future as well, but at least this detail will now be less
annoying to developers.

Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Kernel RPMs now auto-install to boot partition

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 08:46 -0600, Daniel Drake wrote:
 Hi,
 
 Found some time to implement something that has been desired for a
 while: now when you install a kernel RPM on the XO, it will
 additionally auto-install to the boot partition, so now you can just
 install a new kernel RPM with rpm/yum and reboot and expect it to be
 used, no additional steps needed.
 
 The root of this strange behaviour (installing kernels twice) is due
 to the design of the update system, there might be room to improve on
 this in future as well, but at least this detail will now be less
 annoying to developers.

+1

Thank you,

Jerry

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Kernel RPMs now auto-install to boot partition

2013-03-22 Thread Paul Fox
wow.  somehow i didn't think this would ever happen.  thank you!!

paul

daniel wrote:
  Hi,
  
  Found some time to implement something that has been desired for a
  while: now when you install a kernel RPM on the XO, it will
  additionally auto-install to the boot partition, so now you can just
  install a new kernel RPM with rpm/yum and reboot and expect it to be
  used, no additional steps needed.
  
  The root of this strange behaviour (installing kernels twice) is due
  to the design of the update system, there might be room to improve on
  this in future as well, but at least this detail will now be less
  annoying to developers.
  
  Daniel
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel

=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Kernel RPMs now auto-install to boot partition

2013-03-22 Thread Anish Mangal
awesome!

On Fri, Mar 22, 2013 at 10:57 AM, Paul Fox p...@laptop.org wrote:
 wow.  somehow i didn't think this would ever happen.  thank you!!

 paul

 daniel wrote:
   Hi,
  
   Found some time to implement something that has been desired for a
   while: now when you install a kernel RPM on the XO, it will
   additionally auto-install to the boot partition, so now you can just
   install a new kernel RPM with rpm/yum and reboot and expect it to be
   used, no additional steps needed.
  
   The root of this strange behaviour (installing kernels twice) is due
   to the design of the update system, there might be room to improve on
   this in future as well, but at least this detail will now be less
   annoying to developers.
  
   Daniel
   ___
   Devel mailing list
   Devel@lists.laptop.org
   http://lists.laptop.org/listinfo/devel

 =-
  paul fox, p...@laptop.org
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel



-- 
Anish | an...@sugarlabs.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Kernel RPMs now auto-install to boot partition

2013-03-22 Thread Martin Abente
Great! :D

On Fri, Mar 22, 2013 at 12:09 PM, Anish Mangal an...@sugarlabs.org wrote:

 awesome!

 On Fri, Mar 22, 2013 at 10:57 AM, Paul Fox p...@laptop.org wrote:
  wow.  somehow i didn't think this would ever happen.  thank you!!
 
  paul
 
  daniel wrote:
Hi,
   
Found some time to implement something that has been desired for a
while: now when you install a kernel RPM on the XO, it will
additionally auto-install to the boot partition, so now you can just
install a new kernel RPM with rpm/yum and reboot and expect it to be
used, no additional steps needed.
   
The root of this strange behaviour (installing kernels twice) is due
to the design of the update system, there might be room to improve on
this in future as well, but at least this detail will now be less
annoying to developers.
   
Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel
 
  =-
   paul fox, p...@laptop.org
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel



 --
 Anish | an...@sugarlabs.org
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Kernel RPMs now auto-install to boot partition

2013-03-22 Thread Jon Nettleton
On Fri, Mar 22, 2013 at 5:03 PM, Martin Abente
martin.abente.lah...@gmail.com wrote:
 Great! :D


 On Fri, Mar 22, 2013 at 12:09 PM, Anish Mangal an...@sugarlabs.org wrote:

 awesome!

 On Fri, Mar 22, 2013 at 10:57 AM, Paul Fox p...@laptop.org wrote:
  wow.  somehow i didn't think this would ever happen.  thank you!!
 
  paul
 
  daniel wrote:
Hi,
   
Found some time to implement something that has been desired for a
while: now when you install a kernel RPM on the XO, it will
additionally auto-install to the boot partition, so now you can just
install a new kernel RPM with rpm/yum and reboot and expect it to be
used, no additional steps needed.
   
The root of this strange behaviour (installing kernels twice) is due
to the design of the update system, there might be room to improve on
this in future as well, but at least this detail will now be less
annoying to developers.

Does the installation occur only if the olpc-dev-kernel had previously been run?

-Jon
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Rodolfo D. Arce S.
Hello:

I ran into a few problems when trying to install the XSCE 0.2. I
downloaded the repo and installed, during the installation process i
got this messages, but apparently everything was installed correctly.

http://pastebin.com/srwDn6wX

I'm running in a HP DV4 laptop with Fedora 17 (security spin, i'm
downloading the std version), it's connected to the internet with the
wi-fi, and during xs-setup, connection is lost for some time (20-30
secs aprox), it stops and starts Networkmanager apparently, but is
long enough for the script to fail at downloading the required
software, and installation fails. I think is during xs-setup-network

http://pastebin.com/7YTFHLL7

I'll be poking around to see if I can connect to internet with a
cable, or pehaps give it a sleep to the script before downloading,
if you could point me into wich file should i change.

cheers

-- 
Rodolfo D. Arce S.
http://people.sugarlabs.org/~rolf
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 09:22 -0300, Rodolfo D. Arce S. wrote:
 Hello:
 
 I ran into a few problems when trying to install the XSCE 0.2. I
 downloaded the repo and installed, during the installation process i
 got this messages, but apparently everything was installed correctly.
 
 http://pastebin.com/srwDn6wX

That's part of the rpm, the %post scriptlet is calling xs-setup
--upgrade-only and the xs-setup exits at that point.

 
 I'm running in a HP DV4 laptop with Fedora 17 (security spin, i'm
 downloading the std version), it's connected to the internet with the
 wi-fi, and during xs-setup, connection is lost for some time (20-30
 secs aprox), it stops and starts Networkmanager apparently, but is
 long enough for the script to fail at downloading the required
 software, and installation fails. I think is during xs-setup-network
 

That time to restart NM seems excessive, but we need to cover that
situation. What would you time is a safe amount of time to wait before
bailing out of the install? I'm thinking 2 minutes.  


 http://pastebin.com/7YTFHLL7
 
 I'll be poking around to see if I can connect to internet with a
 cable, or pehaps give it a sleep to the script before downloading,
 if you could point me into wich file should i change.
 
 cheers
 

I have some revisions related to that in the testing repo, could you
start the next install with the testing repo enabled:

http://build.activitycentral.com/xsce.repo
 
Jerry



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Rodolfo D. Arce S.
 That time to restart NM seems excessive, but we need to cover that
 situation. What would you time is a safe amount of time to wait before
 bailing out of the install? I'm thinking 2 minutes.



It takes some time because the conection is wi-fi and it takes a long
time to negotiate the conection, the is restored a couple seconds
before the scripts exists. The ideal would be to check if connection
is up and then continue, with a simple ping to the previously found
gateway should work and timeout after 2 minutes or so. DHCP servers on
most routers are fast enough for that window of time with cable
connections, but wireless could take a while. 2 minutes is more than
enough.

 I have some revisions related to that in the testing repo, could you
 start the next install with the testing repo enabled:

I have to enable testing and upgrade the xs-cofig package? or is there
a specific package that needs to be downloaded?

-- 
Rodolfo D. Arce S.
http://people.sugarlabs.org/~rolf
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 10:24 -0300, Rodolfo D. Arce S. wrote:
  That time to restart NM seems excessive, but we need to cover that
  situation. What would you time is a safe amount of time to wait before
  bailing out of the install? I'm thinking 2 minutes.
 
 
 
 It takes some time because the conection is wi-fi and it takes a long
 time to negotiate the conection, the is restored a couple seconds
 before the scripts exists. The ideal would be to check if connection
 is up and then continue, with a simple ping to the previously found
 gateway should work and timeout after 2 minutes or so. DHCP servers on
 most routers are fast enough for that window of time with cable
 connections, but wireless could take a while. 2 minutes is more than
 enough.
 
  I have some revisions related to that in the testing repo, could you
  start the next install with the testing repo enabled:
 
 I have to enable testing and upgrade the xs-cofig package? or is there
 a specific package that needs to be downloaded?
 

We haven't updated the stable repo yet, the latest testing rpm is at:

http://build.activitycentral.com/xs-repo/RPMS/noarch/?C=M;O=D

You can then install the latest by hand with rpm if you wish. You will
still need to have the repo file present to be able to install other
packages. 

Jerry
 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Rodolfo D. Arce S.
I downloaded the RPM, installed using yum and didn' t ask for any dependencies.

ran xs-setup and it failed, it did restarted the Network and waited
for a bit, but later it just failed, didn' t try to download anything

http://pastebin.com/vdgfuHtY


2013/3/22 Jerry Vonau jvo...@shaw.ca:
 On Fri, 2013-03-22 at 10:24 -0300, Rodolfo D. Arce S. wrote:
  That time to restart NM seems excessive, but we need to cover that
  situation. What would you time is a safe amount of time to wait before
  bailing out of the install? I'm thinking 2 minutes.
 
 

 It takes some time because the conection is wi-fi and it takes a long
 time to negotiate the conection, the is restored a couple seconds
 before the scripts exists. The ideal would be to check if connection
 is up and then continue, with a simple ping to the previously found
 gateway should work and timeout after 2 minutes or so. DHCP servers on
 most routers are fast enough for that window of time with cable
 connections, but wireless could take a while. 2 minutes is more than
 enough.

  I have some revisions related to that in the testing repo, could you
  start the next install with the testing repo enabled:

 I have to enable testing and upgrade the xs-cofig package? or is there
 a specific package that needs to be downloaded?


 We haven't updated the stable repo yet, the latest testing rpm is at:

 http://build.activitycentral.com/xs-repo/RPMS/noarch/?C=M;O=D

 You can then install the latest by hand with rpm if you wish. You will
 still need to have the repo file present to be able to install other
 packages.

 Jerry






-- 
Rodolfo D. Arce S.
http://people.sugarlabs.org/~rolf
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 11:05 -0300, Rodolfo D. Arce S. wrote:
 I downloaded the RPM, installed using yum and didn' t ask for any 
 dependencies.
 
 ran xs-setup and it failed, it did restarted the Network and waited
 for a bit, but later it just failed, didn' t try to download anything
 
 http://pastebin.com/vdgfuHtY
 

Think we have an undeclared dependency on the rpm package 'hostname',
which may not be installed, can you check for that rpm package with
'rpm -q hostname' please. 

Jerry

 
 2013/3/22 Jerry Vonau jvo...@shaw.ca:
  On Fri, 2013-03-22 at 10:24 -0300, Rodolfo D. Arce S. wrote:
   That time to restart NM seems excessive, but we need to cover that
   situation. What would you time is a safe amount of time to wait before
   bailing out of the install? I'm thinking 2 minutes.
  
  
 
  It takes some time because the conection is wi-fi and it takes a long
  time to negotiate the conection, the is restored a couple seconds
  before the scripts exists. The ideal would be to check if connection
  is up and then continue, with a simple ping to the previously found
  gateway should work and timeout after 2 minutes or so. DHCP servers on
  most routers are fast enough for that window of time with cable
  connections, but wireless could take a while. 2 minutes is more than
  enough.
 
   I have some revisions related to that in the testing repo, could you
   start the next install with the testing repo enabled:
 
  I have to enable testing and upgrade the xs-cofig package? or is there
  a specific package that needs to be downloaded?
 
 
  We haven't updated the stable repo yet, the latest testing rpm is at:
 
  http://build.activitycentral.com/xs-repo/RPMS/noarch/?C=M;O=D
 
  You can then install the latest by hand with rpm if you wish. You will
  still need to have the repo file present to be able to install other
  packages.
 
  Jerry
 
 
 
 
 
 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Rodolfo D. Arce S.
It's installed

hostname-3.10-1.fc17.i686

2013/3/22 Jerry Vonau jvo...@shaw.ca:
 On Fri, 2013-03-22 at 11:05 -0300, Rodolfo D. Arce S. wrote:
 I downloaded the RPM, installed using yum and didn' t ask for any 
 dependencies.

 ran xs-setup and it failed, it did restarted the Network and waited
 for a bit, but later it just failed, didn' t try to download anything

 http://pastebin.com/vdgfuHtY


 Think we have an undeclared dependency on the rpm package 'hostname',
 which may not be installed, can you check for that rpm package with
 'rpm -q hostname' please.

 Jerry


 2013/3/22 Jerry Vonau jvo...@shaw.ca:
  On Fri, 2013-03-22 at 10:24 -0300, Rodolfo D. Arce S. wrote:
   That time to restart NM seems excessive, but we need to cover that
   situation. What would you time is a safe amount of time to wait before
   bailing out of the install? I'm thinking 2 minutes.
  
  
 
  It takes some time because the conection is wi-fi and it takes a long
  time to negotiate the conection, the is restored a couple seconds
  before the scripts exists. The ideal would be to check if connection
  is up and then continue, with a simple ping to the previously found
  gateway should work and timeout after 2 minutes or so. DHCP servers on
  most routers are fast enough for that window of time with cable
  connections, but wireless could take a while. 2 minutes is more than
  enough.
 
   I have some revisions related to that in the testing repo, could you
   start the next install with the testing repo enabled:
 
  I have to enable testing and upgrade the xs-cofig package? or is there
  a specific package that needs to be downloaded?
 
 
  We haven't updated the stable repo yet, the latest testing rpm is at:
 
  http://build.activitycentral.com/xs-repo/RPMS/noarch/?C=M;O=D
 
  You can then install the latest by hand with rpm if you wish. You will
  still need to have the repo file present to be able to install other
  packages.
 
  Jerry
 
 
 








-- 
Rodolfo D. Arce S.
http://people.sugarlabs.org/~rolf
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 11:47 -0300, Rodolfo D. Arce S. wrote:
 It's installed
 
 hostname-3.10-1.fc17.i686
 

The only difference I can see is you are using sudo while I used su
before running xs-setup but I don't think that is an issue but might be.

Now that is strange, why would your installation not find the
executable, wait it does but the value returned is bad. Is the
file /etc/hostname present if so what is the contents?

Jerry


 

 2013/3/22 Jerry Vonau jvo...@shaw.ca:
  On Fri, 2013-03-22 at 11:05 -0300, Rodolfo D. Arce S. wrote:
  I downloaded the RPM, installed using yum and didn' t ask for any 
  dependencies.
 
  ran xs-setup and it failed, it did restarted the Network and waited
  for a bit, but later it just failed, didn' t try to download anything
 
  http://pastebin.com/vdgfuHtY
 
 
  Think we have an undeclared dependency on the rpm package 'hostname',
  which may not be installed, can you check for that rpm package with
  'rpm -q hostname' please.
 
  Jerry
 
 
  2013/3/22 Jerry Vonau jvo...@shaw.ca:
   On Fri, 2013-03-22 at 10:24 -0300, Rodolfo D. Arce S. wrote:
That time to restart NM seems excessive, but we need to cover that
situation. What would you time is a safe amount of time to wait before
bailing out of the install? I'm thinking 2 minutes.
   
   
  
   It takes some time because the conection is wi-fi and it takes a long
   time to negotiate the conection, the is restored a couple seconds
   before the scripts exists. The ideal would be to check if connection
   is up and then continue, with a simple ping to the previously found
   gateway should work and timeout after 2 minutes or so. DHCP servers on
   most routers are fast enough for that window of time with cable
   connections, but wireless could take a while. 2 minutes is more than
   enough.
  
I have some revisions related to that in the testing repo, could you
start the next install with the testing repo enabled:
  
   I have to enable testing and upgrade the xs-cofig package? or is there
   a specific package that needs to be downloaded?
  
  
   We haven't updated the stable repo yet, the latest testing rpm is at:
  
   http://build.activitycentral.com/xs-repo/RPMS/noarch/?C=M;O=D
  
   You can then install the latest by hand with rpm if you wish. You will
   still need to have the repo file present to be able to install other
   packages.
  
   Jerry
  
  
  
 
 
 
 
 
 
 
 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Sameer Verma
On Fri, Mar 22, 2013 at 5:22 AM, Rodolfo D. Arce S. r...@sugarlabs.org wrote:
 Hello:

 I ran into a few problems when trying to install the XSCE 0.2. I
 downloaded the repo and installed, during the installation process i
 got this messages, but apparently everything was installed correctly.

 http://pastebin.com/srwDn6wX

 I'm running in a HP DV4 laptop with Fedora 17 (security spin, i'm
 downloading the std version), it's connected to the internet with the
 wi-fi, and during xs-setup, connection is lost for some time (20-30
 secs aprox), it stops and starts Networkmanager apparently, but is
 long enough for the script to fail at downloading the required
 software, and installation fails. I think is during xs-setup-network


I had this problem on my campus network three times in a row, but when
I do this at home, the NM restart comes back with DNS in a matter of a
few seconds. There is still a bit of a lookup loss, but it recovers
fairly quickly.

cheers,
Sameer

 http://pastebin.com/7YTFHLL7

 I'll be poking around to see if I can connect to internet with a
 cable, or pehaps give it a sleep to the script before downloading,
 if you could point me into wich file should i change.

 cheers

 --
 Rodolfo D. Arce S.
 http://people.sugarlabs.org/~rolf
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel