Install u-boot only on armv7hl systems
U-Boot is not available for AArch64, so this causes basesystem setup to fail when producing AArch64 images.
This commit is contained in:
parent
58f1fc7975
commit
3d71025331
@ -229,11 +229,18 @@ function installbasesystem()
|
||||
# error "line ${LINENO} error installing basesystem-minimal : exiting"
|
||||
# exit ${ERR_1}
|
||||
#fi
|
||||
/usr/bin/dnf --installroot="${BUILD_PATH}" ${DNF_MIRROROPTS} --assumeyes install dnf dnf-plugins-core locales u-boot
|
||||
/usr/bin/dnf --installroot="${BUILD_PATH}" ${DNF_MIRROROPTS} --assumeyes install dnf dnf-plugins-core locales
|
||||
if [ ${?} -ne 0 ]; then
|
||||
error "line ${LINENO} error installing dnf or locales : exiting"
|
||||
exit ${ERR_1}
|
||||
fi
|
||||
if [ "${ARM_VERSION}" = "armv7hl" ]; then
|
||||
/usr/bin/dnf --installroot="${BUILD_PATH}" ${DNF_MIRROROPTS} --assumeyes install u-boot
|
||||
if [ ${?} -ne 0 ]; then
|
||||
error "line ${LINENO} error installing u-boot : exiting"
|
||||
exit ${ERR_1}
|
||||
fi
|
||||
fi
|
||||
/usr/bin/dnf --installroot="${BUILD_PATH}" ${DNF_MIRROROPTS} --assumeyes install urpmi
|
||||
if [ ${?} -ne 0 ]; then
|
||||
error "line ${LINENO} error installing urpmi : exiting"
|
||||
|
Reference in New Issue
Block a user