1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -1,6 +1,9 | |||||
1 | # rpi23-gen-image |
|
1 | # rpi23-gen-image | |
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 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 | ||
|
4 | ||||
|
5 | `rpi23-gen-image.sh` is an advanced Debian Linux bootstrapping shell script for generating Debian OS images for Raspberry Pi 2 (RPi2) and Raspberry Pi 3 (RPi3) computers. The script at this time supports the bootstrapping of the Debian (armhf) releases `jessie`, `stretch` and `buster`. Raspberry Pi 3 images are generated for 32-bit mode only. Raspberry Pi 3 64-bit images can be generated using custom configuration parameters (```templates/rpi3-stretch-arm64-4.11.y```). | |||
|
6 | ||||
4 |
|
7 | |||
5 |
|
8 | |||
6 | ## Build dependencies |
|
9 | ## Build dependencies |
@@ -18,6 +18,13 if [ "$ENABLE_MINBASE" = true ] ; then | |||||
18 | VARIANT="--variant=minbase" |
|
18 | VARIANT="--variant=minbase" | |
19 | fi |
|
19 | fi | |
20 |
|
20 | |||
|
21 | ||||
|
22 | # Exclude packages if required by Debian release | |||
|
23 | if [ "$RELEASE" = "stretch" ] || [ "$RELEASE" = "buster" ] ; then | |||
|
24 | EXCLUDES="--exclude=init,systemd-sysv" | |||
|
25 | fi | |||
|
26 | ||||
|
27 | ||||
21 | # Base debootstrap (unpack only) |
|
28 | # Base debootstrap (unpack only) | |
22 | http_proxy=${APT_PROXY} debootstrap ${APT_EXCLUDES} --arch="${RELEASE_ARCH}" --foreign ${VARIANT} --components="${COMPONENTS}" --include="${APT_INCLUDES}" "${RELEASE}" "${R}" "http://${APT_SERVER}/debian" |
|
29 | http_proxy=${APT_PROXY} debootstrap ${APT_EXCLUDES} --arch="${RELEASE_ARCH}" --foreign ${VARIANT} --components="${COMPONENTS}" --include="${APT_INCLUDES}" "${RELEASE}" "${R}" "http://${APT_SERVER}/debian" | |
23 |
|
30 |
@@ -11,11 +11,30 if [ -z "$APT_PROXY" ] ; then | |||||
11 | sed -i "s/\"\"/\"${APT_PROXY}\"/" "${ETC_DIR}/apt/apt.conf.d/10proxy" |
|
11 | sed -i "s/\"\"/\"${APT_PROXY}\"/" "${ETC_DIR}/apt/apt.conf.d/10proxy" | |
12 | fi |
|
12 | fi | |
13 |
|
13 | |||
|
14 | if [ "$BUILD_KERNEL" = false ] ; then | |||
|
15 | # Install APT pinning configuration for flash-kernel package | |||
|
16 | install_readonly files/apt/flash-kernel "${ETC_DIR}/apt/preferences.d/flash-kernel" | |||
|
17 | ||||
|
18 | # Install APT sources.list | |||
|
19 | install_readonly files/apt/sources.list "${ETC_DIR}/apt/sources.list" | |||
|
20 | echo "deb ${COLLABORA_URL} ${RELEASE} rpi2" >> "${ETC_DIR}/apt/sources.list" | |||
|
21 | ||||
|
22 | # Upgrade collabora package index and install collabora keyring | |||
|
23 | chroot_exec apt-get -qq -y update | |||
|
24 | # Removed --allow-unauthenticated as suggested after modification on _apt privileges | |||
|
25 | chroot_exec apt-get -qq -y install collabora-obs-archive-keyring | |||
|
26 | else # BUILD_KERNEL=true | |||
14 | # Install APT sources.list |
|
27 | # Install APT sources.list | |
15 | install_readonly files/apt/sources.list "${ETC_DIR}/apt/sources.list" |
|
28 | install_readonly files/apt/sources.list "${ETC_DIR}/apt/sources.list" | |
16 |
|
29 | |||
17 | # Use specified APT server and release |
|
30 | # Use specified APT server and release | |
18 | sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list" |
|
31 | sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list" | |
|
32 | sed -i "s/ jessie/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" | |||
|
33 | fi | |||
|
34 | ||||
|
35 | ||||
|
36 | # Use specified APT server and release | |||
|
37 | sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list" | |||
19 | sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" |
|
38 | sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" | |
20 |
|
39 | |||
21 | # Upgrade package index and update all installed packages and changed dependencies |
|
40 | # Upgrade package index and update all installed packages and changed dependencies |
@@ -28,7 +28,13 if [ "$ENABLE_FBTURBO" = true ] ; then | |||||
28 | fi |
|
28 | fi | |
29 |
|
29 | |||
30 | # Install Xorg build dependencies |
|
30 | # Install Xorg build dependencies | |
|
31 | ||||
|
32 | if [ "$RELEASE" = "jessie" ] || [ "$RELEASE" = "stretch" ] || [ "$RELEASE" = "buster" ] ; then | |||
|
33 | chroot_exec apt-get -q -y --no-install-recommends install xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev | |||
|
34 | elif [ "$RELEASE" = "stretch" ] || [ "$RELEASE" = "buster" ] ; then | |||
31 | chroot_exec apt-get -q -y --no-install-recommends --allow-unauthenticated install xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev |
|
35 | chroot_exec apt-get -q -y --no-install-recommends --allow-unauthenticated install xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev | |
|
36 | fi | |||
|
37 | ||||
32 |
|
38 | |||
33 | # Build and install fbturbo driver inside chroot |
|
39 | # Build and install fbturbo driver inside chroot | |
34 | chroot_exec /bin/bash -x <<'EOF' |
|
40 | chroot_exec /bin/bash -x <<'EOF' |
@@ -74,9 +74,15 chroot_install_cc() { | |||||
74 | # Install c/c++ build environment inside the chroot |
|
74 | # Install c/c++ build environment inside the chroot | |
75 | if [ -z "${COMPILER_PACKAGES}" ] ; then |
|
75 | if [ -z "${COMPILER_PACKAGES}" ] ; then | |
76 | COMPILER_PACKAGES=$(chroot_exec apt-get -s install g++ make bc | grep "^Inst " | awk -v ORS=" " '{ print $2 }') |
|
76 | COMPILER_PACKAGES=$(chroot_exec apt-get -s install g++ make bc | grep "^Inst " | awk -v ORS=" " '{ print $2 }') | |
77 | # Install COMPILER_PACKAGES in chroot - NEVER do "${COMPILER_PACKAGES}" -> breaks uboot |
|
77 | ||
|
78 | ||||
|
79 | if [ "$RELEASE" = "jessie" ] || [ "$RELEASE" = "stretch" ] || [ "$RELEASE" = "buster" ] ; then | |||
|
80 | chroot_exec apt-get -q -y --no-install-recommends install ${COMPILER_PACKAGES} | |||
|
81 | elif [ "$RELEASE" = "stretch" ] || [ "$RELEASE" = "buster" ] ; then | |||
78 | chroot_exec apt-get -q -y --allow-unauthenticated --no-install-recommends install ${COMPILER_PACKAGES} |
|
82 | chroot_exec apt-get -q -y --allow-unauthenticated --no-install-recommends install ${COMPILER_PACKAGES} | |
79 | fi |
|
83 | fi | |
|
84 | ||||
|
85 | fi | |||
80 | } |
|
86 | } | |
81 |
|
87 | |||
82 | chroot_remove_cc() { |
|
88 | chroot_remove_cc() { |
@@ -1,3 +1,86 | |||||
|
1 | ||||
|
2 | Configuration file raspife2 Stretch IFÉ 2017/02/24 | |||
|
3 | # | |||
|
4 | APT_SERVER=ftp.fr.debian.org | |||
|
5 | APT_INCLUDES="gnupg,gnupg2,firmware-realtek,firmware-linux-nonfree,firmware-linux,tightvncserver,build-essentia$ | |||
|
6 | bison,libboost-all-dev,automake,autoconf,autogen,libtool,pkg-config,checkinstall,python3,python3-dev,menulibre,$ | |||
|
7 | libnotify-bin,python,python-configobj,python-cheetah,python-imaging,python-serial,python-usb,python-dev,\ | |||
|
8 | pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,jed,i2c-tools,python-smbus,policykit-1,usbutils,\ | |||
|
9 | pmount,python-pip,python3-pip,geany,geany-plugin-py,geany-plugin-markdown,firefox-esr,firefox-esr-l10n-fr,\ | |||
|
10 | icedtea-8-plugin,openjdk-8-jdk,openjdk-8-jre,openjdk-8-jre-headless,libqtwebkit-dev,libqt5webkit5-dev,\ | |||
|
11 | libudev-dev,libzzip-dev,zlib1g-dev,libcanberra-gtk-module,libnss-myhostname,libfreetype6-dev,libpng16-16,\ | |||
|
12 | lxsession,openbox-lxde-session,lxde" | |||
|
13 | #---------------------- | |||
|
14 | RPI_MODEL=2 | |||
|
15 | RELEASE="stretch" | |||
|
16 | HOSTNAME="raspife2" | |||
|
17 | PASSWORD="***********" | |||
|
18 | USER_PASSWORD="**************" | |||
|
19 | DEFLOCAL="fr_FR.UTF-8" | |||
|
20 | TIMEZONE="Europe/Paris" | |||
|
21 | EXPANDROOT=false | |||
|
22 | #----------------------- | |||
|
23 | XKB_MODEL="pc105" | |||
|
24 | XKB_LAYOUT="fr" | |||
|
25 | XKB_VARIANT="latin9" | |||
|
26 | XKB_OPTIONS="" | |||
|
27 | #------------------------ | |||
|
28 | ENABLE_DHCP=true | |||
|
29 | #------------------------ | |||
|
30 | ENABLE_CONSOLE=true | |||
|
31 | ENABLE_I2C=true | |||
|
32 | ENABLE_SPI=true | |||
|
33 | ENABLE_IPV6=true | |||
|
34 | ENABLE_SSHD=true | |||
|
35 | ENABLE_NONFREE=true | |||
|
36 | ENABLE_WIRELESS=false | |||
|
37 | ENABLE_RSYSLOG=true | |||
|
38 | ENABLE_SOUND=true | |||
|
39 | ENABLE_HWRANDOM=true | |||
|
40 | ENABLE_MINGPU=true | |||
|
41 | ENABLE_DBUS=true | |||
|
42 | ENABLE_XORG=true | |||
|
43 | ENABLE_WM="lxdm" | |||
|
44 | #------------------------ | |||
|
45 | ENABLE_MINBASE=false | |||
|
46 | ENABLE_REDUCE=false | |||
|
47 | ENABLE_UBOOT=false | |||
|
48 | ENABLE_FBTURBO=true | |||
|
49 | ENABLE_IPTABLES=false | |||
|
50 | ENABLE_USER=true | |||
|
51 | USER_NAME=ens-ife | |||
|
52 | ENABLE_ROOT=true | |||
|
53 | ENABLE_HARDNET=true | |||
|
54 | ENABLE_INITRAMFS=true | |||
|
55 | ENABLE_IFNAMES=true | |||
|
56 | #------------------------ | |||
|
57 | ENABLE_ROOT_SSH=false | |||
|
58 | SSH_LIMIT_USERS=false | |||
|
59 | SSH_ROOT_PUB_KEY="/home/********/.ssh/authorized_keys" | |||
|
60 | SSH_USER_PUB_KEY="/home/********/.ssh/authorized_keys" | |||
|
61 | #------------------------ | |||
|
62 | BUILD_KERNEL=true | |||
|
63 | KERNEL_REDUCE=false | |||
|
64 | KERNEL_HEADERS=true | |||
|
65 | KERNEL_REMOVESRC=true | |||
|
66 | KERNELSRC_CLEAN=true | |||
|
67 | KERNELSRC_CONFIG=true | |||
|
68 | #------------------------ | |||
|
69 | REDUCE_APT=false | |||
|
70 | REDUCE_DOC=true | |||
|
71 | REDUCE_MAN=false | |||
|
72 | REDUCE_HWDB=true | |||
|
73 | REDUCE_BASH=false | |||
|
74 | REDUCE_SSHD=false | |||
|
75 | REDUCE_LOCALE=false | |||
|
76 | #------------------------- | |||
|
77 | ENABLE_CRYPTFS=false | |||
|
78 | #------------------------- | |||
|
79 | BASEDIR=/media/********/images/${RELEASE} | |||
|
80 | DATE=date | |||
|
81 | +%Y-%m-%d | |||
|
82 | IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE} | |||
|
83 | ======= | |||
1 | # Configuration file raspi2 Stretch IFÉ 2017/12/28 |
|
84 | # Configuration file raspi2 Stretch IFÉ 2017/12/28 | |
2 | # |
|
85 | # | |
3 | APT_SERVER=debian.mirrors.ovh.net |
|
86 | APT_SERVER=debian.mirrors.ovh.net |
@@ -1,11 +1,13 | |||||
1 | # Configuration file raspi3 Buster IFÉ 2017/12/28 |
|
1 | ||
|
2 | # Configuration file raspi3 Buster IFÉ 2017/11/01 | |||
|
3 | ||||
2 | # |
|
4 | # | |
3 | APT_SERVER=debian.mirrors.ovh.net |
|
5 | APT_SERVER=debian.mirrors.ovh.net | |
4 | APT_INCLUDES="" |
|
6 | APT_INCLUDES="" | |
5 | APT_INCLUDES_LATE="gnupg,firmware-linux-nonfree,firmware-linux,dh-autoreconf,\ |
|
7 | APT_INCLUDES_LATE="gnupg,firmware-linux-nonfree,firmware-linux,dh-autoreconf,\ | |
6 | gettext,build-essential,git,cmake,libjson-c-dev,unzip,usbutils,\ |
|
8 | gettext,build-essential,git,cmake,libjson-c-dev,unzip,usbutils,\ | |
7 | bison,libboost-all-dev,automake,autoconf,autogen,libtool,libtool-bin,\ |
|
9 | bison,libboost-all-dev,automake,autoconf,autogen,libtool,libtool-bin,\ | |
8 | pkg-config,menulibre,libnotify-bin,pandoc,\ |
|
10 | pkg-config,checkinstall,menulibre,libnotify-bin,pandoc,\ | |
9 | python3,python3-dev,python3-pypandoc,python3-scipy,python3-tk,python3-pandocfilters,\ |
|
11 | python3,python3-dev,python3-pypandoc,python3-scipy,python3-tk,python3-pandocfilters,\ | |
10 | python3-geopy,python3-pip,\ |
|
12 | python3-geopy,python3-pip,\ | |
11 | python,python-dev,python-pypandoc,python-scipy,python-tk,python-pandocfilters,\ |
|
13 | python,python-dev,python-pypandoc,python-scipy,python-tk,python-pandocfilters,\ | |
@@ -27,8 +29,8 RPI_MODEL=3 | |||||
27 | RELEASE="buster" |
|
29 | RELEASE="buster" | |
28 | RELEASE_ARCH="armhf" |
|
30 | RELEASE_ARCH="armhf" | |
29 | HOSTNAME="raspife3" |
|
31 | HOSTNAME="raspife3" | |
30 | PASSWORD="*****" |
|
32 | PASSWORD="***********" | |
31 | USER_PASSWORD="*****" |
|
33 | USER_PASSWORD="*************" | |
32 | DEFLOCAL="fr_FR.UTF-8" |
|
34 | DEFLOCAL="fr_FR.UTF-8" | |
33 | TIMEZONE="Europe/Paris" |
|
35 | TIMEZONE="Europe/Paris" | |
34 | EXPANDROOT=false |
|
36 | EXPANDROOT=false |
@@ -1,35 +1,30 | |||||
1 | # Configuration file raspi3 Stretch IFÉ 2017/12/28 |
|
1 | ||
|
2 | # Configuration file raspi3 Stretch IFÉ 2017/07/26 | |||
2 | # |
|
3 | # | |
3 |
APT_SERVER=debian. |
|
4 | APT_SERVER=ftp.fr.debian.org | |
4 | APT_INCLUDES="" |
|
5 | APT_INCLUDES="gnupg,gnupg2,firmware-linux-nonfree,firmware-linux,dh-autoreconf,\ | |
5 | APT_INCLUDES_LATE="gnupg,firmware-linux-nonfree,firmware-linux,dh-autoreconf,\ |
|
|||
6 | gettext,build-essential,git,cmake,libjson-c-dev,unzip,usbutils,\ |
|
6 | gettext,build-essential,git,cmake,libjson-c-dev,unzip,usbutils,\ | |
7 | bison,libboost-all-dev,automake,autoconf,autogen,libtool,libtool-bin,\ |
|
7 | bison,libboost-all-dev,automake,autoconf,autogen,libtool,libtool-bin,\ | |
8 | pkg-config,checkinstall,libnotify-bin,pandoc,\ |
|
8 | pkg-config,checkinstall,menulibre,libnotify-bin,pandoc,\ | |
9 | python3,python3-dev,python3-pypandoc,python3-scipy,python3-tk,python3-pandocfilters,\ |
|
9 | python3,python3-dev,python3-pypandoc,python3-scipy,python3-tk,python3-pandocfilters,\ | |
10 | python3-geopy,python3-pip,\ |
|
|||
11 | python,python-dev,python-pypandoc,python-scipy,python-tk,python-pandocfilters,\ |
|
10 | python,python-dev,python-pypandoc,python-scipy,python-tk,python-pandocfilters,\ | |
12 |
python-geopy,python-pip |
|
11 | python3-geopy,python3-pip,\ | |
|
12 | python-geopy,python-pip,\ | |||
13 | python-configobj,python-cheetah,python-imaging,python-serial,python-usb,\ |
|
13 | python-configobj,python-cheetah,python-imaging,python-serial,python-usb,\ | |
14 | python-mysqldb,python-smbus,\ |
|
14 | pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,jed,i2c-tools,python-smbus,policykit-1,\ | |
15 | pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,i2c-tools,policykit-1,\ |
|
15 | pmount,ntpdate,\ | |
16 | pmount,ntpdate,ntp,\ |
|
|||
17 | texlive,texlive-xetex,nginx-extras,ffmpeg,wicd,wicd-gtk,console-data,keyboard-configuration,\ |
|
16 | texlive,texlive-xetex,nginx-extras,ffmpeg,wicd,wicd-gtk,console-data,keyboard-configuration,\ | |
18 | libqtwebkit-dev,libqt5webkit5-dev,\ |
|
17 | icedtea-8-plugin,openjdk-8-jdk,openjdk-8-jre,openjdk-8-jre-headless,libqtwebkit-dev,libqt5webkit5-dev,\ | |
19 | libudev-dev,libzzip-dev,zlib1g-dev,libcanberra-gtk-module,libnss-myhostname,libfreetype6-dev,libpng16-16,\ |
|
18 | 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,\ |
|
19 | nmap,libltdl-dev,dbus-user-session,debian-archive-keyring,\ | |
21 |
|
|
20 | xutils-dev,lxsession,openbox-lxde-session,lxde,x11proto-randr-dev,lxrandr,\ | |
22 |
tightvncserver,geany,geany-plugin-py,firefox-esr,firefox-esr-l10n-fr |
|
21 | tightvncserver,geany,geany-plugin-py,geany-plugin-markdown,firefox-esr,firefox-esr-l10n-fr" | |
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 | #---------------------- |
|
22 | #---------------------- | |
27 | RPI_MODEL=3 |
|
23 | RPI_MODEL=3 | |
28 | RELEASE="stretch" |
|
24 | RELEASE="stretch" | |
29 | RELEASE_ARCH="armhf" |
|
|||
30 | HOSTNAME="raspife3" |
|
25 | HOSTNAME="raspife3" | |
31 | PASSWORD="*****" |
|
26 | PASSWORD="**************" | |
32 |
USER_PASSWORD="***** |
|
27 | USER_PASSWORD="*************** | |
33 | DEFLOCAL="fr_FR.UTF-8" |
|
28 | DEFLOCAL="fr_FR.UTF-8" | |
34 | TIMEZONE="Europe/Paris" |
|
29 | TIMEZONE="Europe/Paris" | |
35 | EXPANDROOT=false |
|
30 | EXPANDROOT=false | |
@@ -69,12 +64,11 ENABLE_INITRAMFS=true | |||||
69 | ENABLE_IFNAMES=true |
|
64 | ENABLE_IFNAMES=true | |
70 | #------------------------ |
|
65 | #------------------------ | |
71 | ENABLE_ROOT_SSH=false |
|
66 | ENABLE_ROOT_SSH=false | |
72 |
SSH_LIMIT_USERS=fal |
|
67 | SSH_LIMIT_USERS=fal | |
73 | SSH_ROOT_PUB_KEY="/home/*****/.ssh/authorized_keys" |
|
68 | SSH_ROOT_PUB_KEY="/home/*******/.ssh/authorized_keys" | |
74 | SSH_USER_PUB_KEY="/home/*****/.ssh/authorized_keys" |
|
69 | SSH_USER_PUB_KEY="/home/*******/.ssh/authorized_keys" | |
75 | #------------------------ |
|
70 | #------------------------ | |
76 | BUILD_KERNEL=true |
|
71 | BUILD_KERNEL=true | |
77 | KERNEL_BRANCH=rpi-4.13.y |
|
|||
78 | KERNEL_REDUCE=false |
|
72 | KERNEL_REDUCE=false | |
79 | KERNEL_HEADERS=true |
|
73 | KERNEL_HEADERS=true | |
80 | KERNEL_REMOVESRC=true |
|
74 | KERNEL_REMOVESRC=true | |
@@ -92,7 +86,6 REDUCE_LOCALE=false | |||||
92 | ENABLE_CRYPTFS=false |
|
86 | ENABLE_CRYPTFS=false | |
93 | #------------------------- |
|
87 | #------------------------- | |
94 | BASEDIR=/data/RpiGenImage/Images/${RELEASE} |
|
88 | BASEDIR=/data/RpiGenImage/Images/${RELEASE} | |
95 | #BASEDIR=/media/*******/*********/Nano-Ordinateurs/RaspberryPi/RpiGenImage/Images/${RELEASE} |
|
|||
96 | DATE=`date +%Y-%m-%d` |
|
89 | DATE=`date +%Y-%m-%d` | |
97 | IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE} |
|
90 | IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE} | |
98 |
|
91 |
@@ -1,29 +1,25 | |||||
1 | # Configuration file raspi3 Stretch Weewx IFÉ 2017/12/28 |
|
1 | ||
|
2 | # Configuration file raspi3 Stretch Weewx IFÉ 2017/07/26 | |||
2 | # |
|
3 | # | |
3 |
APT_SERVER=debian. |
|
4 | APT_SERVER=ftp.fr.debian.org | |
4 | APT_INCLUDES="" |
|
5 | APT_INCLUDES="debian-archive-keyring,debian-keyring,automake,autoconf,autogen,gawk,gnupg,gnupg2,\ | |
5 | APT_INCLUDES_LATE="gnupg,debian-keyring,gawk,\ |
|
6 | build-essential,git,cmake,libjson-c-dev,unzip,\ | |
6 | build-essential,git,cmake,libjson-c-dev,unzip,usbutils,\ |
|
7 | bison,libboost-all-dev,libtool,libtool-bin,pkg-config,checkinstall,libnotify-bin,pandoc,\ | |
7 | bison,libboost-all-dev,automake,autoconf,autogen,libtool,libtool-bin,\ |
|
8 | python3,python3-dev,python,python-dev,python-configobj,python-cheetah,python-mysqldb\ | |
8 | pkg-config,checkinstall,libnotify-bin,pandoc,\ |
|
9 | python-imaging,python-serial,python-usb,python-tk,python3-tk,python3-scipy,\ | |
9 |
python |
|
10 | python-pypandoc,python3-pypandoc,python-pandocfilters,python3-pandocfilters,\ | |
10 | python3-geopy,python3-pip,\ |
|
11 | python-geopy,python3-geopy,python-pip,python3-pip,python-smbus,\ | |
11 | python,python-dev,python-pypandoc,python-scipy,python-tk,python-pandocfilters,\ |
|
12 | libudev-dev,libzzip-dev,zlib1g-dev,libnss-myhostname,libpng16-16,nmap,\ | |
12 | python-geopy,python-pip,python-tk,\ |
|
13 | libltdl-dev,usbutils,pmount,ntpdate,texlive,texlive-xetex,nginx-extras,policykit-1,\ | |
13 | python-configobj,python-cheetah,python-imaging,python-serial,python-usb,\ |
|
14 | openjdk-8-jdk-headless,openjdk-8-jre-headless,\ | |
14 | python-mysqldb,python-smbus,\ |
|
15 | pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,i2c-tools" | |
15 | pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,i2c-tools,policykit-1,\ |
|
|||
16 | pmount,ntpdate,rsync,\ |
|
|||
17 | libudev-dev,libzzip-dev,zlib1g-dev,libcanberra-gtk-module,libnss-myhostname,libfreetype6-dev,libpng16-16,\ |
|
|||
18 | nmap,libltdl-dev,debian-archive-keyring,texlive,texlive-xetex,nginx-extras" |
|
|||
19 | #openjdk-8-jdk-headless,openjdk-8-jre-headless" |
|
|||
20 | #---------------------- |
|
16 | #---------------------- | |
21 | RPI_MODEL=3 |
|
17 | RPI_MODEL=3 | |
22 | RELEASE="stretch" |
|
18 | RELEASE="stretch" | |
23 | RELEASE_ARCH="armhf" |
|
|||
24 | HOSTNAME="raspwife3" |
|
19 | HOSTNAME="raspwife3" | |
25 | PASSWORD="*****" |
|
20 | PASSWORD="************" | |
26 | USER_PASSWORD="*****" |
|
21 | USER_PASSWORD="************" | |
|
22 | ||||
27 | DEFLOCAL="fr_FR.UTF-8" |
|
23 | DEFLOCAL="fr_FR.UTF-8" | |
28 | TIMEZONE="Europe/Paris" |
|
24 | TIMEZONE="Europe/Paris" | |
29 | EXPANDROOT=false |
|
25 | EXPANDROOT=false | |
@@ -35,8 +31,8 XKB_OPTIONS="" | |||||
35 | #------------------------ |
|
31 | #------------------------ | |
36 | ENABLE_DHCP=false |
|
32 | ENABLE_DHCP=false | |
37 | NET_ADDRESS="192.168.***.***/24" |
|
33 | NET_ADDRESS="192.168.***.***/24" | |
38 |
NET_GATEWAY="192.168.***. |
|
34 | NET_GATEWAY="192.168.***.1" | |
39 |
NET_DNS_1="192.168.***. |
|
35 | NET_DNS_1="192.168.***.1" | |
40 | NET_DNS_2="8.8.8.8" |
|
36 | NET_DNS_2="8.8.8.8" | |
41 | #------------------------ |
|
37 | #------------------------ | |
42 | ENABLE_CONSOLE=false |
|
38 | ENABLE_CONSOLE=false | |
@@ -68,11 +64,10 ENABLE_IFNAMES=true | |||||
68 | #------------------------ |
|
64 | #------------------------ | |
69 | ENABLE_ROOT_SSH=false |
|
65 | ENABLE_ROOT_SSH=false | |
70 | SSH_LIMIT_USERS=false |
|
66 | SSH_LIMIT_USERS=false | |
71 | SSH_ROOT_PUB_KEY="/home/*****/.ssh/authorized_keys" |
|
67 | SSH_ROOT_PUB_KEY="/home/*******/.ssh/authorized_keys" | |
72 | SSH_USER_PUB_KEY="/home/*****/.ssh/authorized_keys" |
|
68 | SSH_USER_PUB_KEY="/home/*******/.ssh/authorized_keys" | |
73 | #------------------------ |
|
69 | #------------------------ | |
74 | BUILD_KERNEL=true |
|
70 | BUILD_KERNEL=true | |
75 | KERNEL_BRANCH=rpi-4.13.y |
|
|||
76 | KERNEL_REDUCE=false |
|
71 | KERNEL_REDUCE=false | |
77 | KERNEL_HEADERS=true |
|
72 | KERNEL_HEADERS=true | |
78 | KERNEL_REMOVESRC=true |
|
73 | KERNEL_REMOVESRC=true |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant