reform2_mkimage/docker/entrypoint.sh
2021-07-22 19:59:00 +02:00

11 lines
278 B
Bash
Executable file

#!/bin/bash
[[ -z $RECIPE ]] && RECIPE="default"
[[ -z $KERNEL ]] && KERNEL="5.11"
[[ -z $OUTPUT ]] && OUTPUT="/output"
[[ -z $REPO ]] && REPO="/output"
if ! ./make_image.sh -r $RECIPE -k $KERNEL -o $OUTPUT --repository $REPO
then
printf "Error when create userland\n"
fi