aboutsummaryrefslogtreecommitdiff
path: root/release/release.sh
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-07-22 12:03:17 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-07-22 12:03:17 +0000
commit43e289df5a2c4330de932f490cd4246878c51247 (patch)
tree3061c92b508e8f7416fc7aedf7937ed3dddce1b2 /release/release.sh
parent1f8b431d185416f70e96f03b8fd69b98442b1913 (diff)
downloadsrc-43e289df5a2c4330de932f490cd4246878c51247.tar.gz
src-43e289df5a2c4330de932f490cd4246878c51247.zip
release: Add arm_install_boot to install the commit boot bits
This reduce the per-board arm_install_uboot to just install u-boot. While here remove the installation of rpi.dtb and rpi2.dtb as we load them from the UFS partition via ubldr. Reviewed by: gjb, imp (older version) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D16239
Notes
Notes: svn path=/head/; revision=336599
Diffstat (limited to 'release/release.sh')
-rwxr-xr-xrelease/release.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/release/release.sh b/release/release.sh
index 3f7f401642a9..661ae5bfbd89 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -358,6 +358,21 @@ chroot_build_release() {
return 0
} # chroot_build_release()
+efi_boot_name()
+{
+ case $1 in
+ arm)
+ echo "bootarm.efi"
+ ;;
+ arm64)
+ echo "bootaa64.efi"
+ ;;
+ amd64)
+ echo "bootx86.efi"
+ ;;
+ esac
+}
+
# chroot_arm_build_release(): Create arm SD card image.
chroot_arm_build_release() {
load_target_env
@@ -387,6 +402,7 @@ chroot_arm_build_release() {
mdconfig -f ${IMGBASE##${CHROOTDIR}} ${MD_ARGS})
arm_create_disk
arm_install_base
+ arm_install_boot
arm_install_uboot
mdconfig -d -u ${mddev}
chroot ${CHROOTDIR} rmdir ${DESTDIR}