##// END OF EJS Templates
Merge pull request #4 from g-vidal/rpifegen...
Gérard Vidal -
r159:e892d66859ed Fusion
parent child
Show More
@@ -1,13 +1,22
1 ## Templates used at IFÉ ENS de Lyon for Tremplin project
1 ## Templates used at IFÉ ENS de Lyon for "Tremplin des sciences" project
2 2
3 These templates have been used to create Raspberry Pi images for the project "Climate and meteorolgy springboard for teaching sciences". These images are used as explained in the [blog](http://blog.climatetmeteo.fr/GerardVidal/) (mostly in french).
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).
4 8
5 The aim was to share with teachers an image providing software resources to use commercial weatherstations or DIY weathersystems made with various sensors. The following images have been built :
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 :
6 10
7 11 * raspife2-stretch Debian stretch image for raspi 2
8 12 * raspife3-jessie Debian jessie image for raspi 3
9 13 * raspife3-stretch Debian stretch image for raspi 3
10 14 * raspife3W-stretch Debian stretch image for raspi 3 with single IPAddress and weewx service
11 15 * raspife3-buster Debian buster image for raspi 3
12 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
13 22
@@ -1,91 +1,91
1 1 # Configuration file raspi3 Buster IFÉ 2017/07/26
2 2 #
3 3 APT_SERVER=ftp.fr.debian.org
4 4 APT_INCLUDES="gnupg,gnupg2,firmware-linux-nonfree,firmware-linux,dh-autoreconf,\
5 5 gettext,build-essential,git,cmake,libjson-c-dev,unzip,usbutils,\
6 6 bison,libboost-all-dev,automake,autoconf,autogen,libtool,libtool-bin,\
7 7 pkg-config,checkinstall,menulibre,libnotify-bin,pandoc,\
8 8 python3,python3-dev,python3-pypandoc,python3-scipy,python3-tk,python3-pandocfilters,\
9 9 python,python-dev,python-pypandoc,python-scipy,python-tk,python-pandocfilters,\
10 10 python3-geopy,python3-pip,\
11 11 python-geopy,python-pip,\
12 12 python-configobj,python-cheetah,python-imaging,python-serial,python-usb,\
13 13 pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,jed,i2c-tools,python-smbus,policykit-1,\
14 14 pmount,ntpdate,\
15 15 texlive,texlive-xetex,nginx-extras,ffmpeg,wicd,wicd-gtk,console-data,keyboard-configuration,\
16 16 icedtea-8-plugin,openjdk-8-jdk,openjdk-8-jre,openjdk-8-jre-headless,libqtwebkit-dev,libqt5webkit5-dev,\
17 17 libudev-dev,libzzip-dev,zlib1g-dev,libcanberra-gtk-module,libnss-myhostname,libfreetype6-dev,libpng16-16,\
18 18 nmap,libltdl-dev,dbus-user-session,debian-archive-keyring,\
19 19 xutils-dev,lxsession,openbox-lxde-session,lxde,x11proto-randr-dev,lxrandr,\
20 20 tightvncserver,geany,geany-plugin-py,geany-plugin-markdown,firefox-esr,firefox-esr-l10n-fr"
21 21 #----------------------
22 22 RPI_MODEL=3
23 23 RELEASE="buster"
24 24 HOSTNAME="raspife3"
25 PASSWORD="**************"
26 USER_PASSWORD="***************"
25 PASSWORD="***********"
26 USER_PASSWORD="***********"
27 27 DEFLOCAL="fr_FR.UTF-8"
28 28 TIMEZONE="Europe/Paris"
29 29 EXPANDROOT=false
30 30 #-----------------------
31 31 XKB_MODEL="pc105"
32 32 XKB_LAYOUT="fr"
33 33 XKB_VARIANT="latin9"
34 34 XKB_OPTIONS=""
35 35 #------------------------
36 36 ENABLE_DHCP=true
37 37 #------------------------
38 38 ENABLE_CONSOLE=false
39 39 ENABLE_I2C=true
40 40 ENABLE_SPI=true
41 41 ENABLE_IPV6=true
42 42 ENABLE_SSHD=true
43 43 ENABLE_NONFREE=true
44 44 ENABLE_WIRELESS=true
45 45 ENABLE_RSYSLOG=true
46 46 ENABLE_SOUND=true
47 47 ENABLE_HWRANDOM=true
48 48 ENABLE_MINGPU=true
49 49 ENABLE_DBUS=true
50 50 ENABLE_XORG=true
51 51 ENABLE_WM="lxdm"
52 52 #------------------------
53 53 ENABLE_MINBASE=false
54 54 ENABLE_REDUCE=false
55 55 ENABLE_UBOOT=false
56 56 ENABLE_FBTURBO=true
57 57 ENABLE_IPTABLES=false
58 58 ENABLE_USER=true
59 59 USER_NAME=ens-ife
60 60 ENABLE_ROOT=true
61 61 ENABLE_HARDNET=true
62 62 ENABLE_INITRAMFS=true
63 63 ENABLE_IFNAMES=true
64 64 #------------------------
65 65 ENABLE_ROOT_SSH=false
66 66 SSH_LIMIT_USERS=false
67 67 SSH_ROOT_PUB_KEY="/home/*******/.ssh/authorized_keys"
68 68 SSH_USER_PUB_KEY="/home/*******/.ssh/authorized_keys"
69 69 #------------------------
70 70 BUILD_KERNEL=true
71 71 KERNEL_REDUCE=false
72 72 KERNEL_HEADERS=true
73 73 KERNEL_REMOVESRC=true
74 74 KERNELSRC_CLEAN=true
75 75 KERNELSRC_CONFIG=true
76 76 #------------------------
77 77 REDUCE_APT=false
78 78 REDUCE_DOC=true
79 79 REDUCE_MAN=false
80 80 REDUCE_HWDB=true
81 81 REDUCE_BASH=false
82 82 REDUCE_SSHD=false
83 83 REDUCE_LOCALE=false
84 84 #-------------------------
85 85 ENABLE_CRYPTFS=false
86 86 #-------------------------
87 87 BASEDIR=/data/RpiGenImage/Images/${RELEASE}
88 88 DATE=`date +%Y-%m-%d`
89 89 IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE}
90 90
91 91
@@ -1,86 +1,91
1 # Configuration file raspi3 Stretch IFÉ 2017/04/15
1 # Configuration file raspi3 Stretch IFÉ 2017/07/26
2 2 #
3 3 APT_SERVER=ftp.fr.debian.org
4 APT_INCLUDES="gnupg,gnupg2,firmware-linux-nonfree,firmware-linux,xutils-dev,\
5 gettext, tightvncserver,build-essential,git,cmake,libjson-c-dev,unzip,\
6 bison,libboost-all-dev,automake,autoconf,autogen,libtool,libtool-bin,pkg-config,checkinstall,menulibre,libnotify-bin, \
7 python3,python3-dev,python,python-dev,python-configobj,python-cheetah,python-imaging,python-serial,python-usb,\
8 python-tk,python3-tk,python3-scipy,pandoc,python-pypandoc,python3-pypandoc,python-pandocfilters,python3-pandocfilters, \
9 python-geopy,python3-geopy,python-pip,python3-pip, \
10 pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,jed,i2c-tools,python-smbus,policykit-1,usbutils,\
11 pmount,geany,geany-plugin-py,geany-plugin-markdown,firefox-esr,firefox-esr-l10n-fr,ntpdate, \
4 APT_INCLUDES="gnupg,gnupg2,firmware-linux-nonfree,firmware-linux,dh-autoreconf,\
5 gettext,build-essential,git,cmake,libjson-c-dev,unzip,usbutils,\
6 bison,libboost-all-dev,automake,autoconf,autogen,libtool,libtool-bin,\
7 pkg-config,checkinstall,menulibre,libnotify-bin,pandoc,\
8 python3,python3-dev,python3-pypandoc,python3-scipy,python3-tk,python3-pandocfilters,\
9 python,python-dev,python-pypandoc,python-scipy,python-tk,python-pandocfilters,\
10 python3-geopy,python3-pip,\
11 python-geopy,python-pip,\
12 python-configobj,python-cheetah,python-imaging,python-serial,python-usb,\
13 pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,jed,i2c-tools,python-smbus,policykit-1,\
14 pmount,ntpdate,\
12 15 texlive,texlive-xetex,nginx-extras,ffmpeg,wicd,wicd-gtk,console-data,keyboard-configuration, \
13 16 icedtea-8-plugin,openjdk-8-jdk,openjdk-8-jre,openjdk-8-jre-headless,libqtwebkit-dev,libqt5webkit5-dev,\
14 17 libudev-dev,libzzip-dev,zlib1g-dev,libcanberra-gtk-module,libnss-myhostname,libfreetype6-dev,libpng16-16,\
15 nmap,libltdl-dev,lxsession,openbox-lxde-session,lxde,dbus-user-session,debian-archive-keyring"
18 nmap,libltdl-dev,dbus-user-session,debian-archive-keyring,\
19 xutils-dev,lxsession,openbox-lxde-session,lxde,x11proto-randr-dev,lxrandr,\
20 tightvncserver,geany,geany-plugin-py,geany-plugin-markdown,firefox-esr,firefox-esr-l10n-fr"
16 21 #----------------------
17 22 RPI_MODEL=3
18 23 RELEASE="stretch"
19 24 HOSTNAME="raspife3"
20 PASSWORD="**********"
21 USER_PASSWORD="**********"
25 PASSWORD="**************"
26 USER_PASSWORD="***************"
22 27 DEFLOCAL="fr_FR.UTF-8"
23 28 TIMEZONE="Europe/Paris"
24 29 EXPANDROOT=false
25 30 #-----------------------
26 31 XKB_MODEL="pc105"
27 32 XKB_LAYOUT="fr"
28 33 XKB_VARIANT="latin9"
29 34 XKB_OPTIONS=""
30 35 #------------------------
31 36 ENABLE_DHCP=true
32 37 #------------------------
33 38 ENABLE_CONSOLE=false
34 39 ENABLE_I2C=true
35 40 ENABLE_SPI=true
36 41 ENABLE_IPV6=true
37 42 ENABLE_SSHD=true
38 43 ENABLE_NONFREE=true
39 44 ENABLE_WIRELESS=true
40 45 ENABLE_RSYSLOG=true
41 46 ENABLE_SOUND=true
42 47 ENABLE_HWRANDOM=true
43 48 ENABLE_MINGPU=true
44 49 ENABLE_DBUS=true
45 50 ENABLE_XORG=true
46 51 ENABLE_WM="lxdm"
47 52 #------------------------
48 53 ENABLE_MINBASE=false
49 54 ENABLE_REDUCE=false
50 55 ENABLE_UBOOT=false
51 ENABLE_FBTURBO=false
56 ENABLE_FBTURBO=true
52 57 ENABLE_IPTABLES=false
53 58 ENABLE_USER=true
54 59 USER_NAME=ens-ife
55 60 ENABLE_ROOT=true
56 61 ENABLE_HARDNET=true
57 62 ENABLE_INITRAMFS=true
58 63 ENABLE_IFNAMES=true
59 64 #------------------------
60 65 ENABLE_ROOT_SSH=false
61 66 SSH_LIMIT_USERS=false
62 67 SSH_ROOT_PUB_KEY="/home/*******/.ssh/authorized_keys"
63 68 SSH_USER_PUB_KEY="/home/*******/.ssh/authorized_keys"
64 69 #------------------------
65 70 BUILD_KERNEL=true
66 71 KERNEL_REDUCE=false
67 72 KERNEL_HEADERS=true
68 73 KERNEL_REMOVESRC=true
69 74 KERNELSRC_CLEAN=true
70 75 KERNELSRC_CONFIG=true
71 76 #------------------------
72 77 REDUCE_APT=false
73 78 REDUCE_DOC=true
74 79 REDUCE_MAN=false
75 80 REDUCE_HWDB=true
76 81 REDUCE_BASH=false
77 82 REDUCE_SSHD=false
78 83 REDUCE_LOCALE=false
79 84 #-------------------------
80 85 ENABLE_CRYPTFS=false
81 86 #-------------------------
82 87 BASEDIR=/data/RpiGenImage/Images/${RELEASE}
83 88 DATE=`date +%Y-%m-%d`
84 89 IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE}
85 90
86 91
@@ -1,92 +1,89
1 # Configuration file raspi3 Stretch IFÉ 2017/04/15
1 # Configuration file raspi3 Stretch Weewx IFÉ 2017/07/26
2 2 #
3 3 APT_SERVER=ftp.fr.debian.org
4 4 APT_INCLUDES="debian-archive-keyring,debian-keyring,automake,autoconf,autogen,gawk,gnupg,gnupg2, \
5 5 build-essential,git,cmake,libjson-c-dev,unzip,\
6 6 bison,libboost-all-dev,libtool,libtool-bin,pkg-config,checkinstall,libnotify-bin,pandoc, \
7 7 python3,python3-dev,python,python-dev,python-configobj,python-cheetah, \
8 8 python-imaging,python-serial,python-usb,python-tk,python3-tk,python3-scipy, \
9 9 python-pypandoc,python3-pypandoc,python-pandocfilters,python3-pandocfilters, \
10 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 #firehol"
14 #ffmpeg,console-data,keyboard-configuration,openjdk-8-jdk, \
15 #openjdk-8-jre,openjdk-8-jre-headless,pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,i2c-tools, \
16 #libcanberra-gtk-module,libqtwebkit-dev,libqt5webkit5-dev,libfreetype6-dev"
17 #,policykit-1,inetutils-ping,firmware-linux-nonfree,firmware-linux
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"
18 15 #----------------------
19 16 RPI_MODEL=3
20 17 RELEASE="stretch"
21 18 HOSTNAME="raspwife3"
22 PASSWORD="**************"
23 USER_PASSWORD="*************"
19 PASSWORD="************"
20 USER_PASSWORD="************"
24 21 DEFLOCAL="fr_FR.UTF-8"
25 22 TIMEZONE="Europe/Paris"
26 23 EXPANDROOT=false
27 24 #-----------------------
28 25 XKB_MODEL="pc105"
29 26 XKB_LAYOUT="fr"
30 27 XKB_VARIANT="latin9"
31 28 XKB_OPTIONS=""
32 29 #------------------------
33 30 ENABLE_DHCP=false
34 NET_ADDRESS="192.168.***.**/**"
35 NET_GATEWAY="192.168.***.1"
36 NET_DNS_1="192.168.***.1"
31 NET_ADDRESS="192.168.221.41/24"
32 NET_GATEWAY="192.168.221.1"
33 NET_DNS_1="192.168.221.1"
37 34 NET_DNS_2="8.8.8.8"
38 35 #------------------------
39 36 ENABLE_CONSOLE=false
40 37 ENABLE_I2C=true
41 38 ENABLE_SPI=true
42 39 ENABLE_IPV6=true
43 40 ENABLE_SSHD=true
44 41 ENABLE_NONFREE=true
45 42 ENABLE_WIRELESS=true
46 43 ENABLE_RSYSLOG=true
47 44 ENABLE_SOUND=true
48 45 ENABLE_HWRANDOM=true
49 46 ENABLE_MINGPU=true
50 47 ENABLE_DBUS=true
51 48 ENABLE_XORG=false
52 49 ENABLE_WM=""
53 50 #------------------------
54 51 ENABLE_MINBASE=false
55 52 ENABLE_REDUCE=false
56 53 ENABLE_UBOOT=false
57 54 ENABLE_FBTURBO=false
58 55 ENABLE_IPTABLES=false
59 56 ENABLE_USER=true
60 57 USER_NAME=ens-ife
61 58 ENABLE_ROOT=true
62 59 ENABLE_HARDNET=true
63 60 ENABLE_INITRAMFS=true
64 61 ENABLE_IFNAMES=true
65 62 #------------------------
66 63 ENABLE_ROOT_SSH=false
67 64 SSH_LIMIT_USERS=false
68 SSH_ROOT_PUB_KEY="/home/********/.ssh/authorized_keys"
69 SSH_USER_PUB_KEY="/home/********/.ssh/authorized_keys"
65 SSH_ROOT_PUB_KEY="/home/*******/.ssh/authorized_keys"
66 SSH_USER_PUB_KEY="/home/*******/.ssh/authorized_keys"
70 67 #------------------------
71 68 BUILD_KERNEL=true
72 69 KERNEL_REDUCE=false
73 70 KERNEL_HEADERS=true
74 71 KERNEL_REMOVESRC=true
75 72 KERNELSRC_CLEAN=true
76 73 KERNELSRC_CONFIG=true
77 74 #------------------------
78 75 REDUCE_APT=false
79 76 REDUCE_DOC=true
80 77 REDUCE_MAN=false
81 78 REDUCE_HWDB=true
82 79 REDUCE_BASH=false
83 80 REDUCE_SSHD=false
84 81 REDUCE_LOCALE=false
85 82 #-------------------------
86 83 ENABLE_CRYPTFS=false
87 84 #-------------------------
88 85 BASEDIR=/data/RpiGenImage/Images/${RELEASE}
89 86 DATE=`date +%Y-%m-%d`
90 87 IMAGE_NAME=${BASEDIR}/${DATE}-rpiw${RPI_MODEL}-${RELEASE}
91 88
92 89
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant