30 lines
545 B
Bash
Executable file
30 lines
545 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case "$(dpkg --print-architecture)" in
|
|
amd64)
|
|
_SOURCE="false"
|
|
;;
|
|
|
|
i386)
|
|
_SOURCE="false"
|
|
;;
|
|
esac
|
|
|
|
lb config noauto \
|
|
--clean \
|
|
--ignore-system-defaults \
|
|
--mode debian \
|
|
--debian-installer none \
|
|
--linux-packages "linux-image" \
|
|
--source "${_SOURCE}" \
|
|
--bootappend-live "boot=live components quiet splash persistence" \
|
|
-b iso-hybrid \
|
|
--apt-http-proxy http://127.0.0.1:3142 \
|
|
--memtest none \
|
|
-d stable \
|
|
--archive-areas main,non-free-firmware \
|
|
--parent-archive-areas main,non-free-firmware \
|
|
"${@}"
|