live-proxmox/bin/build-iso

22 lines
361 B
Bash
Executable File

#!/bin/sh
# This runs _inside_ the container to install dependencies and to execute the
# live-build steps that actually build the live image.
set -e
apt-get update
apt-get install live-build --yes
mkdir -p build dist
cp -r live-build/* build/
cd build
lb config
cp -r auto ../live-build
cp -r config ../live-build
lb build
ls -lah .
cp -v *.iso ../dist/