You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILD.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ On a Debian system those are the following, excluding packages with priority ess
14
14
- dosfstools
15
15
- binutils
16
16
- bc
17
+
- cpio
17
18
18
19
On Debian based systems you can install them as root or with sudo as follows:
19
20
@@ -24,11 +25,26 @@ aptitude install git curl bzip2 zip xz-utils gnupg kpartx dosfstools binutils bc
24
25
The following scripts are used to build the raspberrypi-ua-netinst installer, listed in the same order they would be used:
25
26
26
27
-`clean.sh` - Start with a clean slate by removing everything created by earlier builds. This is not needed on a first build, but won't hurt either.
28
+
27
29
-`update.sh` - Downloads latest Raspbian packages that will be used to build the installer.
30
+
28
31
-`build.sh` - Builds the installer initramfs and .zip package for Windows/Mac SD card extraction method. Transfer the .zip package to a Windows/Mac computer, then simply unzip it and copy the files onto a FAT formatted SD card.
29
-
-`buildroot.sh` - Builds the installer SD card image, it requires root privileges and it makes some assumptions like not having any other loop devices in use. You only need to execute this script if you need more than a .zip package. The script produces an .img package and also its bzip2 and xz compressed versions.
32
+
33
+
-`buildroot.sh` - Builds the installer SD card image, it requires
34
+
root privileges and it makes some assumptions like not having any
35
+
other loop devices in use. You only need to execute this script if
36
+
you need more than a .zip package. The script produces an .img
37
+
package and then its bzip2 and xz compressed versions, but this is
38
+
configurable (see below).
30
39
31
40
To set build options, create a file named `build.conf`, which contains the appropriate variable settings. Supported variables are:
32
41
33
42
-`mirror_raspbian_cache` - Sets a apt caching proxy for the raspbian.org repository. (e.g. "192.168.0.1:3142")
34
43
-`mirror_raspberrypi_cache` - Sets a apt caching proxy for the raspberrypi.org repository. (e.g. "192.168.0.1:3142")
44
+
45
+
To set buildroot options, create a file named `buildroot.conf`, which contains the appropriate variable settings. Supported variables are:
46
+
47
+
-`compress_bz2=1` - create a bz2-compressed image
48
+
-`compress_xz=1` - create a xz-compressed image
49
+
50
+
By default both bzip2 and xz compressed versions of the image will be created and the uncompressed image will deleted, but either or both can be disabled. If both are disabled, the uncompressed image will be left in place.
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,22 +30,22 @@ The installer with the default settings configures eth0 with DHCP to get interne
30
30
31
31
### Features
32
32
33
-
- completely unattended, you only need a working internet connection through the ethernet port or use the onboard wireless LAN (supported on model 3B and 0W)
33
+
- completely unattended, you only need a working internet connection through the ethernet port or use the onboard wireless LAN (supported on model 3B, 3B+ and 0W)
34
34
- DHCP and static IP configuration (DHCP is the default)
35
35
- always installs the latest version of Raspbian
36
36
- configurable default settings
37
37
- extra configuration over HTTP possible - gives unlimited flexibility
38
38
- installation takes about **20 minutes** with fast internet from power on to sshd running
39
39
- can fit on a 512MB SD card, but 1GB is more reasonable
40
-
- default installation includes `fake-hwclock` to save time on shutdown
40
+
- default installation includes `fake-hwclock` to save the current time at shutdown
41
41
- default installation includes NTP to keep time
42
42
-`/tmp` is mounted as tmpfs to improve speed
43
43
- no clutter included, you only get the bare essential packages
44
44
- option to install root to a USB drive
45
45
46
46
## Requirements
47
47
48
-
- a Raspberry Pi (from model 1B up to 3B or Zero including Zero W)
48
+
- a Raspberry Pi (from model 1B up to 3B, 3B+ or Zero including Zero W)
49
49
- SD card with at least 1GB, or at least 128MB for USB root install (without customization)
50
50
- ethernet or wireless LAN with a working internet connection
51
51
@@ -74,7 +74,7 @@ If you don't have a display attached, you can monitor the ethernet card LEDs to
74
74
75
75
If the installation process fails, you will see **SOS** in Morse code (... --- ...) on an led. In this case, power off the Pi and check the log on the sd card.
76
76
77
-
If you do have a display, you can follow the progress and catch any possible errors in the default configuration or your own modifications.
77
+
If you do have a display, you can follow the progress and catch any possible errors in the default configuration or your own modifications. Once a network connection has been established, the process can also be followed via telnet (port 23).
78
78
79
79
If you have a serial cable connected, installer output can be followed there, too. If 'console=tty1' at then end of the `cmdline.txt` file is removed, you have access to the console in case of problems.
80
80
@@ -137,7 +137,7 @@ The default **root** password is **raspbian**.
137
137
- Configure your timezone: `dpkg-reconfigure tzdata`
138
138
139
139
Optional:
140
-
Create a swap file with `fallocate -l 512M /swap && mkswap /swap && chmod 600 /swap` (example is 512MB) and enable it on boot by appending `/swap none swap sw 0 0` to `/etc/fstab`.
140
+
Create a swap file with `dd if=/dev/zero of=/swap bs=1M count=512 && chmod 600 /swap && mkswap /swap` (example is 512MB) and enable it on boot by appending `/swap none swap sw 0 0` to `/etc/fstab`.
|`gpu_mem`||| Specifies the amount of RAM in MB that should be reserved for the GPU. To allow the VideoCore GPU kernel driver to be loaded correctly, you should use at least "32". If not defined, the bootloader sets it to 64MB. The minimum value is "16". |
99
+
|`gpu_mem`|`16`|| Specifies the amount of RAM in MB that should be reserved for the GPU. To allow the VideoCore GPU kernel driver to be loaded correctly, you should use at least "32". If not defined, the bootloader sets it to 64MB. The minimum value is "16". |
100
100
|`console_blank`||| Sets console blanking timeout (screensaver) in seconds. Default kernel setting is 10 minutes (`600`). The value `0` disables the blanking completely. |
101
101
|`hdmi_type`||`tv`/ `monitor`| Forces HDMI mode and disables automatic display identification. Choose between TV or monitor mode and specify the resolution with the options below. If not defined, the automatic display setting is used to determine the information sent by the display. |
102
102
|`hdmi_tv_res`|`1080p`|`720p`/ `1080i`/ `1080p`| Specifies the display resolution if `hdmi_type` is set to TV mode. |
@@ -126,9 +126,8 @@
126
126
|`cleanup`|`0`|`0`/`1`| Remove installer files after success. To also remove log files, note the option below. |
127
127
|`cleanup_logfiles`|`0`|`0`/`1`| Removes installer log files after success. |
0 commit comments