Skip to content

Commit

Permalink
make a desktop version (closes #1)
Browse files Browse the repository at this point in the history
  • Loading branch information
bamarni committed May 12, 2017
1 parent c2d4229 commit 2e9152d
Show file tree
Hide file tree
Showing 13 changed files with 438 additions and 206 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM ubuntu:17.04

RUN apt-get update \
&& apt-get -y install \
bc build-essential cmake gcc-aarch64-linux-gnu g++-aarch64-linux-gnu git unzip qemu-user-static multistrap zip wget dosfstools kpartx golang-1.8-go \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

ENV GOPATH=/go PATH=/go/bin:/usr/lib/go-1.8/bin:$PATH

WORKDIR $GOPATH/src/github.com/bamarni/pi64

COPY . $GOPATH/src/github.com/bamarni/pi64

RUN go install github.com/bamarni/pi64/cmd/pi64-build && go get github.com/aktau/github-release
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.PHONY: build release

build: build/pi64-lite.zip build/pi64-desktop.zip

build/pi64-lite.zip: build/linux build/userland
bash make/image lite

build/pi64-desktop.zip: build/linux build/userland
bash make/image desktop

build/userland:
bash make/videocore

build/linux:
bash make/kernel

release:
bash make/release
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,35 @@

pi64 is an experimental 64-bit OS for the Raspberry Pi 3. It is based on Debian Stretch and backed by a 4.11 Linux kernel.

## Installation
## Releases

The latest images are always available in the [releases](https://github.com/bamarni/pi64/releases) section.

There are 2 versions : lite and desktop. The desktop version is based on [LXDE](http://lxde.org/) .

The latest image is always available in the [releases](https://github.com/bamarni/pi64/releases) section.
## Installation

Once downloaded, you can follow the [official instructions](https://www.raspberrypi.org/documentation/installation/installing-images/README.md) for writing it to your SD card.

During first boot the installation process will continue for a few minutes, then the Raspberry Pi will reboot and you'll be ready to go.

## Getting started

The default user is `pi` and its password `raspberry`, it has passwordless root privileges escalation through `sudo`.

SSH is enabled by default.
The default user is `pi` and its password `raspberry`, it has passwordless root privileges escalation through `sudo`. SSH is also enabled by default.

Once logged in, you might want to run `sudo pi64-config` in order to get assisted with your setup!

## FAQ

### How can I remove SSH?

For convenience, SSH is installed and enabled by default. This allows you to plug your Raspberry Pi to your home router and get started without the need
of an extra monitor / keyboard. If you want to remove it, just run :

sudo apt-get autoremove --purge -y ssh avahi-daemon

### Is there a way to run custom post-installation steps?

You can just drop a file called `setup` on the boot partition. When the installer notices that file at `/boot/setup`, it will automatically execute it using bash when installation finishes.

This can be useful if you want to distribute your own image based on pi64.
169 changes: 0 additions & 169 deletions build.sh

This file was deleted.

Loading

0 comments on commit 2e9152d

Please sign in to comment.