Commit 694b16b4 authored by Geoffrey Gekiere's avatar Geoffrey Gekiere

config de fx sur stretch

parent 32add488
......@@ -10,19 +10,19 @@ LB_APT_INDICES="true"
# $LB_BOOTAPPEND_LIVE: set boot parameters
# (Default: empty)
LB_BOOTAPPEND_LIVE="boot=live persistence timezone=Europe/Paris config quiet splash lang=fr_FT.UTF-8 locales=fr_FR.UTF-8 keybord-layouts=fr keyboard-variants=latin9 vga=791"
LB_BOOTAPPEND_LIVE="boot=live components hostname=studiobox username=studiobox persistence timezone=Europe/Paris config quiet splash lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 keyboard-layouts=fr keyboard-variants=latin9 keyboard-configuration/xkb-keymap=fr(latin9) vga=791"
# $LB_BOOTAPPEND_INSTALL: set boot parameters
# (Default: empty)
LB_BOOTAPPEND_INSTALL=""
LB_BOOTAPPEND_INSTALL="lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 keyboard-configuration/xkb-keymap=fr(latin9)"
# $LB_BOOTAPPEND_LIVE_FAILSAFE: set boot parameters
# (Default: empty)
LB_BOOTAPPEND_LIVE_FAILSAFE="boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal"
# $LB_BOOTLOADER: set bootloader
# (Default: syslinux)
LB_BOOTLOADER="syslinux"
# $LB_BOOTLOADERS: set bootloaders
# (Default: syslinux,grub-efi)
LB_BOOTLOADERS="syslinux"
# $LB_CHECKSUMS: set checksums
# (Default: md5)
......@@ -63,27 +63,31 @@ LB_GRUB_SPLASH=""
# $LB_HDD_LABEL: set hdd label
# (Default: DEBIAN_LIVE)
LB_HDD_LABEL="StudioBox"
LB_HDD_LABEL="DEBIAN_LIVE"
# $LB_HDD_SIZE: set hdd filesystem size
# (Default: auto)
LB_HDD_SIZE="auto"
# $LB_HDD_PARTITION_START: set start of partition for the hdd target for BIOSes that expect a specific boot partition start (e.g. "63s"). If empty, use optimal layout.
# (Default: )
LB_HDD_PARTITION_START=""
# $LB_ISO_APPLICATION: set iso author
# (Default: Debian Live)
LB_ISO_APPLICATION="Debian Live"
# $LB_ISO_PREPARER: set iso preparer
# (Default: live-build 4.0.3-1; http://live-systems.org/devel/live-build)
LB_ISO_PREPARER="live-build 4.0.3-1; http://live-systems.org/devel/live-build"
# (Default: live-build $VERSION; http://live-systems.org/devel/live-build)
LB_ISO_PREPARER="live-build $VERSION; http://live-systems.org/devel/live-build"
# $LB_ISO_PUBLISHER: set iso publisher
# (Default: Live Systems project; http://live-systems.org/; debian-live@lists.debian.org)
LB_ISO_PUBLISHER="Live Systems project; http://live-systems.org/; debian-live@lists.debian.org"
# $LB_ISO_VOLUME: set iso volume (max 32 chars)
# (Default: Debian stretch 20160409-21:51)
LB_ISO_VOLUME="Debian stretch 20160409-21:51"
# (Default: Debian stretch $(date +%Y%m%d-%H:%M))
LB_ISO_VOLUME="Debian stretch $(date +%Y%m%d-%H:%M)"
# $LB_JFFS2_ERASEBLOCK: set jffs2 eraseblock size
# (Default: unset)
......
......@@ -13,52 +13,52 @@ LB_PARENT_DISTRIBUTION="stretch"
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="stretch"
# $LB_PARENT_MIRROR_BOOTSTRAP: set parent mirror to bootstrap from
# (Default: http://ftp.fr.debian.org/debian/)
LB_PARENT_MIRROR_BOOTSTRAP="http://ftp.fr.debian.org/debian/"
# (Default: http://ftp.debian.org/debian/)
LB_PARENT_MIRROR_BOOTSTRAP="http://ftp.debian.org/debian/"
# $LB_PARENT_MIRROR_CHROOT: set parent mirror to fetch packages from
# (Default: http://ftp.fr.debian.org/debian/)
LB_PARENT_MIRROR_CHROOT="http://ftp.fr.debian.org/debian/"
# (Default: http://ftp.debian.org/debian/)
LB_PARENT_MIRROR_CHROOT="http://ftp.debian.org/debian/"
# $LB_PARENT_MIRROR_CHROOT_SECURITY: set security parent mirror to fetch packages from
# (Default: http://security.debian.org/)
LB_PARENT_MIRROR_CHROOT_SECURITY="http://security.debian.org/"
# $LB_PARENT_MIRROR_BINARY: set parent mirror which ends up in the image
# (Default: http://ftp.fr.debian.org/debian/)
LB_PARENT_MIRROR_BINARY="http://ftp.fr.debian.org/debian/"
# (Default: http://httpredir.debian.org/debian/)
LB_PARENT_MIRROR_BINARY="http://httpredir.debian.org/debian/"
# $LB_PARENT_MIRROR_BINARY_SECURITY: set security parent mirror which ends up in the image
# (Default: http://security.debian.org/)
LB_PARENT_MIRROR_BINARY_SECURITY="http://security.debian.org/"
# $LB_PARENT_MIRROR_DEBIAN_INSTALLER: set debian-installer parent mirror
# (Default: http://ftp.fr.debian.org/debian/)
LB_PARENT_MIRROR_DEBIAN_INSTALLER="http://ftp.fr.debian.org/debian/"
# (Default: http://ftp.debian.org/debian/)
LB_PARENT_MIRROR_DEBIAN_INSTALLER="http://ftp.debian.org/debian/"
# $LB_MIRROR_BOOTSTRAP: set mirror to bootstrap from
# (Default: http://ftp.fr.debian.org/debian/)
LB_MIRROR_BOOTSTRAP="http://ftp.fr.debian.org/debian/"
# (Default: http://ftp.debian.org/debian/)
LB_MIRROR_BOOTSTRAP="http://ftp.debian.org/debian/"
# $LB_MIRROR_CHROOT: set mirror to fetch packages from
# (Default: http://ftp.fr.debian.org/debian/)
LB_MIRROR_CHROOT="http://ftp.fr.debian.org/debian/"
# (Default: http://ftp.debian.org/debian/)
LB_MIRROR_CHROOT="http://ftp.debian.org/debian/"
# $LB_MIRROR_CHROOT_SECURITY: set security mirror to fetch packages from
# (Default: http://security.debian.org/)
LB_MIRROR_CHROOT_SECURITY="http://security.debian.org/"
# $LB_MIRROR_BINARY: set mirror which ends up in the image
# (Default: http://ftp.fr.debian.org/debian/)
LB_MIRROR_BINARY="http://ftp.fr.debian.org/debian/"
# (Default: http://httpredir.debian.org/debian/)
LB_MIRROR_BINARY="http://httpredir.debian.org/debian/"
# $LB_MIRROR_BINARY_SECURITY: set security mirror which ends up in the image
# (Default: http://security.debian.org/)
LB_MIRROR_BINARY_SECURITY="http://security.debian.org/"
# $LB_MIRROR_DEBIAN_INSTALLER: set debian-installer mirror
# (Default: http://ftp.fr.debian.org/debian/)
LB_MIRROR_DEBIAN_INSTALLER="http://ftp.fr.debian.org/debian/"
# (Default: http://ftp.debian.org/debian/)
LB_MIRROR_DEBIAN_INSTALLER="http://ftp.debian.org/debian/"
# $LB_BOOTSTRAP_QEMU_ARCHITECTURES: architectures to use foreign bootstrap
# (Default: )
......
[Image]
Architecture: i386
Architecture: amd64
Archive-Areas: main contrib non-free
Distribution: stretch
Mirror-Bootstrap: http://ftp.fr.debian.org/debian/
Mirror-Bootstrap: http://ftp.debian.org/debian/
[FIXME]
Configuration-Version: 4.0.3
Configuration-Version: 1:20170213
Name: live-image
Type: iso-hybrid
......@@ -5,8 +5,8 @@
LB_CHROOT_FILESYSTEM="squashfs"
# $LB_UNION_FILESYSTEM: set union filesystem
# (Default: aufs)
LB_UNION_FILESYSTEM="aufs"
# (Default: overlay)
LB_UNION_FILESYSTEM="overlay"
# $LB_INTERACTIVE: set interactive build
# (Default: false)
......@@ -18,7 +18,7 @@ LB_KEYRING_PACKAGES="debian-archive-keyring"
# $LB_LINUX_FLAVOURS: set kernel flavour to use
# (Default: autodetected)
LB_LINUX_FLAVOURS="686-pae"
LB_LINUX_FLAVOURS="amd64"
# $LB_LINUX_PACKAGES: set kernel packages to use
# (Default: autodetected)
......@@ -34,4 +34,4 @@ LB_UPDATES="true"
# $LB_BACKPORTS: enable backports updates
# (Default: false)
LB_BACKPORTS="false"
LB_BACKPORTS="true"
......@@ -28,10 +28,6 @@ LB_APT_SECURE="true"
# (Default: true)
LB_APT_SOURCE_ARCHIVES="true"
# $LB_BOOTSTRAP: set bootstrap program
# (Default: debootstrap)
LB_BOOTSTRAP="debootstrap"
# $LB_CACHE: control cache
# (Default: true)
LB_CACHE="true"
......@@ -65,8 +61,8 @@ LB_INITRAMFS="live-boot"
LB_INITRAMFS_COMPRESSION="gzip"
# $LB_INITSYSTEM: set init system
# (Default: sysvinit)
LB_INITSYSTEM="sysvinit"
# (Default: systemd)
LB_INITSYSTEM="systemd"
# $LB_FDISK: set fdisk program
# (Default: autodetected)
......@@ -88,10 +84,6 @@ LB_SYSTEM="live"
# (Default: apt)
LB_TASKSEL="apt"
# $LB_TEMPLATES: set templates
# (Default: /usr/share/live/build/templates)
LB_TEMPLATES="/usr/share/live/build/templates"
# live-build options
# $_BREAKPOINTS: enable breakpoints
......@@ -122,6 +114,6 @@ _QUIET="false"
APT_OPTIONS="--yes"
APTITUDE_OPTIONS="--assume-yes"
DEBOOTSTRAP_OPTIONS=""
CDEBOOTSTRAP_OPTIONS=""
GZIP_OPTIONS="-6 --rsyncable"
DEBOOTSTRAP_SCRIPT=""
GZIP_OPTIONS="-6 --rsyncable"
ISOHYBRID_OPTIONS=""
#!/bin/sh
set -e
# Disable kexec-tools
if [ -e /sbin/kexec ]
then
echo "kexec-tools kexec-tools/load_kexec boolean false" > /root/preseed
debconf-set-selections /root/preseed
rm -f /root/preseed
dpkg-reconfigure kexec-tools
fi
#!/bin/sh
set -e
# Disable tmpfs on /tmp
if [ -e /etc/default/rcS ]
then
sed -i -e 's|^ *RAMTMP=.*|RAMTMP=no|' /etc/default/rcS
fi
#!/bin/sh
pip install pytz
pip install pydispatcher
#!/bin/sh
chown -R user:user /home/user
#!/bin/bash
chown -R studiobox:studiobox /home/studiobox
chown -R studiobox:studiobox /home/studiobox/Documents/.*
cp -r /root/etc/* /etc
rm -rf /root/etc
cp -r /root/usr/* /usr
rm -rf /root/usr
chown icecast2:icecast /etc/icecast2/icecast.xml
chmod 644 /etc/icecast2/icecast.xml
#!/bin/sh
set -e
# Create /etc/mtab symlink, replacing a regular file if necessary
if [ ! -L /etc/mtab ]
then
rm -f /etc/mtab
ln -s /proc/mounts /etc/mtab
fi
#!/bin/sh
set -e
# Enable cryptsetup
if [ -e /sbin/cryptsetup ]
then
if [ ! -e /etc/initramfs-tools/conf.d/cryptsetup ]
then
mkdir -p /etc/initramfs-tools/conf.d
cat > /etc/initramfs-tools/conf.d/cryptsetup << EOF
# /etc/initramfs-tools/conf.d/cryptsetup
CRYPTSETUP=yes
export CRYPTSETUP
EOF
fi
fi