1#!/bin/sh 2 3# (C) 2012-2016 Fathi Boudra <fathi.boudra@linaro.org> 4 5# Create configuration for live-build. 6 7# You need live-build package installed. 8 9set -e 10 11echo "I: create configuration" 12export LB_BOOTSTRAP_INCLUDE="apt-transport-https gnupg" 13lb config \ 14 --mirror-bootstrap "http://mirrors.ustc.edu.cn/debian" \ 15 --mirror-chroot "http://mirrors.ustc.edu.cn/debian" \ 16 --mirror-chroot-security "http://mirrors.ustc.edu.cn/debian-security" \ 17 --mirror-binary "http://mirrors.ustc.edu.cn/debian" \ 18 --mirror-binary-security "http://mirrors.ustc.edu.cn/debian-security" \ 19 --apt-indices false \ 20 --apt-recommends false \ 21 --apt-secure false \ 22 --architectures arm64 \ 23 --archive-areas 'main contrib non-free' \ 24 --backports false \ 25 --binary-filesystem ext4 \ 26 --binary-images tar \ 27 --bootappend-live "hostname=linaro-alip username=linaro" \ 28 --bootloader "syslinux" \ 29 --bootstrap-qemu-arch arm64 \ 30 --bootstrap-qemu-static /usr/bin/qemu-aarch64-static \ 31 --cache false \ 32 --chroot-filesystem none \ 33 --compression gzip \ 34 --debootstrap-options "--variant=minbase --include=apt-transport-https,gnupg" \ 35 --distribution bullseye \ 36 --gzip-options '-9 --rsyncable' \ 37 --iso-publisher 'Linaro; http://www.linaro.org/; linaro-dev@lists.linaro.org' \ 38 --iso-volume 'Linaro Bullseye $(date +%Y%m%d-%H:%M)' \ 39 --linux-flavours none \ 40 --linux-packages none \ 41 --mode debian \ 42 --security true \ 43 --system normal \ 44 --updates true 45 46echo "I: copy customization" 47test -d customization && cp -rf customization/* config/ 48 49echo "I: done" 50