Difference between revisions of "Debian/Raspberry Pi"

From Sugar Labs
Jump to navigation Jump to search
(replace photograph with screenshot)
(put downloads first, then testing, then reproducing)
Line 1: Line 1:
== 2017-06-26 ==
+
== Download ==
  
Sucrose images for the Raspberry Pi 3 can be created by using this fork repository:
+
*[https://drive.google.com/file/d/0B1YK6wpv2W0eUlMzWUgta1NuQW8/view Google Drive] 2017-06-26-rpi3-stretch.img.zip
* https://github.com/Rishabh42/rpi23-gen-image
+
*[https://people.sugarlabs.org/rishabh/2017-06-26-rpi3-stretch.img.zip Sugar Labs ]2017-06-26-rpi3-stretch.img.zip
  
This was tested on Debian ''stretch'' platform which was set up in an ''schroot'' shell on Ubuntu.
+
*[https://drive.google.com/file/d/0B1YK6wpv2W0eQUJrRldiVU1fczQ/view Google Drive] 2017-06-20-rpi3-stretch.img.zip
 +
 
 +
== Testing ==
 +
 
 +
Report issues to https://github.com/sugarlabs/rpi23-gen-image
 +
 
 +
Initial screen F3 key
 +
 
 +
[[File:RaspberryPiDebianStretchHomeView.png | 700px | 600px]]
 +
 
 +
For the 26th June image, select "sugar" in top right bar at login.
 +
 
 +
For the 20th June image, if it does not work on the first boot (or fails to login), please restart your RPI and try again.
 +
--[[User:HrishiP|HrishiP]] ([[User talk:HrishiP|talk]]) 10:49, 21 June 2017 (IST)
 +
 
 +
== Reproducing ==
 +
 
 +
This was reproduced on Debian ''stretch'' platform which was set up in an ''schroot'' shell on Ubuntu.
  
 
=== Setup Schroot ===
 
=== Setup Schroot ===
Line 28: Line 45:
 
Setup the builder within the ''schroot'' shell like this;
 
Setup the builder within the ''schroot'' shell like this;
 
* Clone the repository
 
* Clone the repository
  git clone <nowiki>https://github.com/Rishabh42/rpi23-gen-image</nowiki>
+
  git clone <nowiki>https://github.com/sugarlabs/rpi23-gen-image</nowiki>
* Install dependencies by going through the readme file in the repo and executing the commands described,
+
* Install dependencies by going through the README.md file and executing the commands described,
  
 
=== Run Builder ===
 
=== Run Builder ===
Line 40: Line 57:
 
to find the image that was built.
 
to find the image that was built.
  
Some changes have been made to the original repo: <nowiki>https://github.com/drtyhlpr/rpi23-gen-image</nowiki> which can be viewed in the commit history of the fork mentioned above.
+
Some changes have been made to the original repo: <nowiki>https://github.com/drtyhlpr/rpi23-gen-image</nowiki> which can be viewed in the commit history.
 
 
== Sugar on RPI image ==
 
 
 
This image can be considered still in beta. This is not the final build.
 
 
 
Here is the link :
 
 
 
*[https://drive.google.com/file/d/0B1YK6wpv2W0eQUJrRldiVU1fczQ/view Google] 2017-06-20-rpi3-stretch.img.zip
 
 
 
==Latest image with wifi - note select "sugar"in top right bar at login==
 
*[https://drive.google.com/file/d/0B1YK6wpv2W0eUlMzWUgta1NuQW8/view?usp=sharing  google] 2017-06-26-rpi3-stretch.img.zip
 
*[https://people.sugarlabs.org/rishabh/2017-06-26-rpi3-stretch.img.zip sugarlabs ]2017-06-26-rpi3-stretch.img.zip
 
Repository : [https://github.com/drtyhlpr/rpi23-gen-image here]
 
 
 
Fork used: [https://github.com/hrishi1999/rpi23-gen-image here]
 
 
 
If the image does not work on the first boot (or fails to login), please restart your RPI and try again.
 
--[[User:HrishiP|HrishiP]] ([[User talk:HrishiP|talk]]) 10:49, 21 June 2017 (IST)
 
 
 
[[File:RaspberryPiDebianStretchHomeView.png | 700px | 600px]]
 
 
 
*initial screen f3
 
===Sugar graphic Tutorials===
 
 
* features of the sugar interface
 
[[Tutorials]]
 

Revision as of 16:28, 2 July 2017

Download

Testing

Report issues to https://github.com/sugarlabs/rpi23-gen-image

Initial screen F3 key

RaspberryPiDebianStretchHomeView.png

For the 26th June image, select "sugar" in top right bar at login.

For the 20th June image, if it does not work on the first boot (or fails to login), please restart your RPI and try again. --HrishiP (talk) 10:49, 21 June 2017 (IST)

Reproducing

This was reproduced on Debian stretch platform which was set up in an schroot shell on Ubuntu.

Setup Schroot

Set up a schroot environment like this:

  • Install the schroot and debootstrap packages,
sudo apt install schroot debootstrap
  • Create the stretch filesystem,
sudo mkdir -p /srv/chroot/stretch
sudo debootstrap stretch /srv/chroot/stretch
  • Make a file /etc/schroot/chroot.d/stretch,
[stretch]
type=directory
personality=linux
directory=/srv/chroot/stretch
  • Log into your schroot shell from the terminal,
sudo schroot -c stretch

See https://wiki.debian.org/Schroot for alternate methods.

Setup Builder

Setup the builder within the schroot shell like this;

  • Clone the repository
git clone https://github.com/sugarlabs/rpi23-gen-image
  • Install dependencies by going through the README.md file and executing the commands described,

Run Builder

  • Change your directory to the cloned repo and run this command to start the building process:
sh rpi23-gen-image.sh

This takes some time as the scripts start downloading and configuring packages to build an image.

  • Once the process is complete in the terminal, navigate to this directory:
~/rpi23-gen-image/images/stretch

to find the image that was built.

Some changes have been made to the original repo: https://github.com/drtyhlpr/rpi23-gen-image which can be viewed in the commit history.