##// END OF EJS Templates
Fixed formatting issues
drtyhlpr -
r170:1a450ad8c5d0
parent child
Show More
@@ -23,7 +23,7 apt-get update
23 ## Command-line parameters
23 ## Command-line parameters
24 The script accepts certain command-line parameters to enable or disable specific OS features, services and configuration settings. These parameters are passed to the `rpi23-gen-image.sh` script via (simple) shell-variables. Unlike environment shell-variables (simple) shell-variables are defined at the beginning of the command-line call of the `rpi23-gen-image.sh` script.
24 The script accepts certain command-line parameters to enable or disable specific OS features, services and configuration settings. These parameters are passed to the `rpi23-gen-image.sh` script via (simple) shell-variables. Unlike environment shell-variables (simple) shell-variables are defined at the beginning of the command-line call of the `rpi23-gen-image.sh` script.
25
25
26 #####Command-line examples:
26 ##### Command-line examples:
27 ```shell
27 ```shell
28 ENABLE_UBOOT=true ./rpi23-gen-image.sh
28 ENABLE_UBOOT=true ./rpi23-gen-image.sh
29 ENABLE_CONSOLE=false ENABLE_IPV6=false ./rpi23-gen-image.sh
29 ENABLE_CONSOLE=false ENABLE_IPV6=false ./rpi23-gen-image.sh
@@ -43,7 +43,7 RELEASE=stretch RPI_MODEL=3 ENABLE_WIRELESS=true ENABLE_MINBASE=true BUILD_KERNE
43 ## Configuration template files
43 ## Configuration template files
44 To avoid long lists of command-line parameters and to help to store the favourite parameter configurations the `rpi23-gen-image.sh` script supports so called configuration template files (`CONFIG_TEMPLATE`=template). These are simple text files located in the `./templates` directory that contain the list of configuration parameters that will be used. New configuration template files can be added to the `./templates` directory.
44 To avoid long lists of command-line parameters and to help to store the favourite parameter configurations the `rpi23-gen-image.sh` script supports so called configuration template files (`CONFIG_TEMPLATE`=template). These are simple text files located in the `./templates` directory that contain the list of configuration parameters that will be used. New configuration template files can be added to the `./templates` directory.
45
45
46 #####Command-line examples:
46 ##### Command-line examples:
47 ```shell
47 ```shell
48 CONFIG_TEMPLATE=rpi3stretch ./rpi23-gen-image.sh
48 CONFIG_TEMPLATE=rpi3stretch ./rpi23-gen-image.sh
49 CONFIG_TEMPLATE=rpi2stretch ./rpi23-gen-image.sh
49 CONFIG_TEMPLATE=rpi2stretch ./rpi23-gen-image.sh
@@ -92,7 +92,7 Expand the root partition and filesystem automatically on first boot.
92
92
93 ---
93 ---
94
94
95 #### Keyboard settings:
95 #### Keyboard settings:
96 These options are used to configure keyboard layout in `/etc/default/keyboard` for console and Xorg. These settings can also be changed inside the running OS using the `dpkg-reconfigure keyboard-configuration` command.
96 These options are used to configure keyboard layout in `/etc/default/keyboard` for console and Xorg. These settings can also be changed inside the running OS using the `dpkg-reconfigure keyboard-configuration` command.
97
97
98 ##### `XKB_MODEL`=""
98 ##### `XKB_MODEL`=""
@@ -112,7 +112,7 Set extra xkb configuration options.
112 #### Networking settings (DHCP):
112 #### Networking settings (DHCP):
113 This parameter is used to set up networking auto configuration in `/etc/systemd/network/eth.network`. The default location of network configuration files in the Debian `stretch` release was changed to `/lib/systemd/network`.`
113 This parameter is used to set up networking auto configuration in `/etc/systemd/network/eth.network`. The default location of network configuration files in the Debian `stretch` release was changed to `/lib/systemd/network`.`
114
114
115 #####`ENABLE_DHCP`=true
115 ##### `ENABLE_DHCP`=true
116 Set the system to use DHCP. This requires an DHCP server.
116 Set the system to use DHCP. This requires an DHCP server.
117
117
118 ---
118 ---
@@ -120,25 +120,25 Set the system to use DHCP. This requires an DHCP server.
120 #### Networking settings (static):
120 #### Networking settings (static):
121 These parameters are used to set up a static networking configuration in `/etc/systemd/network/eth.network`. The following static networking parameters are only supported if `ENABLE_DHCP` was set to `false`. The default location of network configuration files in the Debian `stretch` release was changed to `/lib/systemd/network`.
121 These parameters are used to set up a static networking configuration in `/etc/systemd/network/eth.network`. The following static networking parameters are only supported if `ENABLE_DHCP` was set to `false`. The default location of network configuration files in the Debian `stretch` release was changed to `/lib/systemd/network`.
122
122
123 #####`NET_ADDRESS`=""
123 ##### `NET_ADDRESS`=""
124 Set a static IPv4 or IPv6 address and its prefix, separated by "/", eg. "192.169.0.3/24".
124 Set a static IPv4 or IPv6 address and its prefix, separated by "/", eg. "192.169.0.3/24".
125
125
126 #####`NET_GATEWAY`=""
126 ##### `NET_GATEWAY`=""
127 Set the IP address for the default gateway.
127 Set the IP address for the default gateway.
128
128
129 #####`NET_DNS_1`=""
129 ##### `NET_DNS_1`=""
130 Set the IP address for the first DNS server.
130 Set the IP address for the first DNS server.
131
131
132 #####`NET_DNS_2`=""
132 ##### `NET_DNS_2`=""
133 Set the IP address for the second DNS server.
133 Set the IP address for the second DNS server.
134
134
135 #####`NET_DNS_DOMAINS`=""
135 ##### `NET_DNS_DOMAINS`=""
136 Set the default DNS search domains to use for non fully qualified host names.
136 Set the default DNS search domains to use for non fully qualified host names.
137
137
138 #####`NET_NTP_1`=""
138 ##### `NET_NTP_1`=""
139 Set the IP address for the first NTP server.
139 Set the IP address for the first NTP server.
140
140
141 #####`NET_NTP_2`=""
141 ##### `NET_NTP_2`=""
142 Set the IP address for the second NTP server.
142 Set the IP address for the second NTP server.
143
143
144 ---
144 ---
@@ -423,7 +423,7 script -c 'APT_SERVER=ftp.de.debian.org ./rpi23-gen-image.sh' ./build.log
423 ## Flashing the image file
423 ## Flashing the image file
424 After the image file was successfully created by the `rpi23-gen-image.sh` script it can be copied to the microSD card that will be used by the RPi2/3 computer. This can be performed by using the tools `bmaptool` or `dd`. Using `bmaptool` will probably speed-up the copy process because `bmaptool` copies more wisely than `dd`.
424 After the image file was successfully created by the `rpi23-gen-image.sh` script it can be copied to the microSD card that will be used by the RPi2/3 computer. This can be performed by using the tools `bmaptool` or `dd`. Using `bmaptool` will probably speed-up the copy process because `bmaptool` copies more wisely than `dd`.
425
425
426 #####Flashing examples:
426 ##### Flashing examples:
427 ```shell
427 ```shell
428 bmaptool copy ./images/jessie/2017-01-23-rpi3-jessie.img /dev/mmcblk0
428 bmaptool copy ./images/jessie/2017-01-23-rpi3-jessie.img /dev/mmcblk0
429 dd bs=4M if=./images/jessie/2017-01-23-rpi3-jessie.img of=/dev/mmcblk0
429 dd bs=4M if=./images/jessie/2017-01-23-rpi3-jessie.img of=/dev/mmcblk0
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant