From d26a598b4d1a256485a68940e4d6faeb43014c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Thu, 6 Aug 2020 16:11:24 +0200 Subject: Remove commented code --- create_arm_image.sh | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'create_arm_image.sh') diff --git a/create_arm_image.sh b/create_arm_image.sh index 2468f40..e67af63 100755 --- a/create_arm_image.sh +++ b/create_arm_image.sh @@ -268,42 +268,16 @@ function installbasesystem() fi title "installing basesystem" - #/usr/bin/dnf --installroot="${BUILD_PATH}" ${DNF_MIRROROPTS} --assumeyes install shadow-utils basesystem-minimal installpkg "shadow-utils basesystem-minimal" if [ ${?} -ne 0 ]; then error "line ${LINENO} error installing shadow-utils or basesystem-minimal : exiting" exit ${ERR_1} fi - #/usr/bin/dnf --installroot="${BUILD_PATH}" ${DNF_MIRROROPTS} --assumeyes install basesystem-minimal - #if [ ${?} -ne 0 ]; then - # error "line ${LINENO} error installing basesystem-minimal : exiting" - # exit ${ERR_1} - #fi if [ ${INSTALL_METHOD} = "urpmi" ]; then installpkg "urpmi locales" else installpkg "dnf dnf-plugins-core locales" fi - #/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}" = "aarch64" ]; then - #/usr/bin/dnf --installroot="${BUILD_PATH}" ${DNF_MIRROROPTS} --assumeyes install u-boot - # installpkg "/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 - #installpkg "urpmi" - #if [ ${?} -ne 0 ]; then - # error "line ${LINENO} error installing urpmi : exiting" - # exit ${ERR_1} - #fi return 0 } -- cgit v1.2.1