Fix creating directories within DESTDIR.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
51aa8af2cc
commit
6052b0ac86
@ -20,7 +20,7 @@ arm_install_uboot() {
|
||||
UBOOT_DIR="${CHROOTDIR}/usr/local/share/u-boot/u-boot-beaglebone"
|
||||
FATMOUNT="${DESTDIR}/fat"
|
||||
UFSMOUNT="${DESTDIR}/ufs"
|
||||
mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
|
||||
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
|
||||
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
|
||||
chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${UFSMOUNT}
|
||||
cp -p ${UBOOT_DIR}/MLO ${CHROOTDIR}/${FATMOUNT}/MLO
|
||||
|
@ -22,7 +22,7 @@ arm_install_uboot() {
|
||||
start.elf start_cd.elf uboot.img"
|
||||
FATMOUNT="${DESTDIR}/fat"
|
||||
UFSMOUNT="${DESTDIR}/ufs"
|
||||
mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
|
||||
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
|
||||
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
|
||||
chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${UFSMOUNT}
|
||||
for _UF in ${UBOOT_FILES}; do
|
||||
|
Loading…
Reference in New Issue
Block a user