Changes

Jump to navigation Jump to search
745 bytes added ,  19:41, 24 August 2017
Remove obsolete section (not sure why Rishabh didn't remove it)
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>
+
== Download ==
  −
This fork was tested on Debian stretch platform which was set up in an schroot shell.
  −
  −
The method is described as follows:
  −
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.
  −
2. Log into your schroot shell from the terminal.
  −
3. Clone the  <nowiki>https://github.com/Rishabh42/rpi23-gen-image</nowiki> repository.
  −
4. Build 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.
  −
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.
     −
  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.
+
Rishabh Thaney has made builds for Raspberry Pi using Debian;
 +
 
 +
* [https://people.sugarlabs.org/rishabh/ https://people.sugarlabs.org/rishabh/],
 +
 
 +
See also:
 +
 
 +
* [[Summer_of_Code/2017|GSoC 2017 Project Ideas]] by Sugar Labs,
 +
* [[Summer_of_Code/Rishabh_Thaney|GSoC 2017 Proposal]] by Rishabh, and;
 +
* [https://sugaronraspberrypi.wordpress.com/ GSoC 2017 Blog] by Rishabh.
 +
 
 +
== Testing ==
 +
 
 +
Starts at color gender age home view as user "pi",
 +
wireless works; showing ad-hoc and wireless Access points.
 +
 
 +
Home View (F3 key) screenshot:
 +
 
 +
[[File:Screenshot_of_"Home".png | 700px | 600px]]
 +
 
 +
Does not auto-mount an inserted USB.
 +
 
 +
== 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 <nowiki>https://github.com/sugarlabs/rpi23-gen-image</nowiki>
 +
* 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: <nowiki>https://github.com/drtyhlpr/rpi23-gen-image</nowiki> which can be viewed in the commit history.

Navigation menu