Commit b6239cd5 authored by Guido Gunther's avatar Guido Gunther
Browse files

Introduce 'plain' build type

This is supposed to build everything from the archive without
reaching out to external sources. This isn't true for uboot
yet though.
parent b7f03a4f
Pipeline #49701 passed with stage
in 20 seconds
......@@ -14,7 +14,7 @@ usage() {
echo " -b [imx6|imx8|devkit|librem5|qemu-x86_64] select the board type."
echo " -d <distro> distro to use. [ amber-phone, amber-phone+ci, buster+ci ]"
# TODO: add stable and drop ci
echo " -T kernel/uboot build type (legacy/current/next)"
echo " -T kernel/uboot build type (legacy/current/next/plain)"
echo " -B build rootfs tarball as well"
}
......
......@@ -83,6 +83,11 @@ case ${pureos_board} in
kernel_url="${kernel_base}/kernel_linux-next_imx8-current-librem5/${archive_path}"
uboot_url="${uboot_base}/uboot_devkit_build/${archive_path}"
;;
plain)
board_packages=linux-image-librem5
# uboot should be a deb too:
uboot_url="${uboot_base}/uboot_devkit_build/${archive_path}"
;;
*)
echo "unknown kernel type for devkit build ${build_type}"
exit 1
......@@ -100,6 +105,7 @@ case ${pureos_board} in
--arch="${arch}"
)
board_packages="
${board_packages}
librem5-devkit-base
librem5-dev-tools
librem5-gnome-dev
......@@ -121,6 +127,11 @@ case ${pureos_board} in
kernel_url="${kernel_base}/kernel_linux-next_imx8-current-librem5/${archive_path}"
uboot_url="${uboot_base}/uboot_librem5_build/${archive_path}"
;;
plain)
board_packages=linux-image-librem5
# uboot should be a deb too:
uboot_url="${uboot_base}/uboot_librem5_build/${archive_path}"
;;
*)
echo "unknown kernel type for librem5 build ${build_type}"
exit 1
......@@ -138,6 +149,7 @@ case ${pureos_board} in
--arch="${arch}"
)
board_packages="
${board_packages}
librem5-devkit-base
"
image_size=3000
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment