First commit (WIP)
This commit is contained in:
commit
1bbd8d5146
17 changed files with 15205 additions and 0 deletions
20
docker/entrypoint.sh
Executable file
20
docker/entrypoint.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Entrypoint for reform-build-kernel docker image
|
||||
|
||||
if [ -f /output/Image ]
|
||||
then
|
||||
printf "Kernel image exist in destination aborting compilation.\n"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ./make_kernel.sh
|
||||
then
|
||||
cp linux/arch/arm64/boot/Image /output/
|
||||
cp linux/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dtb /output/imx8mq-mnt-reform2-single-display.dtb
|
||||
cp linux/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2-hdmi.dtb /output/imx8mq-mnt-reform2-dual-display.dtb
|
||||
else
|
||||
printf "Error when building Kernel\n" 1>&2
|
||||
exit 10
|
||||
fi
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue