1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -0,0 +1,22 | |||||
|
1 | ## Templates used at IFÉ ENS de Lyon for "Tremplin des sciences" project | |||
|
2 | ||||
|
3 | These templates have been used to create Raspberry Pi images for the | |||
|
4 | project "Climate and meteorolgy springboard for teaching sciences". | |||
|
5 | These images are tuned andused as explained in the | |||
|
6 | [blog](http://blog.climatetmeteo.fr/GerardVidal/) (mostly in french | |||
|
7 | but under translation). | |||
|
8 | ||||
|
9 | The aim is to share with teachers a Raspberry Pi3 binary image providing software resources to use commercial weatherstations or DIY weathersystems made with various sensors. The following images have been built : | |||
|
10 | ||||
|
11 | * raspife2-stretch Debian stretch image for raspi 2 | |||
|
12 | * raspife3-jessie Debian jessie image for raspi 3 | |||
|
13 | * raspife3-stretch Debian stretch image for raspi 3 | |||
|
14 | * raspife3W-stretch Debian stretch image for raspi 3 with single IPAddress and weewx service | |||
|
15 | * raspife3-buster Debian buster image for raspi 3 | |||
|
16 | ||||
|
17 | In these images language ichoosen is french and can easily be changed. | |||
|
18 | Pathes and other variables are the ones that have been used during | |||
|
19 | execution and personnal data are replaced by "*******", change the | |||
|
20 | values according to your needs. | |||
|
21 | ||||
|
22 |
@@ -0,0 +1,106 | |||||
|
1 | # Configuration file raspi3 Buster IFÉ 2017/11/01 | |||
|
2 | # | |||
|
3 | APT_SERVER=debian.mirrors.ovh.net | |||
|
4 | APT_INCLUDES="" | |||
|
5 | APT_INCLUDES_LATE="" | |||
|
6 | APT_INCLUDES_LATE="gnupg,firmware-linux-nonfree,firmware-linux,dh-autoreconf,\ | |||
|
7 | gettext,build-essential,git,cmake,libjson-c-dev,unzip,usbutils,\ | |||
|
8 | bison,libboost-all-dev,automake,autoconf,autogen,libtool,libtool-bin,\ | |||
|
9 | pkg-config,checkinstall,menulibre,libnotify-bin,pandoc,\ | |||
|
10 | python3,python3-dev,python3-pypandoc,python3-scipy,python3-tk,python3-pandocfilters,\ | |||
|
11 | python3-geopy,python3-pip,\ | |||
|
12 | python,python-dev,python-pypandoc,python-scipy,python-tk,python-pandocfilters,\ | |||
|
13 | python-geopy,python-pip,python-tk,pandoc,\ | |||
|
14 | python-configobj,python-cheetah,python-imaging,python-serial,python-usb,\ | |||
|
15 | pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,i2c-tools,python-smbus,policykit-1,\ | |||
|
16 | pmount,ntpdate,ntp,rsync,\ | |||
|
17 | texlive,texlive-xetex,nginx-extras,ffmpeg,wicd,wicd-gtk,console-data,keyboard-configuration,\ | |||
|
18 | libqtwebkit-dev,libqt5webkit5-dev,\ | |||
|
19 | libudev-dev,libzzip-dev,zlib1g-dev,libcanberra-gtk-module,libnss-myhostname,libfreetype6-dev,libpng16-16,\ | |||
|
20 | nmap,libltdl-dev,dbus-user-session,debian-archive-keyring,\ | |||
|
21 | xutils-dev,lxsession,openbox-lxde-session,lxde,x11proto-randr-dev,lxrandr,\ | |||
|
22 | tightvncserver,geany,geany-plugin-py,firefox-esr,firefox-esr-l10n-fr,jed" | |||
|
23 | #ca-certificates-java,icedtea-plugin,icedtea-netx,\ | |||
|
24 | #openjdk-8-jdk,openjdk-8-jre,openjdk-8-jre-headless,\ | |||
|
25 | #openjdk-9-jdk,openjdk-9-jre,openjdk-9-jre-headless" | |||
|
26 | #---------------------- | |||
|
27 | RPI_MODEL=3 | |||
|
28 | RELEASE=buster | |||
|
29 | RELEASE_ARCH="armhf" | |||
|
30 | HOSTNAME="raspife3" | |||
|
31 | PASSWORD="AChanger1$" | |||
|
32 | USER_PASSWORD="AChanger1$" | |||
|
33 | DEFLOCAL="fr_FR.UTF-8" | |||
|
34 | TIMEZONE="Europe/Paris" | |||
|
35 | EXPANDROOT=false | |||
|
36 | #----------------------- | |||
|
37 | XKB_MODEL="pc105" | |||
|
38 | XKB_LAYOUT="fr" | |||
|
39 | XKB_VARIANT="latin9" | |||
|
40 | XKB_OPTIONS="" | |||
|
41 | #------------------------ | |||
|
42 | ENABLE_DHCP=true | |||
|
43 | #------------------------ | |||
|
44 | ENABLE_CONSOLE=false | |||
|
45 | ENABLE_I2C=true | |||
|
46 | ENABLE_SPI=true | |||
|
47 | ENABLE_IPV6=true | |||
|
48 | ENABLE_SSHD=true | |||
|
49 | ENABLE_NONFREE=true | |||
|
50 | ENABLE_WIRELESS=true | |||
|
51 | ENABLE_RSYSLOG=true | |||
|
52 | ENABLE_SOUND=true | |||
|
53 | ENABLE_HWRANDOM=true | |||
|
54 | ENABLE_MINGPU=true | |||
|
55 | ENABLE_DBUS=true | |||
|
56 | ENABLE_XORG=true | |||
|
57 | ENABLE_WM="lxdm" | |||
|
58 | #------------------------ | |||
|
59 | ENABLE_MINBASE=false | |||
|
60 | ENABLE_REDUCE=false | |||
|
61 | ENABLE_UBOOT=false | |||
|
62 | ENABLE_FBTURBO=true | |||
|
63 | ENABLE_IPTABLES=false | |||
|
64 | ENABLE_USER=true | |||
|
65 | USER_NAME=ens-ife | |||
|
66 | ENABLE_ROOT=true | |||
|
67 | ENABLE_HARDNET=true | |||
|
68 | ENABLE_INITRAMFS=true | |||
|
69 | ENABLE_IFNAMES=true | |||
|
70 | #------------------------ | |||
|
71 | ENABLE_ROOT_SSH=false | |||
|
72 | SSH_LIMIT_USERS=false | |||
|
73 | SSH_ROOT_PUB_KEY="/home/vidal/.ssh/authorized_keys" | |||
|
74 | SSH_USER_PUB_KEY="/home/vidal/.ssh/authorized_keys" | |||
|
75 | #------------------------ | |||
|
76 | BUILD_KERNEL=true | |||
|
77 | KERNEL_ARCH=arm64 | |||
|
78 | RELEASE_ARCH=arm64 | |||
|
79 | CROSS_COMPILE=aarch64-linux-gnu- | |||
|
80 | QEMU_BINARY=/usr/bin/qemu-aarch64-static | |||
|
81 | KERNEL_DEFCONFIG=bcmrpi3_defconfig | |||
|
82 | KERNEL_BIN_IMAGE=Image | |||
|
83 | KERNEL_IMAGE="kernel10.img" | |||
|
84 | KERNEL_BRANCH=rpi-4.13.y | |||
|
85 | KERNEL_REDUCE=false | |||
|
86 | KERNEL_HEADERS=true | |||
|
87 | KERNEL_REMOVESRC=true | |||
|
88 | KERNELSRC_CLEAN=true | |||
|
89 | KERNELSRC_CONFIG=true | |||
|
90 | #------------------------ | |||
|
91 | REDUCE_APT=false | |||
|
92 | REDUCE_DOC=true | |||
|
93 | REDUCE_MAN=false | |||
|
94 | REDUCE_HWDB=true | |||
|
95 | REDUCE_BASH=false | |||
|
96 | REDUCE_SSHD=false | |||
|
97 | REDUCE_LOCALE=false | |||
|
98 | #------------------------- | |||
|
99 | ENABLE_CRYPTFS=false | |||
|
100 | #------------------------- | |||
|
101 | BASEDIR=/data/RpiGenImage/Images/${RELEASE} | |||
|
102 | #BASEDIR=/media/vidal/ExternGV/Nano-Ordinateurs/RaspberryPi/RpiGenImage/Images/${RELEASE} | |||
|
103 | DATE=`date +%Y-%m-%d` | |||
|
104 | IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE} | |||
|
105 | ||||
|
106 |
@@ -0,0 +1,148 | |||||
|
1 | # | |||
|
2 | # Configuration file raspi3 Buster IFÉ 2020/11/01 | |||
|
3 | # | |||
|
4 | #--------------------- | |||
|
5 | #--- APT settings ---- | |||
|
6 | #--------------------- | |||
|
7 | APT_SERVER=ftp.fr.debian.org | |||
|
8 | APT_INCLUDES="jed terminator nginx curl wget htop" | |||
|
9 | APT_INCLUDES_LATE="pcre2-utils libpcre3-dev \ | |||
|
10 | openjdk-11-jdk openjdk-11-jre openjdk-11-jdk-headless openjdk-11-jre-headless \ | |||
|
11 | libpython3-all-dev bison byacc python-pip python3-pip python-pkgconfig python3-pkgconfig \ | |||
|
12 | python3-netcdf4 python-netcdf4 python-libxml2 libxslt1-dev python-libxslt1 \ | |||
|
13 | libxml2 libjavascriptcoregtk-4.0-dev \ | |||
|
14 | libffi-dev screen sqlite3 libsqlite3-dev liblua5.3-dev doxygen libftdi-dev \ | |||
|
15 | libconfuse-dev libcereal-dev libopenblas-dev libnetcdf-dev libhdf5-dev \ | |||
|
16 | git lxdm pcmanfm-qt libffi-dev tightvncserver \ | |||
|
17 | libssl-dev python-openssl python3-openssl libcrypto++-dev \ | |||
|
18 | mate-backgrounds gnome-backgrounds \ | |||
|
19 | fcgiwrap automake libtool libboost1.67-dev \ | |||
|
20 | php-fpm libfcgi-dev php7.3-mysql icedtea-netx \ | |||
|
21 | tigervnc-standalone-server tigervnc-common \ | |||
|
22 | docker.io openvswitch-switch wireshark imagemagick tk tcllib util-linux \ | |||
|
23 | xfonts-base fonts-liberation gsfonts libxfont-dev libfontenc-dev \ | |||
|
24 | ttf-mscorefonts-installer xfonts-100dpi xfonts-75dpi xfonts-base \ | |||
|
25 | xfonts-utils" | |||
|
26 | #------------------------------- | |||
|
27 | #--- General System Settings --- | |||
|
28 | #------------------------------- | |||
|
29 | SET_ARCH=32 | |||
|
30 | RPI_MODEL=3 | |||
|
31 | RELEASE="buster" | |||
|
32 | HOSTNAME="raspife3" | |||
|
33 | DEFLOCAL="fr_FR.UTF-8" | |||
|
34 | TIMEZONE="Europe/Paris" | |||
|
35 | EXPANDROOT=false | |||
|
36 | #--------------------- | |||
|
37 | #--- User Settings --- | |||
|
38 | #--------------------- | |||
|
39 | ENABLE_ROOT=false | |||
|
40 | ROOT_PASSWORD="Achanger1$" | |||
|
41 | ENABLE_USER=true | |||
|
42 | USER_NAME=ens-ife | |||
|
43 | USER_PASSWORD="AChanger1$" | |||
|
44 | #------------------------- | |||
|
45 | #--- Keyboard Settings --- | |||
|
46 | #------------------------- | |||
|
47 | XKB_MODEL="pc105" | |||
|
48 | XKB_LAYOUT="fr" | |||
|
49 | XKB_VARIANT="latin9" | |||
|
50 | XKB_OPTIONS="" | |||
|
51 | #------------------------ | |||
|
52 | #--- Network Settings --- | |||
|
53 | #------------------------ | |||
|
54 | ENABLE_IPV6=true | |||
|
55 | ENABLE_WIRELESS=true | |||
|
56 | ENABLE_IPTABLES=false | |||
|
57 | ENABLE_IFNAMES=true | |||
|
58 | ENABLE_HARDNET=true | |||
|
59 | ENABLE_ETH_DHCP=true | |||
|
60 | ENABLE_WIFI_DHCP=true | |||
|
61 | NET_WIFI_SSID=MobileClimatEtMeteo | |||
|
62 | NET_WIFI_PSK=ClimatEtMeteo | |||
|
63 | #--------------------- | |||
|
64 | #--- Basic features--- | |||
|
65 | #--------------------- | |||
|
66 | ENABLE_CONSOLE=false | |||
|
67 | ENABLE_BLUETOOTH=false | |||
|
68 | ENABLE_MINIUART_OVERLAY=false | |||
|
69 | ENABLE_TURBO=false | |||
|
70 | ENABLE_I2C=true | |||
|
71 | ENABLE_SPI=true | |||
|
72 | SSH_ENABLE=true | |||
|
73 | ENABLE_NONFREE=true | |||
|
74 | ENABLE_RSYSLOG=true | |||
|
75 | ENABLE_SOUND=true | |||
|
76 | ENABLE_HWRANDOM=true | |||
|
77 | ENABLE_MINGPU=true | |||
|
78 | ENABLE_XORG=true | |||
|
79 | ENABLE_WM="lxqt" | |||
|
80 | ENABLE_SYSVINIT=true | |||
|
81 | ENABLE_SPLASH=true | |||
|
82 | ENABLE_LOGO=true | |||
|
83 | ENABLE_SILENT_BOOT=false | |||
|
84 | #-------------------------------- | |||
|
85 | #--- Advanced System features --- | |||
|
86 | #-------------------------------- | |||
|
87 | ENABLE_DPHYSSWAP=false | |||
|
88 | ENABLE_QEMU=false | |||
|
89 | ENABLE_MINBASE=false | |||
|
90 | ENABLE_SPLITFS=false | |||
|
91 | ENABLE_INITRAMFS=true | |||
|
92 | ENABLE_DBUS=true | |||
|
93 | ENABLE_USBBOOT=false | |||
|
94 | ENABLE_UBOOT=false | |||
|
95 | ENABLE_FBTURBO=true | |||
|
96 | ENABLE_VIDEOCORE=true | |||
|
97 | ENABLE_NEXMON=false | |||
|
98 | #-------------------- | |||
|
99 | #--- ssh settings --- | |||
|
100 | #-------------------- | |||
|
101 | SSH_ENABLE_ROOT=false | |||
|
102 | SSH_DISABLE_PASSWORD_AUTH=false | |||
|
103 | SSH_LIMIT_USERS=false | |||
|
104 | SSH_ROOT_PUB_KEY="/home/vidal/.ssh/authorized_keys" | |||
|
105 | SSH_USER_PUB_KEY="/home/vidal/.ssh/authorized_keys" | |||
|
106 | #----------------------- | |||
|
107 | #--- Kernel settings --- | |||
|
108 | #----------------------- | |||
|
109 | BUILD_KERNEL=true | |||
|
110 | KERNEL_BRANCH=rpi-4.19.y | |||
|
111 | KERNEL_REDUCE=false | |||
|
112 | KERNEL_HEADERS=true | |||
|
113 | KERNEL_MENUCONFIG=false | |||
|
114 | KERNEL_CCACHE=true | |||
|
115 | KERNEL_REMOVESRC=true | |||
|
116 | KERNELSRC_CLEAN=true | |||
|
117 | KERNELSRC_CONFIG=true | |||
|
118 | KERNEL_DEFAULT_GOV=ondemand | |||
|
119 | KERNEL_VIRT=false | |||
|
120 | KERNEL_SECURITY=false | |||
|
121 | KERNEL_DHKEY=true | |||
|
122 | #------------------------ | |||
|
123 | #--- Reduce disk usage -- | |||
|
124 | #------------------------ | |||
|
125 | ENABLE_REDUCE=false | |||
|
126 | REDUCE_APT=false | |||
|
127 | REDUCE_DOC=true | |||
|
128 | REDUCE_MAN=false | |||
|
129 | REDUCE_VIM=false | |||
|
130 | REDUCE_BASH=false | |||
|
131 | REDUCE_HWDB=false | |||
|
132 | REDUCE_BASH=false | |||
|
133 | REDUCE_SSHD=false | |||
|
134 | REDUCE_LOCALE=false | |||
|
135 | REDUCE_KERNEL=false | |||
|
136 | #-------------------------------- | |||
|
137 | #--- Encrypted root partition --- | |||
|
138 | #-------------------------------- | |||
|
139 | ENABLE_CRYPTFS=false | |||
|
140 | #---------------------- | |||
|
141 | #--- Build settings --- | |||
|
142 | #---------------------- | |||
|
143 | BASEDIR=/data/RpiGenImage/Images/${RELEASE} | |||
|
144 | #BASEDIR=/media/*******/*********/Nano-Ordinateurs/RaspberryPi/RpiGenImage/Images/${RELEASE} | |||
|
145 | DATE=`date +%Y-%m-%d` | |||
|
146 | IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE} | |||
|
147 | ||||
|
148 |
@@ -0,0 +1,148 | |||||
|
1 | # | |||
|
2 | # Configuration file raspi3 Buster IFÉ 2020/11/01 | |||
|
3 | # | |||
|
4 | #--------------------- | |||
|
5 | #--- APT settings ---- | |||
|
6 | #--------------------- | |||
|
7 | APT_SERVER=ftp.fr.debian.org | |||
|
8 | APT_INCLUDES="jed terminator nginx curl wget htop" | |||
|
9 | APT_INCLUDES_LATE="pcre2-utils libpcre3-dev \ | |||
|
10 | openjdk-11-jdk openjdk-11-jre openjdk-11-jdk-headless openjdk-11-jre-headless \ | |||
|
11 | libpython3-all-dev bison byacc python-pip python3-pip python-pkgconfig python3-pkgconfig \ | |||
|
12 | python3-netcdf4 python-netcdf4 python-libxml2 libxslt1-dev python-libxslt1 \ | |||
|
13 | libxml2 libjavascriptcoregtk-4.0-dev \ | |||
|
14 | libffi-dev screen sqlite3 libsqlite3-dev liblua5.3-dev doxygen libftdi-dev \ | |||
|
15 | libconfuse-dev libcereal-dev libopenblas-dev libnetcdf-dev libhdf5-dev \ | |||
|
16 | git lxdm pcmanfm-qt libffi-dev tightvncserver \ | |||
|
17 | libssl-dev python-openssl python3-openssl libcrypto++-dev \ | |||
|
18 | mate-backgrounds gnome-backgrounds \ | |||
|
19 | fcgiwrap automake libtool libboost1.67-dev \ | |||
|
20 | php-fpm libfcgi-dev php7.3-mysql icedtea-netx \ | |||
|
21 | tigervnc-standalone-server tigervnc-common \ | |||
|
22 | docker.io openvswitch-switch wireshark imagemagick tk tcllib util-linux \ | |||
|
23 | xfonts-base fonts-liberation gsfonts libxfont-dev libfontenc-dev \ | |||
|
24 | ttf-mscorefonts-installer xfonts-100dpi xfonts-75dpi xfonts-base \ | |||
|
25 | xfonts-utils" | |||
|
26 | #------------------------------- | |||
|
27 | #--- General System Settings --- | |||
|
28 | #------------------------------- | |||
|
29 | SET_ARCH=32 | |||
|
30 | RPI_MODEL=3P | |||
|
31 | RELEASE="buster" | |||
|
32 | HOSTNAME="raspife3P" | |||
|
33 | DEFLOCAL="fr_FR.UTF-8" | |||
|
34 | TIMEZONE="Europe/Paris" | |||
|
35 | EXPANDROOT=false | |||
|
36 | #--------------------- | |||
|
37 | #--- User Settings --- | |||
|
38 | #--------------------- | |||
|
39 | ENABLE_ROOT=false | |||
|
40 | ROOT_PASSWORD="Achanger1$" | |||
|
41 | ENABLE_USER=true | |||
|
42 | USER_NAME=ens-ife | |||
|
43 | USER_PASSWORD="AChanger1$" | |||
|
44 | #------------------------- | |||
|
45 | #--- Keyboard Settings --- | |||
|
46 | #------------------------- | |||
|
47 | XKB_MODEL="pc105" | |||
|
48 | XKB_LAYOUT="fr" | |||
|
49 | XKB_VARIANT="latin9" | |||
|
50 | XKB_OPTIONS="" | |||
|
51 | #------------------------ | |||
|
52 | #--- Network Settings --- | |||
|
53 | #------------------------ | |||
|
54 | ENABLE_IPV6=true | |||
|
55 | ENABLE_WIRELESS=true | |||
|
56 | ENABLE_IPTABLES=false | |||
|
57 | ENABLE_IFNAMES=true | |||
|
58 | ENABLE_HARDNET=true | |||
|
59 | ENABLE_ETH_DHCP=true | |||
|
60 | ENABLE_WIFI_DHCP=true | |||
|
61 | NET_WIFI_SSID=MobileClimatEtMeteo | |||
|
62 | NET_WIFI_PSK=ClimatEtMeteo | |||
|
63 | #--------------------- | |||
|
64 | #--- Basic features--- | |||
|
65 | #--------------------- | |||
|
66 | ENABLE_CONSOLE=false | |||
|
67 | ENABLE_BLUETOOTH=false | |||
|
68 | ENABLE_MINIUART_OVERLAY=false | |||
|
69 | ENABLE_TURBO=false | |||
|
70 | ENABLE_I2C=true | |||
|
71 | ENABLE_SPI=true | |||
|
72 | SSH_ENABLE=true | |||
|
73 | ENABLE_NONFREE=true | |||
|
74 | ENABLE_RSYSLOG=true | |||
|
75 | ENABLE_SOUND=true | |||
|
76 | ENABLE_HWRANDOM=true | |||
|
77 | ENABLE_MINGPU=true | |||
|
78 | ENABLE_XORG=true | |||
|
79 | ENABLE_WM="lxqt" | |||
|
80 | ENABLE_SYSVINIT=true | |||
|
81 | ENABLE_SPLASH=true | |||
|
82 | ENABLE_LOGO=true | |||
|
83 | ENABLE_SILENT_BOOT=false | |||
|
84 | #-------------------------------- | |||
|
85 | #--- Advanced System features --- | |||
|
86 | #-------------------------------- | |||
|
87 | ENABLE_DPHYSSWAP=false | |||
|
88 | ENABLE_QEMU=false | |||
|
89 | ENABLE_MINBASE=false | |||
|
90 | ENABLE_SPLITFS=false | |||
|
91 | ENABLE_INITRAMFS=true | |||
|
92 | ENABLE_DBUS=true | |||
|
93 | ENABLE_USBBOOT=false | |||
|
94 | ENABLE_UBOOT=false | |||
|
95 | ENABLE_FBTURBO=true | |||
|
96 | ENABLE_VIDEOCORE=true | |||
|
97 | ENABLE_NEXMON=false | |||
|
98 | #-------------------- | |||
|
99 | #--- ssh settings --- | |||
|
100 | #-------------------- | |||
|
101 | SSH_ENABLE_ROOT=false | |||
|
102 | SSH_DISABLE_PASSWORD_AUTH=false | |||
|
103 | SSH_LIMIT_USERS=false | |||
|
104 | SSH_ROOT_PUB_KEY="/home/vidal/.ssh/authorized_keys" | |||
|
105 | SSH_USER_PUB_KEY="/home/vidal/.ssh/authorized_keys" | |||
|
106 | #----------------------- | |||
|
107 | #--- Kernel settings --- | |||
|
108 | #----------------------- | |||
|
109 | BUILD_KERNEL=true | |||
|
110 | KERNEL_BRANCH=rpi-4.19.y | |||
|
111 | KERNEL_REDUCE=false | |||
|
112 | KERNEL_HEADERS=true | |||
|
113 | KERNEL_MENUCONFIG=false | |||
|
114 | KERNEL_CCACHE=true | |||
|
115 | KERNEL_REMOVESRC=true | |||
|
116 | KERNELSRC_CLEAN=true | |||
|
117 | KERNELSRC_CONFIG=true | |||
|
118 | KERNEL_DEFAULT_GOV=ondemand | |||
|
119 | KERNEL_VIRT=false | |||
|
120 | KERNEL_SECURITY=false | |||
|
121 | KERNEL_DHKEY=true | |||
|
122 | #------------------------ | |||
|
123 | #--- Reduce disk usage -- | |||
|
124 | #------------------------ | |||
|
125 | ENABLE_REDUCE=false | |||
|
126 | REDUCE_APT=false | |||
|
127 | REDUCE_DOC=true | |||
|
128 | REDUCE_MAN=false | |||
|
129 | REDUCE_VIM=false | |||
|
130 | REDUCE_BASH=false | |||
|
131 | REDUCE_HWDB=false | |||
|
132 | REDUCE_BASH=false | |||
|
133 | REDUCE_SSHD=false | |||
|
134 | REDUCE_LOCALE=false | |||
|
135 | REDUCE_KERNEL=false | |||
|
136 | #-------------------------------- | |||
|
137 | #--- Encrypted root partition --- | |||
|
138 | #-------------------------------- | |||
|
139 | ENABLE_CRYPTFS=false | |||
|
140 | #---------------------- | |||
|
141 | #--- Build settings --- | |||
|
142 | #---------------------- | |||
|
143 | BASEDIR=/data/RpiGenImage/Images/${RELEASE} | |||
|
144 | #BASEDIR=/media/*******/*********/Nano-Ordinateurs/RaspberryPi/RpiGenImage/Images/${RELEASE} | |||
|
145 | DATE=`date +%Y-%m-%d` | |||
|
146 | IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE} | |||
|
147 | ||||
|
148 |
@@ -0,0 +1,89 | |||||
|
1 | # Configuration file raspi3 Stretch Weewx IFÉ 2017/07/26 | |||
|
2 | # | |||
|
3 | APT_SERVER=ftp.fr.debian.org | |||
|
4 | APT_INCLUDES="debian-archive-keyring,debian-keyring,automake,autoconf,autogen,gawk,gnupg,gnupg2,\ | |||
|
5 | build-essential,git,cmake,libjson-c-dev,unzip,\ | |||
|
6 | bison,libboost-all-dev,libtool,libtool-bin,pkg-config,checkinstall,libnotify-bin,pandoc,\ | |||
|
7 | python3,python3-dev,python,python-dev,python-configobj,python-cheetah,python-mysqldb\ | |||
|
8 | python-imaging,python-serial,python-usb,python-tk,python3-tk,python3-scipy,\ | |||
|
9 | python-pypandoc,python3-pypandoc,python-pandocfilters,python3-pandocfilters,\ | |||
|
10 | python-geopy,python3-geopy,python-pip,python3-pip,python-smbus,\ | |||
|
11 | libudev-dev,libzzip-dev,zlib1g-dev,libnss-myhostname,libpng16-16,nmap,\ | |||
|
12 | libltdl-dev,usbutils,pmount,ntpdate,texlive,texlive-xetex,nginx-extras,policykit-1,\ | |||
|
13 | openjdk-8-jdk-headless,openjdk-8-jre-headless,\ | |||
|
14 | pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,i2c-tools" | |||
|
15 | #---------------------- | |||
|
16 | RPI_MODEL=3 | |||
|
17 | RELEASE="stretch" | |||
|
18 | HOSTNAME="raspwife3" | |||
|
19 | PASSWORD="************" | |||
|
20 | USER_PASSWORD="************" | |||
|
21 | DEFLOCAL="fr_FR.UTF-8" | |||
|
22 | TIMEZONE="Europe/Paris" | |||
|
23 | EXPANDROOT=false | |||
|
24 | #----------------------- | |||
|
25 | XKB_MODEL="pc105" | |||
|
26 | XKB_LAYOUT="fr" | |||
|
27 | XKB_VARIANT="latin9" | |||
|
28 | XKB_OPTIONS="" | |||
|
29 | #------------------------ | |||
|
30 | ENABLE_DHCP=false | |||
|
31 | NET_ADDRESS="192.168.***.***/24" | |||
|
32 | NET_GATEWAY="192.168.***.1" | |||
|
33 | NET_DNS_1="192.168.***.1" | |||
|
34 | NET_DNS_2="8.8.8.8" | |||
|
35 | #------------------------ | |||
|
36 | ENABLE_CONSOLE=false | |||
|
37 | ENABLE_I2C=true | |||
|
38 | ENABLE_SPI=true | |||
|
39 | ENABLE_IPV6=true | |||
|
40 | ENABLE_SSHD=true | |||
|
41 | ENABLE_NONFREE=true | |||
|
42 | ENABLE_WIRELESS=true | |||
|
43 | ENABLE_RSYSLOG=true | |||
|
44 | ENABLE_SOUND=true | |||
|
45 | ENABLE_HWRANDOM=true | |||
|
46 | ENABLE_MINGPU=true | |||
|
47 | ENABLE_DBUS=true | |||
|
48 | ENABLE_XORG=false | |||
|
49 | ENABLE_WM="" | |||
|
50 | #------------------------ | |||
|
51 | ENABLE_MINBASE=false | |||
|
52 | ENABLE_REDUCE=false | |||
|
53 | ENABLE_UBOOT=false | |||
|
54 | ENABLE_FBTURBO=false | |||
|
55 | ENABLE_IPTABLES=false | |||
|
56 | ENABLE_USER=true | |||
|
57 | USER_NAME=ens-ife | |||
|
58 | ENABLE_ROOT=true | |||
|
59 | ENABLE_HARDNET=true | |||
|
60 | ENABLE_INITRAMFS=true | |||
|
61 | ENABLE_IFNAMES=true | |||
|
62 | #------------------------ | |||
|
63 | ENABLE_ROOT_SSH=false | |||
|
64 | SSH_LIMIT_USERS=false | |||
|
65 | SSH_ROOT_PUB_KEY="/home/*******/.ssh/authorized_keys" | |||
|
66 | SSH_USER_PUB_KEY="/home/*******/.ssh/authorized_keys" | |||
|
67 | #------------------------ | |||
|
68 | BUILD_KERNEL=true | |||
|
69 | KERNEL_REDUCE=false | |||
|
70 | KERNEL_HEADERS=true | |||
|
71 | KERNEL_REMOVESRC=true | |||
|
72 | KERNELSRC_CLEAN=true | |||
|
73 | KERNELSRC_CONFIG=true | |||
|
74 | #------------------------ | |||
|
75 | REDUCE_APT=false | |||
|
76 | REDUCE_DOC=true | |||
|
77 | REDUCE_MAN=false | |||
|
78 | REDUCE_HWDB=true | |||
|
79 | REDUCE_BASH=false | |||
|
80 | REDUCE_SSHD=false | |||
|
81 | REDUCE_LOCALE=false | |||
|
82 | #------------------------- | |||
|
83 | ENABLE_CRYPTFS=false | |||
|
84 | #------------------------- | |||
|
85 | BASEDIR=/data/RpiGenImage/Images/${RELEASE} | |||
|
86 | DATE=`date +%Y-%m-%d` | |||
|
87 | IMAGE_NAME=${BASEDIR}/${DATE}-rpiw${RPI_MODEL}-${RELEASE} | |||
|
88 | ||||
|
89 |
@@ -0,0 +1,148 | |||||
|
1 | # | |||
|
2 | # Configuration file raspi3 Buster IFÉ 2020/11/01 | |||
|
3 | # | |||
|
4 | #--------------------- | |||
|
5 | #--- APT settings ---- | |||
|
6 | #--------------------- | |||
|
7 | APT_SERVER=ftp.fr.debian.org | |||
|
8 | APT_INCLUDES="jed terminator nginx curl wget htop" | |||
|
9 | APT_INCLUDES_LATE="pcre2-utils libpcre3-dev \ | |||
|
10 | openjdk-11-jdk openjdk-11-jre openjdk-11-jdk-headless openjdk-11-jre-headless \ | |||
|
11 | libpython3-all-dev bison byacc python-pip python3-pip python-pkgconfig python3-pkgconfig \ | |||
|
12 | python3-netcdf4 python-netcdf4 python-libxml2 libxslt1-dev python-libxslt1 \ | |||
|
13 | libxml2 libjavascriptcoregtk-4.0-dev \ | |||
|
14 | libffi-dev screen sqlite3 libsqlite3-dev liblua5.3-dev doxygen libftdi-dev \ | |||
|
15 | libconfuse-dev libcereal-dev libopenblas-dev libnetcdf-dev libhdf5-dev \ | |||
|
16 | git lxdm pcmanfm-qt libffi-dev tightvncserver \ | |||
|
17 | libssl-dev python-openssl python3-openssl libcrypto++-dev \ | |||
|
18 | mate-backgrounds gnome-backgrounds \ | |||
|
19 | fcgiwrap automake libtool libboost1.67-dev \ | |||
|
20 | php-fpm libfcgi-dev php7.3-mysql icedtea-netx \ | |||
|
21 | tigervnc-standalone-server tigervnc-common \ | |||
|
22 | docker.io openvswitch-switch wireshark imagemagick tk tcllib util-linux \ | |||
|
23 | xfonts-base fonts-liberation gsfonts libxfont-dev libfontenc-dev \ | |||
|
24 | ttf-mscorefonts-installer xfonts-100dpi xfonts-75dpi xfonts-base \ | |||
|
25 | xfonts-utils" | |||
|
26 | #------------------------------- | |||
|
27 | #--- General System Settings --- | |||
|
28 | #------------------------------- | |||
|
29 | SET_ARCH=32 | |||
|
30 | RPI_MODEL=4 | |||
|
31 | RELEASE="buster" | |||
|
32 | HOSTNAME="raspife4" | |||
|
33 | DEFLOCAL="fr_FR.UTF-8" | |||
|
34 | TIMEZONE="Europe/Paris" | |||
|
35 | EXPANDROOT=false | |||
|
36 | #--------------------- | |||
|
37 | #--- User Settings --- | |||
|
38 | #--------------------- | |||
|
39 | ENABLE_ROOT=false | |||
|
40 | ROOT_PASSWORD="Achanger1$" | |||
|
41 | ENABLE_USER=true | |||
|
42 | USER_NAME=ens-ife | |||
|
43 | USER_PASSWORD="AChanger1$" | |||
|
44 | #------------------------- | |||
|
45 | #--- Keyboard Settings --- | |||
|
46 | #------------------------- | |||
|
47 | XKB_MODEL="pc105" | |||
|
48 | XKB_LAYOUT="fr" | |||
|
49 | XKB_VARIANT="latin9" | |||
|
50 | XKB_OPTIONS="" | |||
|
51 | #------------------------ | |||
|
52 | #--- Network Settings --- | |||
|
53 | #------------------------ | |||
|
54 | ENABLE_IPV6=true | |||
|
55 | ENABLE_WIRELESS=true | |||
|
56 | ENABLE_IPTABLES=false | |||
|
57 | ENABLE_IFNAMES=true | |||
|
58 | ENABLE_HARDNET=true | |||
|
59 | ENABLE_ETH_DHCP=true | |||
|
60 | ENABLE_WIFI_DHCP=true | |||
|
61 | NET_WIFI_SSID=MobileClimatEtMeteo | |||
|
62 | NET_WIFI_PSK=ClimatEtMeteo | |||
|
63 | #--------------------- | |||
|
64 | #--- Basic features--- | |||
|
65 | #--------------------- | |||
|
66 | ENABLE_CONSOLE=false | |||
|
67 | ENABLE_BLUETOOTH=false | |||
|
68 | ENABLE_MINIUART_OVERLAY=false | |||
|
69 | ENABLE_TURBO=false | |||
|
70 | ENABLE_I2C=true | |||
|
71 | ENABLE_SPI=true | |||
|
72 | SSH_ENABLE=true | |||
|
73 | ENABLE_NONFREE=true | |||
|
74 | ENABLE_RSYSLOG=true | |||
|
75 | ENABLE_SOUND=true | |||
|
76 | ENABLE_HWRANDOM=true | |||
|
77 | ENABLE_MINGPU=true | |||
|
78 | ENABLE_XORG=true | |||
|
79 | ENABLE_WM="lxqt" | |||
|
80 | ENABLE_SYSVINIT=true | |||
|
81 | ENABLE_SPLASH=true | |||
|
82 | ENABLE_LOGO=true | |||
|
83 | ENABLE_SILENT_BOOT=false | |||
|
84 | #-------------------------------- | |||
|
85 | #--- Advanced System features --- | |||
|
86 | #-------------------------------- | |||
|
87 | ENABLE_DPHYSSWAP=false | |||
|
88 | ENABLE_QEMU=false | |||
|
89 | ENABLE_MINBASE=false | |||
|
90 | ENABLE_SPLITFS=false | |||
|
91 | ENABLE_INITRAMFS=true | |||
|
92 | ENABLE_DBUS=true | |||
|
93 | ENABLE_USBBOOT=false | |||
|
94 | ENABLE_UBOOT=false | |||
|
95 | ENABLE_FBTURBO=true | |||
|
96 | ENABLE_VIDEOCORE=true | |||
|
97 | ENABLE_NEXMON=false | |||
|
98 | #-------------------- | |||
|
99 | #--- ssh settings --- | |||
|
100 | #-------------------- | |||
|
101 | SSH_ENABLE_ROOT=false | |||
|
102 | SSH_DISABLE_PASSWORD_AUTH=false | |||
|
103 | SSH_LIMIT_USERS=false | |||
|
104 | SSH_ROOT_PUB_KEY="/home/vidal/.ssh/authorized_keys" | |||
|
105 | SSH_USER_PUB_KEY="/home/vidal/.ssh/authorized_keys" | |||
|
106 | #----------------------- | |||
|
107 | #--- Kernel settings --- | |||
|
108 | #----------------------- | |||
|
109 | BUILD_KERNEL=true | |||
|
110 | KERNEL_BRANCH=rpi-4.19.y | |||
|
111 | KERNEL_REDUCE=false | |||
|
112 | KERNEL_HEADERS=true | |||
|
113 | KERNEL_MENUCONFIG=false | |||
|
114 | KERNEL_CCACHE=true | |||
|
115 | KERNEL_REMOVESRC=true | |||
|
116 | KERNELSRC_CLEAN=true | |||
|
117 | KERNELSRC_CONFIG=true | |||
|
118 | KERNEL_DEFAULT_GOV=ondemand | |||
|
119 | KERNEL_VIRT=false | |||
|
120 | KERNEL_SECURITY=false | |||
|
121 | KERNEL_DHKEY=true | |||
|
122 | #------------------------ | |||
|
123 | #--- Reduce disk usage -- | |||
|
124 | #------------------------ | |||
|
125 | ENABLE_REDUCE=false | |||
|
126 | REDUCE_APT=false | |||
|
127 | REDUCE_DOC=true | |||
|
128 | REDUCE_MAN=false | |||
|
129 | REDUCE_VIM=false | |||
|
130 | REDUCE_BASH=false | |||
|
131 | REDUCE_HWDB=false | |||
|
132 | REDUCE_BASH=false | |||
|
133 | REDUCE_SSHD=false | |||
|
134 | REDUCE_LOCALE=false | |||
|
135 | REDUCE_KERNEL=false | |||
|
136 | #-------------------------------- | |||
|
137 | #--- Encrypted root partition --- | |||
|
138 | #-------------------------------- | |||
|
139 | ENABLE_CRYPTFS=false | |||
|
140 | #---------------------- | |||
|
141 | #--- Build settings --- | |||
|
142 | #---------------------- | |||
|
143 | BASEDIR=/data/RpiGenImage/Images/${RELEASE} | |||
|
144 | #BASEDIR=/media/*******/*********/Nano-Ordinateurs/RaspberryPi/RpiGenImage/Images/${RELEASE} | |||
|
145 | DATE=`date +%Y-%m-%d` | |||
|
146 | IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE} | |||
|
147 | ||||
|
148 |
@@ -1,6 +1,6 | |||||
1 | images |
|
1 | images | |
2 | custom.d |
|
2 | custom.d | |
3 | packages |
|
|||
4 | *.swp |
|
3 | *.swp | |
5 | *.bak |
|
4 | *.bak | |
6 | *.log |
|
5 | *.log | |
|
6 | *~ No newline at end of file |
@@ -2,6 +2,8 | |||||
2 | ## Introduction |
|
2 | ## Introduction | |
3 | `rpi23-gen-image.sh` is an advanced Debian Linux bootstrapping shell script for generating Debian OS images for all Raspberry Pi computers. The script at this time supports the bootstrapping of the Debian (armhf/armel) releases `stretch` and `buster`. Raspberry Pi 0/1/2/3/4 images are generated for 32-bit mode only. Raspberry Pi 3 supports 64-bit images that can be generated using custom configuration parameters (```templates/rpi3-stretch-arm64-4.14.y```). |
|
3 | `rpi23-gen-image.sh` is an advanced Debian Linux bootstrapping shell script for generating Debian OS images for all Raspberry Pi computers. The script at this time supports the bootstrapping of the Debian (armhf/armel) releases `stretch` and `buster`. Raspberry Pi 0/1/2/3/4 images are generated for 32-bit mode only. Raspberry Pi 3 supports 64-bit images that can be generated using custom configuration parameters (```templates/rpi3-stretch-arm64-4.14.y```). | |
4 |
|
4 | |||
|
5 | ||||
|
6 | ||||
5 | ## Build dependencies |
|
7 | ## Build dependencies | |
6 | The following list of Debian packages must be installed on the build system because they are essentially required for the bootstrapping process. The script will check if all required packages are installed and missing packages will be installed automatically if confirmed by the user. |
|
8 | The following list of Debian packages must be installed on the build system because they are essentially required for the bootstrapping process. The script will check if all required packages are installed and missing packages will be installed automatically if confirmed by the user. | |
7 |
|
9 |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant