Difference between revisions of "Debian/Raspberry Pi"

From Sugar Labs
Jump to navigation Jump to search
(Added instructions to create an image for the RPi 3 with Sucrose)
 
Line 1: Line 1:
Sucrose images for the Raspberry pi 3 can be created by using this repository: <nowiki>https://github.com/Rishabh42/rpi23-gen-image</nowiki>
+
== 2017-06-22 ==
 +
 
 +
Sucrose images for the Raspberry Pi 3 can be created by using this fork repository:
 +
* https://github.com/Rishabh42/rpi23-gen-image
 +
 
 +
This was tested on Debian ''stretch'' platform which was set up in an ''schroot'' shell on Ubuntu.
 
   
 
   
This fork was tested on Debian stretch platform which was set up in an schroot shell.
+
The method is:
+
* Set up an ''schroot'' environment by following the instructions: https://wiki.debian.org/Schroot,
The method is described as follows:
+
* Log into your ''schroot'' shell from the terminal,
1. Set up an schroot environment by following the instructions on this page: <nowiki>https://wiki.debian.org/Schroot</nowiki> and replacing "wheezy" with "stretch" in the instructions to install Debian stretch which is crucial to build images using this repo.
+
  schroot -c stretch
2. Log into your schroot shell from the terminal.
+
* Clone the repository
  3. Clone the  <nowiki>https://github.com/Rishabh42/rpi23-gen-image</nowiki> repository.
+
  git clone <nowiki>https://github.com/Rishabh42/rpi23-gen-image</nowiki>
4. Build dependencies by going through the readme file in the repo and executing the commands described.
+
* Install dependencies by going through the readme file in the repo and executing the commands described,
5. Change your directory to the cloned repo and run this command to start the building process: "sh rpi23-gen-image.sh", without quotes. This step takes some time as the scripts start downloading and configuring   packages to build an image.
+
* Change your directory to the cloned repo and run this command to start the building process:
6. Once the proces is complete in the terminal, navigate to this directory: ~/rpi23-gen-image/images/stretch to find the image that was built.
+
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: <nowiki>https://github.com/drtyhlpr/rpi23-gen-image</nowiki> which can be viewed in the commit history of the fork mentioned above.
 +
 
 +
== 2017-06-21 ==
 +
 
 +
== 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 Download]
 +
 
 +
Repository : [https://github.com/drtyhlpr/rpi23-gen-image here]
 +
 
 +
Fork used: [https://github.com/hrishi1999/rpi23-gen-image here]
  
Some changes have been made to the original repo found here: <nowiki>https://github.com/drtyhlpr/rpi23-gen-image</nowiki> which can be viewed in the commit history of the fork mentioned above.
+
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)

Revision as of 18:28, 22 June 2017

2017-06-22

Sucrose images for the Raspberry Pi 3 can be created by using this fork repository:

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

The method is:

schroot -c stretch
  • Clone the repository
git clone https://github.com/Rishabh42/rpi23-gen-image
  • Install dependencies by going through the readme file in the repo and executing the commands described,
  • 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 of the fork mentioned above.

2017-06-21

Sugar on RPI image

This image can be considered still in beta. This is not the final build.

Here is the link : Download

Repository : here

Fork used: here

If the image 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)