Re: [Sugar-devel] Fwd: Sugarizer Rpi Image
Hi Aman, Aman Sharma writes: > Hope this answers your query. Yes it does -- thanks for taking the time for the detailed answer. Best, -- Bastien ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Fwd: Sugarizer Rpi Image
Hi Bastien, Yes the sugarizer-school-box repo is a fork of https://github.com/drtyhlpr/rpi23-gen-image initially . But in order to solve this issue https://github.com/amanharitsh123/sugarizer-school-box/issues/2 and to change licensing to APACHEV2 ,I removed all the content of that previously forked repo and made a custom script to clone that repo everytime we initiate the building process. So now run.sh script clones the gen script , attach custom scripts and initiate build. Hope this answers your query. Feel free to ask if you still have any doubt. Regards Aman Sharma On Wed, Jul 25, 2018 at 3:55 AM, James Cameron wrote: > It is https://github.com/amanharitsh123/sugarizer-school-box and was > forked in February, then diverged from upstream in May. 6936833 is > the point of divergence. > > On Tue, Jul 24, 2018 at 11:16:26PM +0200, Bastien wrote: > > Hi Aman Sharma, > > > > thank you for your answer. I will try to find the time to test > > this and report if it works correctly here. > > > > On https://wiki.sugarlabs.org/go/User:Amanharitsh123 you mention that > > your project is a fork of https://github.com/drtyhlpr/rpi23-gen-image > > > > Is it https://github.com/amanharitsh123/rpi23-gen-image ? It has not > > been updated since feb. 27th so I'm not sure. > > > > Anyway, thanks for putting efforts into writing more documentation, > > that's always where things fall short. > > > > Best, > > > > -- > > Bastien > > ___ > > Sugar-devel mailing list > > Sugar-devel@lists.sugarlabs.org > > http://lists.sugarlabs.org/listinfo/sugar-devel > > -- > James Cameron > http://quozl.netrek.org/ > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Fwd: Sugarizer Rpi Image
James Cameron writes: > It is https://github.com/amanharitsh123/sugarizer-school-box and was > forked in February, then diverged from upstream in May. 6936833 is > the point of divergence. Thanks - I guess the documentation needs to be further clarified. -- Bastien ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Fwd: Sugarizer Rpi Image
It is https://github.com/amanharitsh123/sugarizer-school-box and was forked in February, then diverged from upstream in May. 6936833 is the point of divergence. On Tue, Jul 24, 2018 at 11:16:26PM +0200, Bastien wrote: > Hi Aman Sharma, > > thank you for your answer. I will try to find the time to test > this and report if it works correctly here. > > On https://wiki.sugarlabs.org/go/User:Amanharitsh123 you mention that > your project is a fork of https://github.com/drtyhlpr/rpi23-gen-image > > Is it https://github.com/amanharitsh123/rpi23-gen-image ? It has not > been updated since feb. 27th so I'm not sure. > > Anyway, thanks for putting efforts into writing more documentation, > that's always where things fall short. > > Best, > > -- > Bastien > ___ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel -- James Cameron http://quozl.netrek.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Fwd: Sugarizer Rpi Image
Hi Aman Sharma, thank you for your answer. I will try to find the time to test this and report if it works correctly here. On https://wiki.sugarlabs.org/go/User:Amanharitsh123 you mention that your project is a fork of https://github.com/drtyhlpr/rpi23-gen-image Is it https://github.com/amanharitsh123/rpi23-gen-image ? It has not been updated since feb. 27th so I'm not sure. Anyway, thanks for putting efforts into writing more documentation, that's always where things fall short. Best, -- Bastien ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Fwd: Sugarizer Rpi Image
Requiring a larger card, and consuming RAM with filesystem metadata, increases the cost of ownership and decreases the number of learners served. So care should be taken to minimise the build size, download size, and runtime size. Each of your reasons for larger size contribute a different quantity. Expanding the filesystem during first boot means you have random data from the previously used blocks on the microSD card. You also have very large docker images and containers. What is the use case for including docker images and containers? Will all users of the final image need these features, and will they use them? If they are used by only a few people, or will not be used, the features might be removed to save space. My understanding of your development history on this project is that you were unable to find a way to complete docker installation from within the rpi23-gen-image builder. Is that still the case? Has the hardlink utility been run to deduplicate the filesystem? Has the unallocated space of the filesystem been erased to speed image preparation? On Mon, Jul 23, 2018 at 09:52:07PM +0530, Aman Sharma wrote: > Hello Bastien, > > - Thank You , I am glad you like my work. > > - The image has this enormous size because we have included docker images in > this image itself. This would help the users to save bandwidth as they dont > have to download 600-800MB around docker images to setup containers. Also the > image link I have provided in my earlier email is a fully setup rpi image > (basically the backup of a once booted image). I have did this because my > generated rpi image requires internet connectivity and 25-30mins after the > first boot to set the things up. So provided a backup image like is helpful > for > the community to test the image easily and as soon as possible. > > - Backup image is large because in this image docker containers are already > created. Also we have sugarizer and sugarizer-server in the image. > > - To flash the image , unzip the Sugarizer.gz and flash the extracted image > using dd.(You will need atleast a 16GB sdcard) > > - Documentation : [1]https://wiki.sugarlabs.org/go/User:Amanharitsh123 > - My Blog : [2]https://amansharmablogblog.wordpress.com/2018/05/18/ > sugarizer-rpi-image/ > - For a more detailed documentation on customizing the image is here : [3] > https://github.com/drtyhlpr/rpi23-gen-image. > > If you have any other queries / suggestions, feel free to reach me out. > > Thank You > Aman Sharma > > > On Mon, Jul 23, 2018 at 1:32 PM, Bastien <[4]b...@bzg.fr> wrote: > > Hi Aman, > > this is great work, thank you. > > If I may ask, why the initial image is so big? Can you detail a bit > what takes so much place? > > Also, is there a documented way to customize the image? > > Thanks again! > > -- > Bastien > > References: > > [1] https://wiki.sugarlabs.org/go/User:Amanharitsh123 > [2] https://amansharmablogblog.wordpress.com/2018/05/18/sugarizer-rpi-image/ > [3] https://github.com/drtyhlpr/rpi23-gen-image > [4] mailto:b...@bzg.fr > ___ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel -- James Cameron http://quozl.netrek.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Fwd: Sugarizer Rpi Image
Hello Bastien, - Thank You , I am glad you like my work. - The image has this enormous size because we have included docker images in this image itself. This would help the users to save bandwidth as they dont have to download 600-800MB around docker images to setup containers. Also the image link I have provided in my earlier email is a fully setup rpi image (basically the backup of a once booted image). I have did this because my generated rpi image requires internet connectivity and 25-30mins after the first boot to set the things up. So provided a backup image like is helpful for the community to test the image easily and as soon as possible. - Backup image is large because in this image docker containers are already created. Also we have sugarizer and sugarizer-server in the image. - To flash the image , unzip the Sugarizer.gz and flash the extracted image using dd.(You will need atleast a 16GB sdcard) - Documentation : https://wiki.sugarlabs.org/go/User:Amanharitsh123 - My Blog : https://amansharmablogblog.wordpress.com/2018/05/18/sugarizer-rpi-image/ - For a more detailed documentation on customizing the image is here : https://github.com/drtyhlpr/rpi23-gen-image. If you have any other queries / suggestions, feel free to reach me out. Thank You Aman Sharma On Mon, Jul 23, 2018 at 1:32 PM, Bastien wrote: > Hi Aman, > > this is great work, thank you. > > If I may ask, why the initial image is so big? Can you detail a bit > what takes so much place? > > Also, is there a documented way to customize the image? > > Thanks again! > > -- > Bastien > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Fwd: Sugarizer Rpi Image
Hi Aman, this is great work, thank you. If I may ask, why the initial image is so big? Can you detail a bit what takes so much place? Also, is there a documented way to customize the image? Thanks again! -- Bastien ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Fwd: Sugarizer Rpi Image
Hey Everyone! As a outcome of the GSoC 18 Sugarizer School Box project we have Rpi Image Gen scripts ready and tested by me and mentors. The generated rpi image make a WiFi AP named "SugarizerSchoolBox" with password "sugarizer" on which the Sugarizer is accessbile at "http://server.sugarizer.org"; and "http://try.sugarizer.org";. The initial image which the script generates is a 3.4GB image which requires almost 20-25 mins after first boot to setup docker images and sugarizer , so to make the testing easy I have already firstbooted the generated image on my pi , made a backup image of that and providing the link to the same. Now you just need to unzip it , flash it on a 16GB sdcard , boot pi and sugarizer server will be up and running within seconds. Link: http://people.sugarlabs.org/asharma/Sugarizer.img.gz Repo: https://github.com/amanharitsh123/sugarizer-school-box Any feedback and suggestions are welcome. Aman Sharma ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel