#!/bin/sh

set -e

lb config noauto \
   --distribution buster \
   --architectures i386 \
   --linux-flavours 686-pae \
   --archive-areas "main contrib non-free" \
   --bootappend-live "persistence boot=live components quiet splash locales=fr_FR.UTF-8 keyboard-layouts=fr timezone=Europe/Paris" \
   --apt-indices "false" \
   --updates "false" --security "false" \
   --apt-http-proxy http://localhost:3142 \
   --apt-recommends "false" \
   --firmware-chroot "true" \
   --iso-application "Freeduc Jbart 2020" \
   --iso-publisher "https://usb.freeduc.org ; based on Live Systems project's work" \
   --memtest "none" \
   --win32-loader "false" \
   --source "true" \
   "${@}"
