aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJybz <j.biernacki+mga@free.fr>2020-11-19 10:04:10 +0100
committerJybz <j.biernacki+mga@free.fr>2020-11-19 10:04:10 +0100
commitd4f96c7cdb87e8df7cffdcb33b333c45e3c78d69 (patch)
tree9824b9168854ec755a453da05699608eb5ee2617
parentf72edb40ed7312a14a02b5fbfc6bd488c2433821 (diff)
downloadmageia4arm-d4f96c7cdb87e8df7cffdcb33b333c45e3c78d69.tar
mageia4arm-d4f96c7cdb87e8df7cffdcb33b333c45e3c78d69.tar.gz
mageia4arm-d4f96c7cdb87e8df7cffdcb33b333c45e3c78d69.tar.bz2
mageia4arm-d4f96c7cdb87e8df7cffdcb33b333c45e3c78d69.tar.xz
mageia4arm-d4f96c7cdb87e8df7cffdcb33b333c45e3c78d69.zip
Add extrapackage installation, preparing Desktop Environment.
-rwxr-xr-xcreate_arm_image.sh3
-rwxr-xr-xfunctions.sh4
2 files changed, 3 insertions, 4 deletions
diff --git a/create_arm_image.sh b/create_arm_image.sh
index e56f2aa..25f8e2b 100755
--- a/create_arm_image.sh
+++ b/create_arm_image.sh
@@ -336,7 +336,7 @@ case ${OPT} in
exit ${ERR_NO_SPACE}
fi
fi
- ckeck_extrapackage
+ check_extrapackage
createImageWrap #Create the empty .img
mountPartitions
createchroot #Check qemu and activate it
@@ -349,6 +349,7 @@ case ${OPT} in
mkfstab
preparechroot
jumpchroot
+ extrapackage
copyingsystem
bunrningBootloader
unmountingPartitions
diff --git a/functions.sh b/functions.sh
index 78285bc..891803c 100755
--- a/functions.sh
+++ b/functions.sh
@@ -834,9 +834,7 @@ function check_extrapackage() {
}
function extrapackage() {
- for i in ${PACKAGE_VALID} ; do
- installpkg ${i}
- done
+ installpkg ${PACKAGE_VALID}
return 0
}