Fix path to the u-boot.imx file, which is relative to the root of
the chroot environment. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
53b50c1a76
commit
eff85709da
@ -21,7 +21,7 @@ arm_install_uboot() {
|
||||
UBOOT_FILES="u-boot.imx"
|
||||
FATMOUNT="${DESTDIR}/fat"
|
||||
UFSMOUNT="${DESTDIR}/ufs"
|
||||
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
|
||||
chroot ${CHROOTDIR} dd if=${UBOOT_DIR##${CHROOTDIR}}/${UBOOT_FILES} \
|
||||
of=/dev/${mddev} bs=512 seek=2
|
||||
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
|
||||
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
|
||||
|
@ -21,7 +21,7 @@ arm_install_uboot() {
|
||||
UBOOT_FILES="u-boot.imx"
|
||||
FATMOUNT="${DESTDIR}/fat"
|
||||
UFSMOUNT="${DESTDIR}/ufs"
|
||||
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
|
||||
chroot ${CHROOTDIR} dd if=${UBOOT_DIR##${CHROOTDIR}}/${UBOOT_FILES} \
|
||||
of=/dev/${mddev} bs=512 seek=2
|
||||
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
|
||||
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
|
||||
|
@ -21,7 +21,7 @@ arm_install_uboot() {
|
||||
UBOOT_FILES="u-boot.imx"
|
||||
FATMOUNT="${DESTDIR}/fat"
|
||||
UFSMOUNT="${DESTDIR}/ufs"
|
||||
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
|
||||
chroot ${CHROOTDIR} dd if=${UBOOT_DIR##${CHROOTDIR}}/${UBOOT_FILES} \
|
||||
of=/dev/${mddev} bs=512 seek=2
|
||||
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
|
||||
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
|
||||
|
Loading…
x
Reference in New Issue
Block a user