Debian/Raspberry Pi: Difference between revisions
No edit summary |
|||
| Line 1: | Line 1: | ||
== Download == | == Download == | ||
Rishabh Thaney has made | Rishabh Thaney has made builds for Raspberry Pi using Debian; | ||
*[https://drive.google.com/file/d/0B1YK6wpv2W0eUlMzWUgta1NuQW8/view 2017-06-26-rpi3-stretch.img.zip] on Google Drive, | * [https://people.sugarlabs.org/rishabh/Stretch-Sugar_autologin-fix-RPi3.img.zip Stretch-Sugar_autologin-fix-RPi3.img.zip] | ||
* [https://people.sugarlabs.org/rishabh/ 2017-07-07] at Sugar Labs, | |||
* [https://drive.google.com/file/d/0B1YK6wpv2W0eUlMzWUgta1NuQW8/view 2017-06-26-rpi3-stretch.img.zip] on Google Drive, | |||
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. | 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 == | == Testing == | ||
| Line 17: | Line 13: | ||
Report issues to https://github.com/sugarlabs/rpi23-gen-image | Report issues to https://github.com/sugarlabs/rpi23-gen-image | ||
=== 2017-07-07 === | |||
Starts at: color/ age-screens/ f3 as "pi" | |||
wireless works and shows AD-Hoc and wireless Access points | |||
=== 2017-06-26 === | === 2017-06-26 === | ||
On images dated before 2017-07-04, select "sugar" in top right bar at login. | |||
Home View (F3 key). | Home View (F3 key). | ||
| Line 27: | Line 28: | ||
== Comparison == | == Comparison == | ||
Please also compare against | Please also compare against [[Soas/Raspberry_Pi|Fedora 26 SoaS]], as it has many more working activities, although it does not have wireless firmware. | ||
== Reproducing == | == Reproducing == | ||
| Line 105: | Line 70: | ||
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. | 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. | ||
=== | === Adding the automatic login feature === | ||
* While the image is building, navigate to the following directory: | * While the image is building, navigate to the following directory: | ||
~/rpi23-gen-image/images/stretch/build/chroot/etc | ~/rpi23-gen-image/images/stretch/build/chroot/etc | ||
and depending on the stage of the build process wait for a folder named 'lightdm' to appear. | and depending on the stage of the build process wait for a folder named 'lightdm' to appear. | ||
* Then open this file with nano/gedit and with root priviledges: | * Then open this file with nano/gedit and with root priviledges: | ||
~/rpi23-gen-image/images/stretch/build/chroot/etc/lightdmlightdm.conf.dpkg-new | ~/rpi23-gen-image/images/stretch/build/chroot/etc/lightdmlightdm.conf.dpkg-new | ||
* Add/uncomment the following lines and configure them as shown below: | * Add/uncomment the following lines and configure them as shown below: | ||
autologin-session = sugar | autologin-session = sugar | ||
[Seat:*] | [Seat:*] | ||
#type=xlocal | #type=xlocal | ||
pam-service=lightdm | pam-service=lightdm | ||
pam-autologin-service=lightdm-autologin | pam-autologin-service=lightdm-autologin | ||
autologin-user=pi #(change this if you have configured a different user) | autologin-user=pi #(change this if you have configured a different user) | ||
autologin-password=raspberry #(change this if you have configured a different password) | autologin-password=raspberry #(change this if you have configured a different password) | ||
autologin-user-timeout=0 | autologin-user-timeout=0 | ||
session-wrapper=/etc/X11/Xsession | session-wrapper=/etc/X11/Xsession | ||
greeter-session=lightdm-greeter | greeter-session=lightdm-greeter | ||
* Save the file and wait for the build process to complete. | * Save the file and wait for the build process to complete. | ||
* Boot into your image with this configuration and autologin should work fine. | * Boot into your image with this configuration and autologin should work fine. | ||