arm.subr (531c2d7af3cd2e64eec94aa1b19c4b2f16fce515) | arm.subr (c52962c68eb7d7f0411483628c372f3cecb1727a) |
---|---|
1#!/bin/sh 2#- 3# Copyright (c) 2015-2017 The FreeBSD Foundation 4# All rights reserved. 5# 6# Portions of this software were developed by Glen Barber 7# under sponsorship from the FreeBSD Foundation. 8# --- 85 unchanged lines hidden (view full) --- 94 95arm_install_base() { 96 chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${DESTDIR} 97 eval chroot ${CHROOTDIR} make -C ${WORLDDIR} \ 98 TARGET=${EMBEDDED_TARGET} \ 99 TARGET_ARCH=${EMBEDDED_TARGET_ARCH} \ 100 DESTDIR=${DESTDIR} KERNCONF=${KERNEL} \ 101 installworld installkernel distribution | 1#!/bin/sh 2#- 3# Copyright (c) 2015-2017 The FreeBSD Foundation 4# All rights reserved. 5# 6# Portions of this software were developed by Glen Barber 7# under sponsorship from the FreeBSD Foundation. 8# --- 85 unchanged lines hidden (view full) --- 94 95arm_install_base() { 96 chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${DESTDIR} 97 eval chroot ${CHROOTDIR} make -C ${WORLDDIR} \ 98 TARGET=${EMBEDDED_TARGET} \ 99 TARGET_ARCH=${EMBEDDED_TARGET_ARCH} \ 100 DESTDIR=${DESTDIR} KERNCONF=${KERNEL} \ 101 installworld installkernel distribution |
102 103 # Bootstrap etcupdate(8) and mergemaster(8) databases. 104 mkdir -p ${DESTDIR}/var/db/etcupdate 105 etcupdate extract -B \ 106 -M "TARGET=${EMBEDDED_TARGET} TARGET_ARCH=${EMBEDDED_TARGET_ARCH}" \ 107 -s ${WORLDDIR} -d ${DESTDIR}/var/db/etcupdate 108 sh ${WORLDDIR}/release/scripts/mm-mtree.sh -m ${WORLDDIR} \ 109 -F "TARGET=${EMBEDDED_TARGET} TARGET_ARCH=${EMBEDDED_TARGET_ARCH}" \ 110 -D ${DESTDIR} 111 |
|
102 chroot ${CHROOTDIR} mkdir -p ${DESTDIR}/boot/msdos 103 104 arm_create_user 105 106 echo '# Custom /etc/fstab for FreeBSD embedded images' \ 107 > ${CHROOTDIR}/${DESTDIR}/etc/fstab 108 echo "/dev/ufs/rootfs / ufs rw 1 1" \ 109 >> ${CHROOTDIR}/${DESTDIR}/etc/fstab --- 27 unchanged lines hidden --- | 112 chroot ${CHROOTDIR} mkdir -p ${DESTDIR}/boot/msdos 113 114 arm_create_user 115 116 echo '# Custom /etc/fstab for FreeBSD embedded images' \ 117 > ${CHROOTDIR}/${DESTDIR}/etc/fstab 118 echo "/dev/ufs/rootfs / ufs rw 1 1" \ 119 >> ${CHROOTDIR}/${DESTDIR}/etc/fstab --- 27 unchanged lines hidden --- |