From 317312c002e66348602eaad2028bf02473ac468c 2020-09-27 17:19:59 From: Gérard Vidal Date: 2020-09-27 17:19:59 Subject: [PATCH] modif raspife3 --- diff --git a/templates/raspife3-buster b/templates/raspife3-buster index edb3bf3..4166806 100644 --- a/templates/raspife3-buster +++ b/templates/raspife3-buster @@ -1,100 +1,130 @@ - -# Configuration file raspi3 Buster IFÉ 2017/11/01 - # +# Configuration file raspi3 Buster IFÉ 2020/06/20 +# +#--------------------- +#--- APT settings ---- +#--------------------- APT_SERVER=debian.mirrors.ovh.net APT_INCLUDES="" -APT_INCLUDES_LATE="gnupg,firmware-linux-nonfree,firmware-linux,dh-autoreconf,\ -gettext,build-essential,git,cmake,libjson-c-dev,unzip,usbutils,\ -bison,libboost-all-dev,automake,autoconf,autogen,libtool,libtool-bin,\ -pkg-config,checkinstall,menulibre,libnotify-bin,pandoc,\ -python3,python3-dev,python3-pypandoc,python3-scipy,python3-tk,python3-pandocfilters,\ -python3-geopy,python3-pip,\ -python,python-dev,python-pypandoc,python-scipy,python-tk,python-pandocfilters,\ -python-geopy,python-pip,python-tk,pandoc,\ -python-configobj,python-cheetah,python-imaging,python-serial,python-usb,\ -pcre2-utils,libpcre++-dev,libpcre2-dev,libjpeg-dev,i2c-tools,python-smbus,policykit-1,\ -pmount,ntpdate,ntp,rsync,\ -texlive,texlive-xetex,nginx-extras,ffmpeg,wicd,wicd-gtk,console-data,keyboard-configuration,\ -libqtwebkit-dev,libqt5webkit5-dev,\ -libudev-dev,libzzip-dev,zlib1g-dev,libcanberra-gtk-module,libnss-myhostname,libfreetype6-dev,libpng16-16,\ -nmap,libltdl-dev,dbus-user-session,debian-archive-keyring,\ -xutils-dev,lxsession,openbox-lxde-session,lxde,x11proto-randr-dev,lxrandr,\ -tightvncserver,geany,geany-plugin-py,firefox-esr,firefox-esr-l10n-fr,jed,terminator,automake" -#ca-certificates-java,icedtea-plugin,icedtea-netx,\ -#openjdk-8-jdk,openjdk-8-jre,openjdk-8-jre-headless,\ -#openjdk-9-jdk,openjdk-9-jre,openjdk-9-jre-headless" -#---------------------- -RPI_MODEL=3 +APT_INCLUDES_LATE="" +#------------------------------- +#--- General System Settings --- +#------------------------------- +SET_ARCH=32 +RPI_MODEL=3 RELEASE="buster" -RELEASE_ARCH="armhf" -HOSTNAME="raspife3" -PASSWORD="***********" -USER_PASSWORD="*************" -DEFLOCAL="fr_FR.UTF-8" +HOSTNAME="raspife3P" +DEFLOCAL="fr_FR.UTF-8" TIMEZONE="Europe/Paris" EXPANDROOT=false -#----------------------- +#--------------------- +#--- User Settings --- +#--------------------- +ENABLE_ROOT=false +ROOT_PASSWORD="Achanger1$" +ENABLE_USER=true +USER_NAME=ens-ife +USER_PASSWORD="AChanger1$" +#------------------------- +#--- Keyboard Settings --- +#------------------------- XKB_MODEL="pc105" XKB_LAYOUT="fr" XKB_VARIANT="latin9" XKB_OPTIONS="" #------------------------ -ENABLE_DHCP=true +#--- Network Settings --- #------------------------ +ENABLE_IPV6=true +ENABLE_WIRELESS=true +ENABLE_IPTABLES=false +ENABLE_IFNAMES=true +ENABLE_HARDNET=true +ENABLE_ETH_DHCP=true +ENABLE_WIFI_DHCP=true +NET_WIFI_SSID=MobileClimatEtMeteo +NET_WIFI_PSK=ClimatEtMeteo +#--------------------- +#--- Basic features--- +#--------------------- ENABLE_CONSOLE=false +ENABLE_BLUETOOTH=false +ENABLE_TURBO=false ENABLE_I2C=true ENABLE_SPI=true -ENABLE_IPV6=true -ENABLE_SSHD=true -ENABLE_NONFREE=true -ENABLE_WIRELESS=true -ENABLE_RSYSLOG=true -ENABLE_SOUND=true -ENABLE_HWRANDOM=true -ENABLE_MINGPU=true -ENABLE_DBUS=true +SSH_ENABLE=true +ENABLE_NONFREE=true +ENABLE_RSYSLOG=true +ENABLE_SOUND=true +ENABLE_HWRANDOM=true +ENABLE_MINGPU=true ENABLE_XORG=true -ENABLE_WM="lxdm" -#------------------------ +ENABLE_WM="lxdm" +ENABLE_SYSVINIT=true +ENABLE_SPLASH=true +ENABLE_LOGO=true +ENABLE_SILENT_BOOT=false +#-------------------------------- +#--- Advanced System features --- +#-------------------------------- +ENABLE_DPHYSSWAP=false +ENABLE_QEMU=true ENABLE_MINBASE=false -ENABLE_REDUCE=false +ENABLE_SPLITFS=false +ENABLE_INITRAMFS=true +ENABLE_DBUS=true +ENABLE_USBBOOT=false ENABLE_UBOOT=false ENABLE_FBTURBO=true -ENABLE_IPTABLES=false -ENABLE_USER=true -USER_NAME=ens-ife -ENABLE_ROOT=true -ENABLE_HARDNET=true -ENABLE_INITRAMFS=true -ENABLE_IFNAMES=true -#------------------------ -ENABLE_ROOT_SSH=false +ENABLE_VIDEOCORE=true +ENABLE_NEXMON=false +#-------------------- +#--- ssh settings --- +#-------------------- +SSH_ENABLE_ROOT=false +SSH_DISABLE_PASSWORD_AUTH=false SSH_LIMIT_USERS=false -SSH_ROOT_PUB_KEY="/home/*****/.ssh/authorized_keys" -SSH_USER_PUB_KEY="/home/*****/.ssh/authorized_keys" -#------------------------ +SSH_ROOT_PUB_KEY="/home/vidal/.ssh/authorized_keys" +SSH_USER_PUB_KEY="/home/vidal/.ssh/authorized_keys" +#----------------------- +#--- Kernel settings --- +#----------------------- BUILD_KERNEL=true -KERNEL_BRANCH=rpi-4.13.y -KERNEL_REDUCE=false +KERNEL_BRANCH=rpi-4.19.y KERNEL_HEADERS=true +KERNEL_MENUCONFIG=false +KERNEL_CCACHE=true KERNEL_REMOVESRC=true KERNELSRC_CLEAN=true KERNELSRC_CONFIG=true +KERNEL_DEFAULT_GOV=ondemand +KERNEL_VIRT=false +KERNEL_SECURITY=false +KERNEL_DHKEY=true +#------------------------ +#--- Reduce disk usage -- #------------------------ +ENABLE_REDUCE=false REDUCE_APT=false REDUCE_DOC=true REDUCE_MAN=false -REDUCE_HWDB=true -REDUCE_BASH=false +REDUCE_VIM=false +REDUCE_BASH=false +REDUCE_HWDB=false REDUCE_SSHD=false REDUCE_LOCALE=false -#------------------------- +REDUCE_KERNEL=false +#-------------------------------- +#--- Encrypted root partition --- +#-------------------------------- ENABLE_CRYPTFS=false -#------------------------- +#---------------------- +#--- Build settings --- +#---------------------- BASEDIR=/data/RpiGenImage/Images/${RELEASE} #BASEDIR=/media/*******/*********/Nano-Ordinateurs/RaspberryPi/RpiGenImage/Images/${RELEASE} DATE=`date +%Y-%m-%d` IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE} +