概要
-
Raspbianの最新イメージ??? を公開してるところを発見
-
作成するスクリプトが
https://github.com/ssfdre38/rpi-genhttps://github.com/ssfdre38/pi-gen に -
https://sourceforge.net/projects/raspbian/
Description
This is access to the downloads of the Raspbian images created from the rpi-gen tool from ssfdre38 on https://github.com/ssfdre38/rpi-gen using official source codes from Raspberry Pi Foundation. Raspbian is open source and free to use and create for Raspberry Pi. Rasbian is for Raspberry Pi 2/3 and Raspbian-Lite is for Raspberry Pi 1/2/3/Zero SBC.
これは、ラズベリーパイ財団から公式のソースコードを使用して、https://github.com/ssfdre38/rpi-gen にあるssfdre38の
rpi-gen
ツールから作成されたRaspbianイメージのダウンロードへのアクセスです。
Raspbianは、オープンソースで、ラズベリーパイのために自由に使用、作成できます。
Rasbianはラズベリーパイ2/3のためのものであり、Raspbian-Liteは、ラズベリーパイ1/2/3/ゼロSBCのためのものです。(ぐーぐる翻訳改? 怪?)
環境
-
Ubuntu 16.04 x86_64
18GBくらい使うよ。
mt08@u16:~$ sudo du -sh ~/rpi-gen/
18G /home/mt08/rpi-gen/
mt08@u16:~$
- Raspberry Pi 3 (動作確認用)
## 手順
- Raspbian(FULL)と Raspbian-lite両方できます。(Noobsのイメージもできてる?)
1. `sudo apt install quilt kpartx pxz`<br>とりあえず、エラーでてとまったやつで必要そうなもの..<br>素のUbuntuでなかったので、もっと必要なものがあるかも
2. スクリプト取得~作成
```bash:build.shを呼ぶ。
cd ~
git clone https://github.com/ssfdre38/rpi-gen.git
cd rpi-gen
sudo ./build.sh
-
deploy
フォルダの下に zip,work/.../export-image
にイメージができる。
mt08@u16:~$ cd ~/rpi-gen/deploy
mt08@u16:~/rpi-gen/deploy$ ls -l
total 1660872
drwxr-xr-x 2 root root 4096 Aug 31 16:30 2016-08-31-raspbian
-rw-r--r-- 1 root root 306656881 Aug 31 16:04 2016-08-31-raspbian-lite.zip
-rw-r--r-- 1 root root 1394064888 Aug 31 16:15 2016-08-31-raspbian.zip
mt08@u16:~/rpi-gen/deploy$ cd ~/rpi-gen/work/2016-08-31-raspbian/export-image
mt08@u16:~/rpi-gen/work/2016-08-31-raspbian/export-image$ ls -l
total 4485524
drwxr-xr-x 3 root root 4096 Aug 31 16:07 00-pc
-rw-r--r-- 1 root root 4019191808 Aug 31 16:08 2016-08-31-raspbian.img
-rw-r--r-- 1 root root 1387266048 Aug 31 16:03 2016-08-31-raspbian-lite.img
drwxr-xr-x 2 root root 4096 Aug 31 16:04 rootfs
mt08@u16:~/rpi-gen/work/2016-08-31-raspbian/export-image$
4. 動作確認。
1. `2016-08-31-raspbian.img`をmicroSDに焼いく
2. 起動を確認
3. apt-get updateとdist-upgrade => 、<font color='red'>出来立ては、更新するものなし!</font>
```shell-session
pi@raspberrypi:~ $ sudo apt-get update
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
...
... 省略
...
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists... Done
pi@raspberrypi:~ $ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $
その他
-
パッケージ比較はしてないけど、
minecraft-pi
とかwolfram-engine
とか入ってるし...
pi@raspberrypi:~ $
pi@raspberrypi:~ $ dpkg -l | wc
1162 11604 162358
pi@raspberrypi:~ $ dpkg -l | grep minecraft
ii minecraft-pi 0.1.1-4 armhf Minecraft for the Raspberry Pi
ii python-minecraftpi 0.1.1-4 armhf Python API for Minecraft Pi
ii python3-minecraftpi 0.1.1-4 armhf Python 3 API for Minecraft Pi
pi@raspberrypi:~ $ dpkg -l | grep wolfram
ii wolfram-engine 10.3.1+2016012407 armhf Mathematica® and the Wolfram Language
pi@raspberrypi:~ $