Touch '/firstboot' so the growfs rc(8) script runs.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
4c32646a72
commit
e2ae79b181
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-arm-redux/; revision=282648
@ -27,6 +27,7 @@ arm_install_uboot() {
|
||||
cp -p ${UBOOT_DIR}/u-boot.img ${CHROOTDIR}/${FATMOUNT}/u-boot.img
|
||||
cp -p ${CHROOTDIR}/${UFSMOUNT}/boot/ubldr \
|
||||
${CHROOTDIR}/${FATMOUNT}/ubldr
|
||||
touch ${CHROOTDIR}/${UFSMOUNT}/firstboot
|
||||
sync
|
||||
umount_loop ${CHROOTDIR}/${FATMOUNT}
|
||||
umount_loop ${CHROOTDIR}/${UFSMOUNT}
|
||||
|
@ -27,6 +27,7 @@ arm_install_uboot() {
|
||||
cp -p ${UBOOT_DIR}/u-boot.img ${CHROOTDIR}/${FATMOUNT}/u-boot.img
|
||||
cp -p ${CHROOTDIR}/${UFSMOUNT}/boot/ubldr \
|
||||
${CHROOTDIR}/${FATMOUNT}/ubldr
|
||||
touch ${CHROOTDIR}/${UFSMOUNT}/firstboot
|
||||
sync
|
||||
umount_loop ${CHROOTDIR}/${FATMOUNT}
|
||||
umount_loop ${CHROOTDIR}/${UFSMOUNT}
|
||||
|
@ -32,6 +32,7 @@ arm_install_uboot() {
|
||||
${CHROOTDIR}/${FATMOUNT}/ubldr
|
||||
cp -p ${CHROOTDIR}/${UFSMOUNT}/boot/dtb/rpi.dtb \
|
||||
${CHROOTDIR}/${FATMOUNT}/rpi.dtb
|
||||
touch ${CHROOTDIR}/${UFSMOUNT}/firstboot
|
||||
sync
|
||||
umount_loop ${CHROOTDIR}/${FATMOUNT}
|
||||
umount_loop ${CHROOTDIR}/${UFSMOUNT}
|
||||
|
@ -32,6 +32,7 @@ arm_install_uboot() {
|
||||
${CHROOTDIR}/${FATMOUNT}/ubldr
|
||||
cp -p ${CHROOTDIR}/${UFSMOUNT}/boot/dtb/rpi2.dtb \
|
||||
${CHROOTDIR}/${FATMOUNT}/rpi2.dtb
|
||||
touch ${CHROOTDIR}/${UFSMOUNT}/firstboot
|
||||
sync
|
||||
umount_loop ${CHROOTDIR}/${FATMOUNT}
|
||||
umount_loop ${CHROOTDIR}/${UFSMOUNT}
|
||||
|
@ -31,6 +31,7 @@ arm_install_uboot() {
|
||||
chroot ${CHROOTDIR} echo \
|
||||
'setenv fdt_file wandboard-quad.dtb; fatload mmc 0:1 11000000 ubldr; bootelf 11000000;' \
|
||||
> ${FATMOUNT}/boot.txt
|
||||
touch ${CHROOTDIR}/${UFSMOUNT}/firstboot
|
||||
sync
|
||||
umount_loop ${CHROOTDIR}/${FATMOUNT}
|
||||
umount_loop ${CHROOTDIR}/${UFSMOUNT}
|
||||
|
@ -31,6 +31,7 @@ arm_install_uboot() {
|
||||
chroot ${CHROOTDIR} echo \
|
||||
'setenv fdt_file wandboard-quad.dtb; fatload mmc 0:1 11000000 ubldr; bootelf 11000000;' \
|
||||
> ${FATMOUNT}/boot.txt
|
||||
touch ${CHROOTDIR}/${UFSMOUNT}/firstboot
|
||||
sync
|
||||
umount_loop ${CHROOTDIR}/${FATMOUNT}
|
||||
umount_loop ${CHROOTDIR}/${UFSMOUNT}
|
||||
|
@ -31,6 +31,7 @@ arm_install_uboot() {
|
||||
chroot ${CHROOTDIR} echo \
|
||||
'setenv fdt_file wandboard-quad.dtb; fatload mmc 0:1 11000000 ubldr; bootelf 11000000;' \
|
||||
> ${FATMOUNT}/boot.txt
|
||||
touch ${CHROOTDIR}/${UFSMOUNT}/firstboot
|
||||
sync
|
||||
umount_loop ${CHROOTDIR}/${FATMOUNT}
|
||||
umount_loop ${CHROOTDIR}/${UFSMOUNT}
|
||||
|
Loading…
Reference in New Issue
Block a user