aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--README.md286
-rw-r--r--common/etc/hostname1
-rwxr-xr-xcreate_arm_img_urpmi.sh1641
-rw-r--r--log/creation.log1563
-rw-r--r--platforms/bananaPro/README.md120
-rw-r--r--platforms/bananaPro/UBOOT.config1472
-rw-r--r--platforms/bananaPro/boot.cmd17
-rw-r--r--platforms/bananaPro/mageia4arm.cfg75
-rw-r--r--platforms/bananaPro/second_stage_install.sh101
-rwxr-xr-xplatforms/bananaPro/specialFunctions.sh70
-rw-r--r--platforms/bananaPro/u-boot-sunxi-with-spl.binbin0 -> 489010 bytes
-rw-r--r--platforms/bananaPro/u-boot.dtbbin0 -> 27654 bytes
-rw-r--r--platforms/rpi1/mageia4arm.cfg~57
-rwxr-xr-xplatforms/rpi1/specialFunctions.sh130
-rw-r--r--platforms/rpi2/mageia4arm.cfg~57
-rwxr-xr-xplatforms/rpi2/specialFunctions.sh129
-rw-r--r--platforms/rpi3+/mageia4arm.cfg~57
-rwxr-xr-xplatforms/rpi3+/specialFunctions.sh130
-rw-r--r--platforms/rpi3/mageia4arm.cfg~57
-rwxr-xr-xplatforms/rpi3/specialFunctions.sh129
-rw-r--r--platforms/xu4/mageia4arm.cfg~52
-rw-r--r--platforms/xu4/second_stage_install.sh~34
-rwxr-xr-xplatforms/xu4/specialFunctions.sh100
-rwxr-xr-xtools/resize_root.sh32
25 files changed, 5157 insertions, 1156 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e9f2e4f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/build
+/platforms/*/INFO/
+/log/
diff --git a/README.md b/README.md
index e9cefd8..43ae3e9 100644
--- a/README.md
+++ b/README.md
@@ -1,44 +1,300 @@
-# mageia4arm
+mageia4arm
+==========
+Short :
+-------
+* [Français](#francais)
+* [English](#english)
+
+
+<a id="francais"/>
+Français
+--------
+
+* [Description](#fr_desc)
+* [Rapidement](#fr_quick)
+* [Créer une image](#fr_creatimg)
+* [Aide](#fr_help)
+* [Premier démarrage](#fr_1stStart)
+* [Nouvelle plateforme](#fr_newPlat)
+ * [Fichier de configuration](#fr_file-conf)
+ * [Fichier chroot](#fr_file-second)
+ * [Fichier de fonctions personnalisées](#fr_file-spe)
+ * [Fichier extlinux](#fr_file-extlinux)
+ * [Autres fichiers](#fr_file_others)
+* [Extras](#fr_extras)
+ * [Graver l'image](#fr_burn)
+ * [Compresser l'image](#fr_compress)
+ * [Générer une checksum](#fr_gen_chksum)
+ * [Signer la checksum](#fr_sign)
+ * [Vérifier une signature](#fr_verify)
+ * [Étendre la partition](#fr_extend)
+
+
+<a id="fr_desc"></a>
+### Description :
Outils servant à générer une image Mageia pour systèmes à base de processeurs arm
-Démarrage rapide:
+<a id="fr_quick"/>
+### Démarrage rapide :
+Avoir une copie de ce dépot :
+```
+git clone https://git.labolyon.fr/DTux/mageia4arm
+```
Choisissez le dossier de configuration adapté à votre besoin (rpi ou xu4), sinon créez un nouveau dossier de configuration, copiez le fichier "mageia4arm.cfg.template" à l'interieur et modifiez le selon vos besoins.
Par défaut l'utilisateur est "pi" avec le mot de passe "raspberry", et l'administrateur "root" avec le mot de passe "piroot".
-Créer l'image:
-create_arm_img_urpmi.sh --all --config <dossier de configuration\>
+<a id="fr_creatimg"/>
+### Créer l'image :
+create_arm_img_urpmi.sh --all --config \<dossier de configuration\>
+Par exemple :
+```
+su -
+<mot de passe root>
+cd /home/user/workspace/mageia4arm/
+./create_arm_img_urpmi.sh --all --target bananaPro --size 4 --tainted --nonfree --build-path ./build --config bananaPro 2>&1 | tee -a ./build.log
+```
+Avec cette commande, toutes les étapes (--all) du processus de création pour (--target) la bananaPro sont exécuter. L'image final tiendra sur une carte de (--size) 4Go. Les dépots tainted et nonfree seront activé. Le chemin de construction (--build-path) sera ./build. Finalement, la configuration (--config) sera bananaPro. La suite de la commande, 2>&1 redirige la sortie d'erreur dans la sortie standart et le tout est dupliqué (| tee -a) dans le fichier build.log pour le déboguage.
-Aide:
+<a id="fr_help"/>
+### Aide :
create_arm_img_urpmi.sh -h|--help
Vous pouvez adapter le script "second_stage_install.sh" afin de compléter l'installation.
Des scripts sont disponibles dans le dossier "tools", ils sont copié dans /usr/local/bin/ dans l'image.
-Premier lancement de l'image sur le raspberry pi:
-- lancer drakkeyboard afin de configurer le clavier
-- si vous avez besoin d'un gestionnaire graphique, lancer le script:
-install_graphical.sh <gestionnaire-graphique\>( xfce, lxqt, plasma, ...) voir les métapaquetages disponibles dans "Environnement graphique" dans le gestionnaire de logiciels.
+<a id="fr_1stStart"/>
+### Premier lancement de l'image sur le raspberry pi :
+- lancer drakkeyboard afin de configurer le clavier
+- si vous avez besoin d'un gestionnaire graphique, lancer le script :<br/>install_graphical.sh \<gestionnaire-graphique\>( xfce, lxqt, plasma, ...) voir les métapaquetages disponibles dans "Environnement graphique" dans le gestionnaire de logiciels.
+
+
+<a id="fr_newPlat"/>
+### Ajouter une nouvelle plateforme :
+Pour ajouter une nouvelle plateforme, il faut le dossier au nom du matériel dans le dossier platforms contenant le fichier mageia4arm.cfg comprennant les informations relatif à la distribution Mageia, le fichier second_stage_install.sh qui vient installer le système, le fichier specialFunctions.sh qui implémentes les fonctions pour affiner l'installation à la plateforme et extlinux.conf.
+
+<a id="fr_file-conf"/>
+#### mageia4arm.cfg
+Un modèle est présent à la source de ce projet. Il contient les variables nécessaire à l'installation de Mageia, comme la version, l'architecture, le mirroir, les mots de passes etc.
+
+<a id="fr_file-second"/>
+#### second_stage_install.sh
+Ce script est lancé avec chroot, ainsi nous pouvons exécuter des opérations personnalisées comme l'installation de paquets non présents des dépots de Mageia. Ce script vient aussi définir les groupes de fichiers.
+
+<a id="fr_file-spe"/>
+#### specialFunctions.sh
+Ce script complémente le processus d'installation pour des éléments spécifiques à la plateformes, comme le partitionnement, la manière de mettre en place le chargeur de démarrage, le téléchargements de fichiers externe, etc.
+Le script doit implémenter ces quatres fonctions :
+```
+function preImgCreation() {
+ #Possibilité de télécharger des éléments supplémentaires ici.
+ return 0
+}
+function postPrepareChroot() {
+ #Possibilité de copier des fichiers spécifique à la plateforme avant de lancer le script second_stage_install.sh.
+ return 0
+}
+function burningBootloader() {
+ #Plusieurs méthodes sont possibles pour flasher le chargeur de démarrage, et dépendent de la plateforme.
+ return 0
+}
+function copyingCustomSystem() {
+ #Possibilité de copier des fichiers dans le système monté.
+ return 0
+}
+```
+Si l'une de ces fonctions ne retourne pas 0, la création de l'image échoue.
+
+<a id="fr_file-extlinux"/>
+#### extlinux.conf
+???
+
+<a id="fr_file-others"/>
+#### Autres
+Bien sûr, d'autres fichiers sont nécessaires. Il faut avoir l'arborescence du matériel (soit DTB/DTS, soit script.bin), le chargeur de démarrage spécifique à la plateforme ainsi qu'un noyau compatible avec l'architecture de la plateforme.
+
+<a id="fr_extras"/>
+### Extras :
+Diverses informations complémentaires.
+
+<a id="fr_burn"/>
+#### Graver une image
+Il est possible de graver l'image avec dd, souvent les cartes SD sont disponibles sous le nom mmcblkX avec X leurs numéros.
+```
+dd if=./build/Mageia-7-bananaPro1.img of=/dev/mmcblkX
+```
+On peut ajouter une barre de progression :
+```
+dd if=./build/Mageia-7-bananaPro1.img | pv -s $(ls -l ./build/Mageia-7-bananaPro1.img | cut -d ' ' -f 5) | dd of=/dev/mmcblkX
+```
+
+<a id="fr_compress"/>
+#### Compresser une image
+Pour compresser l'image, de plusieurs Go en quelques centaines de Mo pour la mettre en ligne par exemple, il est possible d'exécuter la commande suivante :
+```
+dd if=./build/Mageia-7-bananaPro1.img | gzip -9 | dd of=./build/Mageia-7-bananaPro1.img.gzip
+```
+Avec une barre d'avancement :
+```
+dd if=./build/Mageia-7-bananaPro1.img | pv -s $(ls -l ./build/Mageia-7-bananaPro1.img | cut -d ' ' -f 5) | gzip -9 | dd of=./build/Mageia-7-bananaPro1.img.gzip
+```
+Il est possible d'utiliser d'autre logiciel de compression comme xz par exemple.
+
+<a id="fr_gen_chksum"/>
+#### Calculer les sommes de contrôles
+Pour s'assurer qu'un fichier a été bien téléchargé, pour vérifier son intégrité, il est d'usage de comparer la somme de contrôle. On peut la calculer avec l'algorithme MD5, SHA1, SHA256, SHA512. Par exemple :
+```
+cd /home/user/workspace/mageia4arm/build
+md5sum Mageia-7-bananaPro1.img > Mageia-7-bananaPro1.img.md5
+```
+Il est possible de remplacer la commande md5sum par sha1sum ou sha256sum ou encore sha512sum.
+<a id="fr_sign"/>
+#### Signer les sommes de contrôles
+Pour assurer les utilisateurs que le fichier téléchargé vient bien de vous et non d'un tiers malveillant, il est possible de signer la somme de contrôle avec votre clef.
+```
+cd /home/user/workspace/mageia4arm/build
+gpg --sign Mageia-7-bananaPro1.img.md5
+```
+La commande génère automatiquement le fichier de signature reprenant le nom du fichier à l'identique et ajoutant l'extension .gpg.
+<a id="fr_verify"/>
+#### Vérifier les sommes de contrôles
+Pour vérifier une somme de contrôle, il faut joindre le créateur de l'image, lui faire confiance, ajouter sa clef à son trousseau de clef. Ensuite, il est possible d'exécuter la commande suivante :
+```
+cd /home/user/Téléchargements/
+gpg --verify Mageia-7-bananaPro1.img.md5
+```
+<a id="fr_extend"/>
+#### Étendre la partition
+L'image créé peut contenir une partition root très réduite. Ceci permet d'économiser de la place pour la construction, le stockage de l'image et sûrtout un temps réduit pour graver l'image sur une carte sd.
+Il est possible d'étendre cette partition pour profiter pleinement de l'entièreté de la carte SD. Le plus simple est avec l'utilitaire growpart dans le paquet cloud-utils-growpart.
+Les valeurs X et Y sont à remplacer par le périphérique et la dernière partition du périphérique à étendre.
+```
+#Vérifier la partition, il peut être demandé pour l'étape suivante.
+e2fsck -f /dev/mmcblkXpY
+
+#Défini la nouvelle taille. (Change de langue avec LC_ALL car growpart ne supporte pas 'octet'.
+LC_ALL=C growpart /dev/mmcblkX partitionNumber
+
+#Change la taille
+resize2fs /dev/mmcblkXpY
+
+#Synchronise, vide le cache USB et assure que les données sont sur la clef.
+sync
+```
+
+
+<a id="english"/>
+English
+-------
+
+* [Description](#en_desc)
+* [Quickly](#en_quick)
+* [Create an image](#en_creatimg)
+* [Help](#en_help)
+* [First boot](#en_1stStart)
+* [New Platform](#en_newPlat)
+ * [Configuration File](#en_file-conf)
+ * [chroot Filechroot](#en_file-second)
+ * [Custom function File](#en_file-spe)
+ * [extlinux File](#en_file-extlinux)
+ * [Other Files](#en_file-others)
+* [Extras](#en_extras)
+ * [Burn the image](#en_burn)
+ * [Compress the Image](#en_compress)
+ * [Generate the Checksum](#en_gen_chksum)
+ * [Sign the Checksum](#en_sign)
+ * [Verify the Signature](#en_verify)
+ * [extending the partition](#en_extend)
+
+<a id="en_desc"/>
+### Description:
This repository contains script to make image for arm based systems from Mageia repositories.
-Quick start:
+<a id="en_quick"/>
+<a id="en_creatimg"/>
+### Quick start:
Choose the config dir you need (rpi or xu4), else create a new config directory with "mageia4arm.cfg.template" in and modify it as you need.
By default username is "pi" with password "raspberry" and root password is "piroot".
create_arm_img_urpmi.sh --all --config <your config dir\>
+Example given :
+```
+su -
+<root password>
+cd /home/user/workspace/mageia4arm/
+./create_arm_img_urpmi.sh --all --target bananaPro --size 4 --tainted --nonfree --build-path ./build --config bananaPro 2>&1 | tee -a ./build.log
+```
+With such command, all steps of the build process for the bananaPro will be executed. The final image will fit into a 4 GB SD card. The nonfree and tainted repositories will be activated. The build path will be the directory ./build. Finaly, the configuration is for bananaPro. The rest of the command, 2>&1 redirect the stderr stream into the stdout and it will be duplicated inside the build.log file for debug purpose.
-Help:
+<a id="en_help"/>
+### Help:
create_arm_img_urpmi.sh -h|--help
you can adapt the script "second_stage_install.sh" to complete the installation.
Some scripts are available in directory "tools". they are copied in /usr/local/bin/ in the image.
-First launch of the image on raspberry pi:
-- launch drakkeyboard to configure keyboard layout.
-- if you need a graphical environment, launch the script :
- install_graphical.sh <graphical environment\> ( xfce, lxqt, plasma, ...), see "Graphical environment" in the Mageia application manager meta packages.
+<a id="en_1stStart"/>
+### First launch of the image on raspberry pi:
+- launch drakkeyboard to configure keyboard layout.
+- if you need a graphical environment, launch the script :<br/>install_graphical.sh \<graphical environment\> ( xfce, lxqt, plasma, ...), see "Graphical environment" in the Mageia application manager meta packages.
+
+
+<a id="en_newPlat"/>
+### Adding a new platform:
+To add a new platform, a new folder needs to be created in the platforms directory with the name of the platform containing the mageia4arm.cfg configuration file about the Mageia distribution itself, the second_stage_install.sh script which install the system, the specialFunctions.sh script which implements functions in order to fit the platform and the extlinux.conf file.
+
+<a id="en_file-conf"/>
+#### mageia4arm.cfg
+A template file is located in the root of the project. It contains all necessary variables for the installation of Mageia, as the version, architecture, mirroir, password etc.
+
+<a id="en_file-second"/>
+#### second_stage_install.sh
+This script is launched with chroot, then we can execute custom operation as installing packages that are not from Mageia.org. This script also defines some files groups.
+
+<a id="en_file-spe"/>
+#### specialFunctions.sh
+This script add into the installation process some elements specific to the platform, as the partitionning, the fashon to set the bootloader, downloading external files, etc.
+It must implement the four next functons :
+```
+function preImgCreation() {
+ #Here it is possible to download external file.
+ return 0
+}
+function postPrepareChroot() {
+ #Possibility to copy/paste platform related files before to launch the second_stage_install.sh script.
+ return 0
+}
+function burningBootloader() {
+ #There are several methods to flash the bootloader and depend on the platform.
+ return 0
+}
+function copyingCustomSystem() {
+ #It is possible to copy files into the mounted system.=
+ return 0
+}
+```
+If one of this functions does not return 0, the process is stoped.
+
+<a id="en_file-extlinux"/>
+#### extlinux.conf
+???
+
+<a id="en_file-others"/>
+#### others
+Of course, other files are necessary. The device tree (DTB/DTS or script.bin) is necessary, a specific bootloader for the platform and a compatible kernel with that architecture.
+
+
+<a id="en_extras"/>
+<a id="en_burn"/>
+<a id="en_compress"/>
+<a id="en_gen_chksum"/>
+<a id="en_sign"/>
+<a id="en_verify"/>
+<a id="en_extend"/>
+### extras:
+Not translated.
diff --git a/common/etc/hostname b/common/etc/hostname
deleted file mode 100644
index 2126b3d..0000000
--- a/common/etc/hostname
+++ /dev/null
@@ -1 +0,0 @@
-pi.raspberry
diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh
index 37ab33a..a11d4c3 100755
--- a/create_arm_img_urpmi.sh
+++ b/create_arm_img_urpmi.sh
@@ -15,946 +15,935 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#Change the local to the most global
+export LC_ALL=C
-function title()
+function WaitToContinue() {
+ read -p "Break... Press [ENTER] to continue." GARBAGE
+}
+
+function title() {
+ echo -e "\e[1;32m${1}\e[0m"
+}
+
+function info() {
+ echo -e "\e[36m${1}\e[0m"
+}
+
+function warning() {
+ echo -e "\e[1;35m${1}\e[0m"
+}
+
+function error() {
+ echo -e "\e[1;31m${1}\e[0m"
+}
+
+function help() {
+ echo -e "${CMDNAME} [option] [size of image in Go]"
+ echo -e "Options:"
+ echo -e "--all create ready to burn image of Mageia ${MAGEIA_VERSION}"
+ echo -e "--clean Clean all (suppress all) to make a new image"
+ echo -e "--size size of image default: 7Go"
+ echo -e "--build-path Path to the build directory of the image of Mageia ${MAGEIA_VERSION}"
+ echo -e "--target target system (for now rpi, odroid)"
+ echo -e "--target-version version of the target (0, 1, 2, 3 for rpi, 3 or 4 for odroid)"
+ echo -e "--config Path to config files"
+ echo -e "--bootfs filesystem of boot partition (ext4 or vfat) default: ext4"
+ echo -e "--nonfree activate nonfree repos"
+ echo -e "--tainted activate tainted repos"
+
+ echo -e "\nBuild levels:"
+ echo -e "--create-chroot Create the chroot directory"
+ echo -e "--addmedia add mirrors"
+ echo -e "--update-mirror update urpmi database"
+ echo -e "--install-basesystem install base system"
+ echo -e "--chroot chroot to arm directory and launch packages installation"
+ echo -e "--create-image Create the image of Mageia ${MAGEIA_VERSION}"
+ echo "--config Path to config files (rpi1 rpi2 rpi3 rpi3+ xu4)"
+
+ echo -e "\nFor image size, make sure it fit on physical support. (Default size is 7 Go)"
+}
+
+
+function verify_disk_space()
{
- echo -e "\e[1;32m$1\e[0m"
+ title "Verifying if there is enough space on disk to make the image"
+ DISK_SPACE=$(/usr/bin/df -BG --output=avail "${INSTALL_PATH}" | sed '1d;s/[^0-9]//g')
+ info "Free disk space: ${DISK_SPACE}G"
+ if [ ${DISK_SPACE} -lt ${IMAGE_SIZE} ]; then
+ warning "image size is greater than disk space"
+ info "correct the problem and relaunch the script with parameter --create-rpi-image"
+ info "${0} --size ${IMAGE_SIZE} --create-rpi-image"
+ return 1
+ fi
+ return 0
}
-function info()
+
+# creation of install path and copy of qemu ( installing it if not yet installed )
+function createchroot()
{
- echo -e "\e[36m$1\e[0m"
+ title "Making chroot"
+ if ! [ -f /bin/qemu-arm-static ]; then
+ title "Qemu package not present : installing qemu packages"
+ /sbin/urpmi --auto --no-recommends qemu-user-static
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} can't install qemu-user-static : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+ # Starting qemu service if not started
+ /bin/systemctl is-active systemd-binfmt.service
+ if [ ${?} -ne 0 ]; then
+ title "Starting systemd-binfmt.service"
+ /bin/systemctl start systemd-binfmt.service
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} can't start qemu-user-static : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+ return 0
}
-function warning()
+
+# adding Mageia repositories
+function addmedia()
{
- echo -e "\e[1;35m$1\e[0m"
+ title "Creating media ${MIRROR}"
+
+ info "Removing old media"
+ /sbin/urpmi.removemedia --urpmi-root "${BUILD_PATH}" -a
+
+ info "Adding media"
+ if [ ! -z "${MIRROR}" ] ; then
+ /sbin/urpmi.addmedia --urpmi-root "${BUILD_PATH}" --distrib "${MIRROR}"
+ else
+ info "MIRROR variable not set, using mirrorlist."
+ /sbin/urpmi.addmedia --urpmi-root "${BUILD_PATH}" --distrib --mirrorlist "http://mirrors.mageia.org/api/mageia.${MAGEIA_VERSION}.${ARM_VERSION}.list"
+ fi
+
+ err=${?}
+ if [ ${err} -ne 0 ]; then
+ error "line ${LINENO} error ${err} - can't add medias from ${MIRROR} : exiting"
+ exit ${ERR_1}
+ fi
+ if [ ${NONFREE} -eq 1 ]; then
+ title "activating non-free repos"
+ /sbin/urpmi.update --urpmi-root "${BUILD_PATH}" --no-ignore Nonfree\ Release Nonfree\ Updates
+ err=${?}
+ if [ ${err} -ne 0 ]; then
+ error "line ${LINENO} error ${err} - can't activate medias nonfree : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+ if [ ${TAINTED} -eq 1 ]; then
+ title "activating tainted repos"
+ /sbin/urpmi.update --urpmi-root "${BUILD_PATH}" --no-ignore Tainted\ Release Tainted\ Updates
+ err=${?}
+ if [ ${err} -ne 0 ]; then
+ error "line ${LINENO} error ${err} - can't activate medias tainted : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+ return 0
}
-function error()
+
+function updatemirror()
{
- echo -e "\e[1;31m$1\e[0m"
+ title "updating mirror"
+ /sbin/urpmi.update -a --urpmi-root "${BUILD_PATH}"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} can't update mirrors : exiting"
+ exit ${ERR_1}
+ fi
+ return 0
}
-info $0
-SOURCE_PATH="$(/bin/dirname "$(readlink -f "$0")")"
-INSTALL_PATH="$SOURCE_PATH/arm"
-FILES_PATH="$SOURCE_PATH/files"
-PLATFORMS_PATH="$SOURCE_PATH/platforms"
+function installbasesystem()
+{
+ # Create Build path
+ if ! [ -d "${BUILD_PATH}" ]; then
+ warning "Build path ( ${BUILD_PATH} ) does not exist, do you want to create it ? [Y|n] "
+ read yn
+ if [ -z ${yn} ] || [ ${yn} = "Y" ] || [ ${yn} = "y" ]; then
+ title "Creating ${BUILD_PATH}"
+ /bin/mkdir -p "${BUILD_PATH}/usr/bin" "${BUILD_PATH}/usr/lib/binfmt.d"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} can't create ${BUILD_PATH} : exiting"
+ exit ${ERR_1}
+ fi
+ else
+ exit ${ERR_1}
+ fi
+ else
+ info "Build path exists"
+ fi
+
+ title "installing basesystem"
+ /sbin/urpmi --urpmi-root "${BUILD_PATH}" --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 0 shadow-utils basesystem-minimal
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error installing shadow-utils or basesystem-minimal : exiting"
+ exit ${ERR_1}
+ fi
+ #/sbin/urpmi --urpmi-root "${BUILD_PATH}" --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 0 basesystem-minimal
+ #if [ ${?} -ne 0 ]; then
+ # error "line ${LINENO} error installing basesystem-minimal : exiting"
+ # exit ${ERR_1}
+ #fi
+ /sbin/urpmi --urpmi-root "${BUILD_PATH}" --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 0 urpmi locales u-boot
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error installing urpmi or locales.fr : exiting"
+ exit ${ERR_1}
+ fi
+ return 0
+}
+
+
+function preparechroot()
+{
+ title "Preparing chrooting in ${BUILD_PATH}"
+
+ #Copying qemu
+
+ /bin/cp /bin/qemu-arm-static "${BUILD_PATH}/usr/bin/"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} can't copy /bin/qemu-user-static to ${BUILD_PATH}/usr/bin/ : exiting"
+ exit ${ERR_1}
+ fi
+ /bin/cp /usr/lib/binfmt.d/qemu-arm-static.conf "${BUILD_PATH}/usr/lib/binfmt.d"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} can't copy /usr/lib/binfmt.d/qemu-arm-static.conf to ${BUILD_PATH}/usr/lib/binfmt.d : exiting"
+ exit ${ERR_1}
+ fi
-CMDNAME=$(/bin/basename "$0")
-#while read -r;do
-# for MAGEIA_VERSION in $REPLY
-# do
-# if [ $MAGEIA_VERSION <= 5 ];then
-# echo 'Mageia version >= 6 is needed'
-# exit
-# fi
-# break
-# done
-#done < /etc/version
+ info "making /etc/hostname"
+ echo "${HOSTNAME}" > "${BUILD_PATH}/etc/hostname"
+
+ info "copying second stage script in ${BUILD_PATH}"
+ #echo "/bin/cp ${CONFIG_PATH}/second_stage_install.sh ${BUILD_PATH}/"
+ cp --preserve=mode "${CONFIG_PATH}/second_stage_install.sh" "${BUILD_PATH}/second_stage_install.sh"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error copying ${CONFIG_PATH}/second_stage_install.sh : exiting"
+ exit ${ERR_1}
+ fi
+ info "creation of user account"
+ echo -e "/bin/passwd << EOF\n${ROOT_PWD}\n${ROOT_PWD}\nEOF\n /sbin/useradd ${ID_USER}\n /bin/passwd ${ID_USER} << EOF\n${PASSWORD}\n${PASSWORD}\nEOF" >>"${BUILD_PATH}/second_stage_install.sh"
+
+# info "Copying skel in root directory"
+# /bin/rsync -rlptH "${BUILD_PATH}/etc/skel/" "${BUILD_PATH}/root/"
+#This line break the default .bashrc file from the package "rootfiles" and the values as PATH (and /usr/sbin programs).
+
+ postPrepareChroot
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error in postPrepareChroot function."
+ exit ${ERR_1}
+ fi
+ return 0
+}
-function help()
+function jumpchroot()
{
- echo "$CMDNAME [option] [size of image in Go]"
- echo "Options:"
- echo "--all create ready to burn image of Mageia $MAGEIA_VERSION"
- echo "--clean Clean all (suppress all) to make a new image"
- echo "--size size of image default: 7Go"
- echo "--build-path Path to the build directory of the image of Mageia $MAGEIA_VERSION"
- echo "--target target system (for now rpi, odroid)"
- echo "--target-version version of the target (0, 1, 2, 3 for rpi, 3 or 4 for odroid)"
- echo "--config Path to config files (rpi1 rpi2 rpi3 rpi3+ xu4)"
- echo "--bootfs filesystem of boot partition (ext4 or vfat) default: ext4"
- echo "--nonfree activate nonfree repos"
- echo "--tainted activate tainted repos"
- echo "\nBuild levels:"
- echo "--create-chroot Create the chroot directory"
- echo "--addmedia add mirrors"
- echo "--update-mirror update urpmi database"
- echo "--install-basesystem install base system"
- echo "--chroot chroot to arm directory and launch packages installation"
- echo "--create-image Create the image of Mageia $MAGEIA_VERSION"
-
- echo -e "\nFor image size, make sure it fit on physical support. (Default size is 7 Go)"
+ title "chrooting to ${BUILD_PATH}"
+ info "mounting dev, sys, proc directories in chroot"
+ /bin/mount -B /dev "${BUILD_PATH}/dev"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error mounting ${BUILD_PATH}/dev : exiting"
+ exit ${ERR_1}
+ fi
+ /bin/mount -B /sys "${BUILD_PATH}/sys"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error mounting ${BUILD_PATH}/sys : exiting"
+ exit ${ERR_1}
+ fi
+ /bin/mount -B /proc "${BUILD_PATH}/proc"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error mounting ${BUILD_PATH}/proc : exiting"
+ exit ${ERR_1}
+ fi
+ info "Copying resolv.conf"
+ /bin/cp -v --preserve=mode /etc/resolv.conf "${BUILD_PATH}/etc/"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error copying ${BUILD_PATH}/etc/resolv.conf : exiting"
+ exit ${ERR_1}
+ fi
+ if [ "$OPT" = "chroot" ]; then
+ /sbin/chroot "${BUILD_PATH}"
+ else
+ /sbin/chroot --userspec root:root "${BUILD_PATH}" /bin/bash -v -c 'sh /second_stage_install.sh 2>&1'
+ fi
+ RET=${?}
+ if [ ${RET} -ne 0 ]; then
+ error "line ${LINENO} Warning : chrooting to ${BUILD_PATH} retrurn an error ${RET}"
+ ERRORN=$((${ERRORN}+1))
+ fi
+ info "unmounting dev, sys, proc"
+ /bin/umount -lf "${BUILD_PATH}/dev"
+ if [ ${?} -ne 0 ]; then
+ warning "line ${LINENO} Warning : error unmounting ${BUILD_PATH}/dev, continuing anyway"
+ ERRORN=$((${ERRORN}+1))
+ fi
+ /bin/umount -lf "${BUILD_PATH}/sys"
+ if [ ${?} -ne 0 ]; then
+ warning "line ${LINENO} Warning : error unmounting ${BUILD_PATH}/sys, continuing anyway"
+ ERRORN=$((${ERRORN}+1))
+ fi
+ /bin/umount -lf "${BUILD_PATH}/proc"
+ if [ ${?} -ne 0 ]; then
+ warning "line ${LINENO} Warning : error unmounting ${BUILD_PATH}/proc, continuing anyway"
+ ERRORN=$((${ERRORN}+1))
+ fi
+ return 0
}
-# cleaning build space
-function clean()
+function createImageWrap()
{
- # Unmounting /dev /proc /sys in chroot
- title "Cleaning"
- if ! [ -z "$(mountpoint -qd "$BUILD_PATH/dev")" ];then
- info "Unmounting $BUILD_PATH/dev"
- umount "$BUILD_PATH/dev"
- if ! [ $? -ne 0 ];then
- error "line $LINENO can't unmount $BUILD_PATH/dev : exiting"
- #exit 1
- fi
- fi
- if ! [ -z "$(mountpoint -qd "$BUILD_PATH/sys")" ];then
- info "Unmounting $BUILD_PATH/sys"
- umount "$BUILD_PATH/sys"
- if ! [ $? -ne 0 ];then
- error "line $LINENO can't unmount $BUILD_PATH/sys : exiting"
- #exit 1
- fi
- fi
- if ! [ -z "$(mountpoint -qd "$BUILD_PATH/proc")" ];then
- info "Unmounting $BUILD_PATH/proc"
- umount "$BUILD_PATH/proc"
- if ! [ $? -ne 0 ];then
- error "line $LINENO can't unmount $BUILD_PATH/proc : exiting"
- #exit 1
- fi
- fi
- # Removing old Build directory
- if [ -d "$BUILD_PATH" ];then
- info "Removing $BUILD_PATH"
- /bin/rm -Rf "$BUILD_PATH"
- else
- warning "$BUILD_PATH does not exists"
- fi
- # removing old image
- if [ -e "$IMAGE" ];then
- info "Removing $IMAGE"
- /bin/rm -f "$INSTALL_PATH/$IMAGE"
- else
- warning "$IMAGE does not exists"
- fi
- # removing loop devices
- for LOOP in $(ls /dev/loop*[0-9]p1)
- do
- X=${LOOP:0:10}
- if [ -e "$X" ];then
- info "removing $X"
- partx -d "$X"
- fi
- done
- # Removing boot and root directory
- if [ -d "$BOOT" ];then
- info "Removing $BOOT"
- /bin/rmdir "$BOOT"
- else
- warning "$BOOT does not exists"
- fi
- if [ -d "$ROOT" ];then
- info "Removing $ROOT"
- /bin/rmdir "$ROOT"
- else
- warning "$ROOT does not exists"
- fi
- exit 0
+ title "Wrap image creation"
+ preImgCreation
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error in the process ${CONFIG_PATH}/specialFunctions.sh ."
+ exit ${ERR_1}
+ fi
+ createimage
+ if [ -z "${BOOTFS}" ]; then
+ BOOTFS="ext4"
+ fi
+ formatpartitions ${BOOTFS} ext4
+
+ return 0
}
-# creation of install path and copy of qemu ( installing it if not yet installed )
-function createchroot()
+function createimage()
{
- title "Making chroot"
- if ! [ -f /bin/qemu-arm-static ]; then
- title "Qemu package not present : installing qemu packages"
- /sbin/urpmi --auto --no-recommends qemu-user-static
- if ! [ $? -eq 0 ];then
- error "line $LINENO can't install qemu-user-static : exiting"
- exit 1
- fi
- fi
- # Starting qemu service if not started
- /bin/systemctl is-active systemd-binfmt.service
- if [ $? -ne 0 ]; then
- title "Starting systemd-binfmt.service"
- /bin/systemctl start systemd-binfmt.service
- if ! [ $? -ne 0 ];then
- error "line $LINENO can't start qemu-user-static : exiting"
- exit 1
- fi
- fi
+ title " in ${IMAGE}"
+ if [ -f "${INSTALL_PATH}/${IMAGE}" ]; then
+ warning "Deleting previous image"
+ /bin/rm -f "${INSTALL_PATH}/${IMAGE}"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error can't remove previous image at ${INSTALL_PATH}/${IMAGE} : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+
+ warning "please wait until end of image creation"
+ /bin/dd if=/dev/zero of="${INSTALL_PATH}/${IMAGE}" bs=1MB count=$(( ${IMAGE_SIZE} * 1024 ))
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} can't make image at ${INSTALL_PATH}/${IMAGE} : exiting"
+ exit ${ERR_1}
+ fi
+
+ loopingImage
+
+ bunrningBootloader
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error in the process ${CONFIG_PATH}/specialFunctions.sh ."
+ exit ${ERR_1}
+ fi
+ info "making partitions"
+ echo -e "${FDISK_SCRIPT}" | /sbin/fdisk ${DEVICE}
+ #Activate 'pY' : /dev/loopXpY
+ partx -vu "${DEVICE}"
+ #Previous function give us a list of partition. It is easy to get it and define prior this list the partition.
+ #But... How to distinguish between the boot p1 and the root p2 if both are empty and ext4 ? ...
+
+ if [ 1 -eq ${SEPARATE_BOOT_PARTITION} ]; then
+ BOOTP="${DEVICE}p1"
+ ROOTP="${DEVICE}p2"
+ else
+ ROOTP="${DEVICE}p1"
+ fi
+ return 0
}
-# adding Mageia repositories
-function addmedia()
+
+function loopingImage()
{
- title "Creating media $MIRROR"
- /sbin/urpmi.addmedia --urpmi-root "$BUILD_PATH" --distrib "$MIRROR"
- err=$?
- if [ $err -ne 0 ];then
- error "line $LINENO error $err - can't add medias from $MIRROR : exiting"
- exit 1
- fi
- if [ $NONFREE -eq 1 ];then
- title "activating non-free repos"
- /sbin/urpmi.update --urpmi-root "$BUILD_PATH" --no-ignore Nonfree\ Release Nonfree\ Updates
- err=$?
- if [ $err -ne 0 ];then
- error "line $LINENO error $err - can't activate medias nonfree : exiting"
- exit 1
- fi
- fi
- if [ $TAINTED -eq 1 ];then
- title "activating tainted repos"
- /sbin/urpmi.update --urpmi-root "$BUILD_PATH" --no-ignore Tainted\ Release Tainted\ Updates
- err=$?
- if [ $err -ne 0 ];then
- error "line $LINENO error $err - can't activate medias tainted : exiting"
- exit 1
- fi
- fi
+ title "Looping image ..."
+
+ # Mettre en place et contrôler des périphériques boucle.
+ # -f, --find trouver le premier périphérique inutilisé
+ # --show afficher le nom du périphérique après configuration (avec -f)
+ DEVICE=$(/sbin/losetup -f --show "${INSTALL_PATH}/${IMAGE}")
+
+ return 0
}
-function updatemirror()
+
+function formatpartitions()
{
- title "updating mirror"
- /sbin/urpmi.update -a --urpmi-root "$BUILD_PATH"
- if [ $? -ne 0 ];then
- error "line $LINENO can't update mirrors : exiting"
- exit 1
- fi
+ info "Formatting partitions"
+ if [ 1 -eq ${SEPARATE_BOOT_PARTITION} ]; then
+ info "Boot : ${BOOTP} as ${1}"
+ "/sbin/mkfs.${1}" "${BOOTP}"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error formating ${BOOTP} : exiting"
+ /sbin/losetup -d "${DEVICE}"
+ exit ${ERR_1}
+ fi
+ BOOT_UUID=$(blkid -s UUID -o value UUID "${BOOTP}")
+ info "Boot UUID: ${BOOT_UUID}"
+ fi
+
+ info "Root : ${ROOTP} as ${2}"
+ "/sbin/mkfs.${2}" "${ROOTP}"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error formating ${ROOTP} : exiting"
+ /sbin/losetup -d "${DEVICE}"
+ exit ${ERR_1}
+ fi
+ ROOT_UUID=$(blkid -s UUID -o value UUID "${ROOTP}")
+ info "Root UUID: ${ROOT_UUID}"
+
+ return 0
}
-function installbasesystem()
+
+function copyingsystem()
{
+ info "Generate extlinux if extlinux.conf exists."
+ if [ -e "${CONFIG_PATH}/extlinux.conf" ]; then
+ info "\tFound extlinux.conf"
+ if [ ! -d "${BUILD_PATH}/boot/extlinux" ]; then
+ info "making /boot/extlinux/extlinux.conf"
+ /bin/rm -rf "${BUILD_PATH}/boot/extlinux"
+ mkdir -p "${BUILD_PATH}/boot/extlinux"
+ fi
+ if [ ! -f "${BUILD_PATH}/boot/extlinux/extlinux.conf" ]; then
+ info "\tTuning extlinux.conf"
+ sed -e s/\<UUID\>/${ROOT_UUID}/g ${CONFIG_PATH}/extlinux.conf >"${BUILD_PATH}/boot/extlinux/extlinux.conf"
+ KERNEL_ID=$(basename ${BUILD_PATH}/usr/lib/linux-*)
+ sed -i -e s/\<FDTDIR\>/${KERNEL_ID}/g "${BUILD_PATH}/boot/extlinux/extlinux.conf"
+ fi
+ fi
+
+ info "Remove second_stage_install.sh"
+ /bin/rm -f "${BUILD_PATH}/second_stage_install.sh"
+
+ if [ 1 -eq ${SEPARATE_BOOT_PARTITION} ]; then
+ ARM_BOOT="${BUILD_PATH}/mnt/arm_boot"
+ if ! [ -d "${ARM_BOOT}" ]; then
+ rm -rf "${ARM_BOOT}"
+ mkdir -p "${ARM_BOOT}"
+ fi
+ info "copying Mageia image to root partition"
+ /bin/rsync -rlptogDH --exclude "${ARM_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/"
+ /bin/rsync -rlptogDH "${ARM_BOOT}/" "${BOOT}/"
+ /bin/rsync -rlptogDH "${BUILD_PATH}/boot/" "${BOOT}/"
+ else
+ info "copying Mageia image to root partition"
+ /bin/rsync -rlptogDH --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/"
+ fi
+
+ copyingCustomSystem
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error in the process ${CONFIG_PATH}/specialFunctions.sh ."
+ exit ${ERR_1}
+ fi
+
+ copyingcommon
-# Create Build path
- if ! [ -d "$BUILD_PATH" ];then
- warning "Build path ( $BUILD_PATH ) does not exists, do you want i create it ? [Y|n] "
- read yn
- if [ -z $yn ] || [ $yn = "Y" ] || [ $yn = "y" ];then
- title "Creating $BUILD_PATH"
- /bin/mkdir -p "$BUILD_PATH/usr/bin" "$BUILD_PATH/usr/lib/binfmt.d"
- if [ $? -ne 0 ];then
- error "line $LINENO can't create $BUILD_PATH : exiting"
- exit 1
- fi
- else
- exit 1
- fi
- else
- info "Build path exists"
- fi
-
- title "installing basesystem"
- /sbin/urpmi --urpmi-root "$BUILD_PATH" --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 200 shadow-utils basesystem-minimal
- if [ $? -ne 0 ];then
- error "line $LINENO error installing shadow-utils or basesystem-minimal : exiting"
- exit 1
- fi
- #/sbin/urpmi --urpmi-root "$BUILD_PATH" --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 200 basesystem-minimal
- #if [ $? -ne 0 ];then
- # error "line $LINENO error installing basesystem-minimal : exiting"
- # exit 1
- #fi
- /sbin/urpmi --urpmi-root "$BUILD_PATH" --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 200 urpmi locales-fr systemd u-boot
- if [ $? -ne 0 ];then
- error "line $LINENO error installing urpmi or locales.fr : exiting"
- exit 1
- fi
+ sync
+ warning "You can now burn the image ( ${INSTALL_PATH}/${IMAGE} ) on SD card"
+ return 0
}
-function preparechroot()
-{
- title "Preparing chrooting in $BUILD_PATH"
-
- #Copying qemu
-
- /bin/cp /bin/qemu-arm-static "$BUILD_PATH/usr/bin/"
- if [ $? -ne 0 ];then
- error "line $LINENO can't copy /bin/qemu-user-static to $BUILD_PATH/usr/bin/ : exiting"
- exit 1
- fi
- /bin/cp /usr/lib/binfmt.d/qemu-arm-static.conf "$BUILD_PATH/usr/lib/binfmt.d"
- if [ $? -ne 0 ];then
- error "line $LINENO can't copy /usr/lib/binfmt.d/qemu-arm-static.conf to $BUILD_PATH/usr/lib/binfmt.d : exiting"
- exit 1
- fi
-
-
- info "making /etc/hostname"
- echo "$HOSTNAME" > "$BUILD_PATH/etc/hostname"
-
- info "copying second stage script in $BUILD_PATH"
- echo "/bin/cp $CONFIG_PATH/second_stage_install.sh $BUILD_PATH/"
- cp --preserve=mode "$CONFIG_PATH/second_stage_install.sh" "$BUILD_PATH/second_stage_install.sh"
- if [ $? -ne 0 ];then
- error "line $LINENO error copying $CONFIG_PATH/second_stage_install.sh : exiting"
- exit 1
- fi
-
- info "creation of user account"
- echo "/bin/passwd << EOF
-$ROOT_PWD
-$ROOT_PWD
-EOF
- /sbin/useradd $ID_USER
- /bin/passwd $ID_USER << EOF
-$PASSWORD
-$PASSWORD
-EOF" >>"$BUILD_PATH/second_stage_install.sh"
-
-
-
- info "Copying skel in root directory"
- /bin/rsync -rlptH /etc/skel/ "$BUILD_PATH/root/"
-
-
- case $TARGET in
- odroid)
- #TEMPORARY CODE
- #copying kernel odroid not existing in mageia repos
- info "copying kernel-odroid and u-boot rpms in $BUILD_PATH/root"
- echo "/bin/cp $CONFIG_PATH/kernel-odroid-4.14.y-1.armv7hl.rpm $BUILD_PATH/root/"
- /usr/bin/cp --preserve=mode "$CONFIG_PATH/kernel-odroid-4.14.y-1.armv7hl.rpm" "$BUILD_PATH/root/"
- echo "/bin/cp $CONFIG_PATH/u-boot-20180507-3.mga7.armv7hl.rpm $BUILD_PATH/root/"
- /usr/bin/cp --preserve=mode "$CONFIG_PATH/u-boot-20180507-3.mga7.armv7hl.rpm" "$BUILD_PATH/root/"
- if [ $? -ne 0 ];then
- error "line $LINENO error copying $CONFIG_PATH/kernel-odroid-4.14.y-1.armv7hl.rpm : exiting"
- exit 1
- fi
- ;;
- rpi)
- ;;
- esac
+
+function mountPartitions(){
+ info "mounting partitions, making mountpoint if necessary"
+
+ if [ 1 -eq ${SEPARATE_BOOT_PARTITION} ]; then
+ if ! [ -d "${BOOT}" ]; then
+ /bin/mkdir "${BOOT}"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error making directory ${BOOT} : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+ /bin/mount "${BOOTP}" "${BOOT}"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error mounting ${BOOTP} : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+
+ if ! [ -d "${ROOT}" ]; then
+ /bin/mkdir "${ROOT}"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error making directory ${ROOT} : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+ /bin/mount "${ROOTP}" "${ROOT}"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error mounting ${ROOTP} : exiting"
+ exit ${ERR_1}
+ fi
}
-function jumpchroot()
+
+function unmountingPartitions()
{
- title "chrooting to $BUILD_PATH"
- info "mounting dev, sys, proc directories in chroot"
- /bin/mount -B /dev "$BUILD_PATH/dev"
- if [ $? -ne 0 ];then
- error "line $LINENO error mounting $BUILD_PATH/dev : exiting"
- exit 1
- fi
- /bin/mount -B /sys "$BUILD_PATH/sys"
- if [ $? -ne 0 ];then
- error "line $LINENO error mounting $BUILD_PATH/sys : exiting"
- exit 1
- fi
- /bin/mount -B /proc "$BUILD_PATH/proc"
- if [ $? -ne 0 ];then
- error "line $LINENO error mounting $BUILD_PATH/proc : exiting"
- exit 1
- fi
- info "Copying resolv.conf"
- /bin/cp -v --preserve=mode /etc/resolv.conf "$BUILD_PATH/etc/"
- if [ $? -ne 0 ];then
- error "line $LINENO error copying $BUILD_PATH/etc/resolv.conf : exiting"
- exit 1
- fi
- if [ "$OPT" = "chroot" ];then
- /sbin/chroot "$BUILD_PATH"
- else
- /sbin/chroot --userspec root:root "$BUILD_PATH" /bin/bash -v -c 'sh /second_stage_install.sh'
- fi
- RET=$?
- if [ $RET -ne 0 ];then
- error "line $LINENO Warning : chrooting to $BUILD_PATH retrurn an error $RET"
- ERRORN=$((ERRORN++))
- fi
- info "unmounting dev, sys, proc"
- /bin/umount -lf "$BUILD_PATH/dev"
- if [ $? -ne 0 ];then
- warning "line $LINENO Warning : error unmounting $BUILD_PATH/dev, continuing anyway"
- ERRORN=$((ERRORN++))
- fi
- /bin/umount -lf "$BUILD_PATH/sys"
- if [ $? -ne 0 ];then
- warning "line $LINENO Warning : error unmounting $BUILD_PATH/sys, continuing anyway"
- ERRORN=$((ERRORN++))
- fi
- /bin/umount -lf "$BUILD_PATH/proc"
- if [ $? -ne 0 ];then
- warning "line $LINENO Warning : error unmounting $BUILD_PATH/proc, continuing anyway"
- ERRORN=$((ERRORN++))
- fi
+ title "Unmounting partitions..."
+
+ # Syncing devices before unmounting
+ /usr/bin/sync
+
+ if [ -z "${BOOTP}" ] && [ -z "${ROOTP}" ] ; then
+ warning "Root partition and Boot partition not defined !"
+
+ for LOOP in $(losetup -l -O NAME,BACK-FILE -n | grep "${IMAGE}" | cut -d ' ' -f 1 ) ; do
+ IFS=$'\n'
+ for PARTITION in $(mount -l | grep ${LOOP}); do
+ MOUNTPOINT=$(echo "$PARTITION" | cut -d ' ' -f 3)
+ PARTITION=$(echo "$PARTITION" | cut -d ' ' -f 1)
+ info "unmount ${PARTITION} and remove ${MOUNTPOINT}"
+ /usr/bin/umount "${PARTITION}"
+ if [ ${?} -eq 0 ]; then
+ /bin/rmdir "${MOUNTPOINT}"
+ else
+ error "line ${LINENO} error unmounting ${BOOT}..."
+ fi
+ done
+ unset IFS
+ done
+ else
+ if [ ! -z "${BOOTP}" ]; then
+ /usr/bin/umount "${BOOTP}"
+ if [ ${?} -eq 0 ]; then
+ /bin/rmdir "${BOOT}"
+ else
+ error "line ${LINENO} error unmounting ${BOOT}..."
+ fi
+ fi
+ /usr/bin/umount "${ROOTP}"
+ if [ ${?} -eq 0 ]; then
+ /bin/rmdir "${ROOT}"
+ else
+ error "line ${LINENO} error unmounting ${ROOT}..."
+ fi
+ fi
+ return 0
}
-function verify_disk_space()
+
+function unloopingImage(){
+ title "Unlooping image..."
+ # Syncing devices before unmounting
+ /usr/bin/sync
+
+ # [root@jabztop mageia4arm (master)]# losetup -l -O NAME,BACK-FILE -n
+ # /dev/loop0 /home/jibz/workspaces/mageia4arm/build/Mageia-7-bananaPro1.img (deleted)
+ info "Looped devices to unmount : $(losetup -l -O NAME,BACK-FILE -n | grep "${IMAGE}" | cut -d ' ' -f 1 ) "
+
+ for LOOP in $(losetup -l -O NAME,BACK-FILE -n | grep "${IMAGE}" | cut -d ' ' -f 1 ) ; do
+ info "removing ${LOOP}"
+ for PARTITION in ${LOOP}p* ; do
+ partx -dv "${PARTITION}"
+ done
+# losetup -d "${LOOP}"
+ kpartx -d "${INSTALL_PATH}/${IMAGE}"
+ done
+
+ return 0
+}
+
+
+# Copying files common to all systems
+function copyingcommon()
{
- title "Verifying if there is enough space on disk to make the image"
- DISK_SPACE=$(/usr/bin/df -BG --output=avail "$INSTALL_PATH" | sed '1d;s/[^0-9]//g')
- info "Free disk space: ${DISK_SPACE}G"
- if [ $DISK_SPACE -lt $IMAGE_SIZE ];then
- warning "image size is greater than disk space"
- info "correct the problem and relaunch the script with parameter --create-rpi-image"
- info "$0 --size $IMAGE_SIZE --create-rpi-image"
- return 1
- fi
- return 0
+ title "Copying common files and configuration"
+ rsync -rlptDH "${SOURCE_PATH}/common/" "${ROOT}/"
+ rsync -rlptDH "${SOURCE_PATH}/tools/"*.sh "${ROOT}/usr/local/bin/"
+ chown root:root "${ROOT}/usr/local/bin/"
+ return 0
}
-function createxu3image()
+
+function mkfstab()
{
- title "Creating Odroid XU3-XU4 image"
- createimage
- if [ -z "$BOOTFS" ];then
- BOOTFS="ext4"
- fi
- formatpartitions "$BOOTFS" ext4
- copyingsystem
+ title "making /etc/fstab"
+ ### BUG : /mnt/arm_boot is set to vfat for all plateforms, odroid configuration says ext4.
+ #echo -e "proc /proc proc defaults 0 0\nUUID=${BOOT_UUID} /mnt/arm_boot vfat defaults 0 0\nUUID=${ROOT_UUID} / ext4 defaults 0 0" > "${BUILD_PATH}/etc/fstab"
+ #echo -e "proc\t/proc\tproc\tdefaults\t0\t0\nUUID=${BOOT_UUID}\t/mnt/arm_boot\t${BOOTFS}\tdefaults\t0\t0\nUUID=${ROOT_UUID}\t/\text4\tdefaults\t0\t0" > "${BUILD_PATH}/etc/fstab"
+ if [ 1 -eq ${SEPARATE_BOOT_PARTITION} ]; then
+ echo -e "proc\t/proc\tproc\tdefaults\t0\t0\nUUID=${BOOT_UUID}\t/mnt/arm_boot\t${BOOTFS}\tdefaults\t0\t0\nUUID=${ROOT_UUID}\t/\text4\tdefaults\t0\t0" > "${BUILD_PATH}/etc/fstab"
+ else
+ echo -e "proc\t/proc\tproc\tdefaults\t0\t0\nUUID=${ROOT_UUID}\t/\text4\tdefaults\t0\t0" > "${BUILD_PATH}/etc/fstab"
+ fi
+ return 0
}
-function createrpiimage()
+# cleaning build space
+function clean()
{
- title "Creating Pi image"
-
- if ! [ -d "$FIRMWARE_PATH/$FIRMWARE_DIR" ];then # the firmware directory does not exists
- echo "$(ls *.zip| wc -l)"
- if [ "$(ls *.zip| wc -l)" -eq 0 ];then # the firmware archive does not exists
- warning "The raspberry pi firmware need to be downloaded"
- info "Downloading FIRMWARE_FILENAME"
- wget $FIRMWARE_DOWNLOAD_URL
- if [ $? -ne 0 ];then
- error "line $LINENO error downloading raspberry firmware at $FIRMWARE_DOWNLOAD_URL :exiting"
- exit 1
- fi
- fi
- info "extracting firmware"
- unzip -d "$FIRMWARE_PATH" *.zip
- if [ $? -ne 0 ];then
- error "line $LINENO error unzipping $FIRMWARE_PATH : exiting"
- exit 1
- fi
- fi
-
- title "Making raspberry pi image"
-
- createimage
- if [ -z $BOOTFS ];then
- BOOTFS="vfat"
- fi
- formatpartitions $BOOTFS ext4
- copyingsystem
+ title "Cleaning"
+
+ unmountingPartitions
+ unloopingImage
+
+ # Removing old Build directory
+ if [ -d "${BUILD_PATH}" ]; then
+ info "Removing ${BUILD_PATH}"
+ /bin/rm -Rf "${BUILD_PATH}"
+ else
+ warning "${BUILD_PATH} does not exists"
+ fi
+ # removing old image
+ if [ -e "${INSTALL_PATH}/${IMAGE}" ]; then
+ info "Removing ${IMAGE}"
+ /bin/rm -f "${INSTALL_PATH}/${IMAGE}"
+ else
+ warning "${IMAGE} does not exists"
+ fi
+ return 0
}
-createimage()
+
+function preImgCreation()
{
- title " in $IMAGE"
- if [ -f "$INSTALL_PATH/$IMAGE" ];then
- warning "Deleting previous image"
- /bin/rm -f "$INSTALL_PATH/$IMAGE"
- if [ $? -ne 0 ];then
- error "line $LINENO error can't remove previous image at $INSTALL_PATH/$IMAGE : exiting"
- exit 1
- fi
- fi
-
- warning "please wait until end of image creation"
- /bin/dd if=/dev/zero of="$INSTALL_PATH/$IMAGE" bs=1MB count=$(( $IMAGE_SIZE * 1024 ))
- if [ $? -ne 0 ];then
- error "line $LINENO can't make image at $INSTALL_PATH/$IMAGE : exiting"
- exit 1
- fi
- DEVICE=$(/sbin/losetup -f --show "$INSTALL_PATH/$IMAGE")
- if [ $TARGET = "odroid" ];then
- info "installing blobs"
- pushd "$CONFIG_PATH/sd_fuse"
- if [ $? -ne 0 ];then
- error "line $LINENO error directory $CONFIG_PATH/sd_fuse does not exists : exiting"
- exit 1
- else
- ./sd_fusing.sh "$DEVICE"
- fi
- pushd
- fi
-
- info "making partitions"
- /sbin/fdisk "$DEVICE" << EOF
-n
-p
-1
-
-+128M
-t
-c
-n
-p
-2
-
-
-a
-1
-a
-2
-w
-EOF
-
- # Activate loop device
- /sbin/losetup -d "$DEVICE"
- DEVICE=$(/sbin/partx -va "$INSTALL_PATH/$IMAGE" | /bin/grep -m 1 -E -o '/dev/loop.?')
- info "device $DEVICE"
- info "partitions list:"
- info "$(/sbin/partx -v "$INSTALL_PATH/$IMAGE")"
- BOOTP="${DEVICE}p1"
- ROOTP="${DEVICE}p2"
+ error "This function is called if no sourced file about fdisk was lauched."
+ return 1
}
-formatpartitions()
+function postPrepareChroot()
{
- info "Formatting partitions"
- info "Boot : $BOOTP as $1"
- "/sbin/mkfs.$1" "$BOOTP"
- if [ $? -ne 0 ];then
- error "line $LINENO error formating $BOOTP : exiting"
- /sbin/losetup -d "$DEVICE"
- exit 1
- fi
- info "Root : $ROOTP as $2"
- "/sbin/mkfs.$2" "$ROOTP"
- if [ $? -ne 0 ];then
- error "line $LINENO error formating $ROOTP : exiting"
- /sbin/losetup -d "$DEVICE"
- exit 1
- fi
- BOOT_UUID=$(blkid -s UUID -o value UUID "$BOOTP")
- info "Boot UUID: $BOOT_UUID"
- ROOT_UUID=$(blkid -s UUID -o value UUID "$ROOTP")
- info "Root UUID: $ROOT_UUID"
+ error "This function is called if no sourced file is containing postPrepareChroot function."
+ return 1
}
-copyingsystem()
+function bunrningBootloader()
{
- info "mounting partitions, making mountpoint if necessary"
- if ! [ -d "$BOOT" ];then
- /bin/mkdir "$BOOT"
- if [ $? -ne 0 ];then
- error "line $LINENO error making directory $BOOT : exiting"
- exit 1
- fi
- fi
- if ! [ -d "$ROOT" ];then
- /bin/mkdir "$ROOT"
- if [ $? -ne 0 ];then
- error "line $LINENO error making directory $ROOT : exiting"
- exit 1
- fi
- fi
- /bin/mount "$BOOTP" "$BOOT"
- if [ $? -ne 0 ];then
- error "line $LINENO error mounting $BOOTP : exiting"
- exit 1
- fi
- /bin/mount "$ROOTP" "$ROOT"
- if [ $? -ne 0 ];then
- error "line $LINENO error mounting $ROOTP : exiting"
- exit 1
- fi
-
- info "making /etc/fstab"
- echo "proc /proc proc defaults 0 0
-UUID=$BOOT_UUID /mnt/arm_boot vfat defaults 0 0
-UUID=$ROOT_UUID / ext4 defaults 0 0" > "$BUILD_PATH"/etc/fstab
-
- if [ ! -d "$BUILD_PATH/boot/extlinux" ];then
- info "making /boot/extlinux/extlinux.conf"
- mkdir -p "$BUILD_PATH/boot/extlinux"
- fi
- if [ ! -f "$BUILD_PATH/boot/extlinux/extlinux.conf" ];then
- sed -e s/\<UUID\>/$ROOT_UUID/g $CONFIG_PATH/extlinux.conf >"$BUILD_PATH/boot/extlinux/extlinux.conf"
- KERNEL_ID=`basename $BUILD_PATH/usr/lib/linux-*`
- sed -i -e s/\<FDTDIR\>/$KERNEL_ID/g "$BUILD_PATH/boot/extlinux/extlinux.conf"
- fi
- case $TARGET in
- rpi)
-
- info "copying 10-vchiq-permissions.rules"
- cp --preserve=mode "$CONFIG_PATH/10-vchiq-permissions.rules" "$BUILD_PATH/etc/udev/rules.d/"
- info "Making /etc/modules"
- echo "vchiq
-snd_bcm2835
-vc4
-brcmfmac" >> "$BUILD_PATH"/etc/modules
-
- ARM_BOOT="$BUILD_PATH/mnt/arm_boot"
- if ! [ -d "$ARM_BOOT" ];then
- mkdir -p "$ARM_BOOT"
- fi
- info "copying modprobe.conf"
- /usr/bin/cp -v --preserve=mode "$CONFIG_PATH/modprobe.conf" "$BUILD_PATH/etc/"
- chown root:root "$BUILD_PATH/etc/modprobe.conf"
-
- info "copying firmware, overlays in rpi boot partition"
-# cp -v --preserve=mode "$BUILD_PATH/usr/lib/linux-"* "$BOOT/dtb"
- cp -v --preserve=mode "$FIRMWARE_PATH/$FIRMWARE_DIR/boot/start"* "$ARM_BOOT/"
- cp -v --preserve=mode "$FIRMWARE_PATH/$FIRMWARE_DIR/boot/fixup"* "$ARM_BOOT/"
- cp -v --preserve=mode "$FIRMWARE_PATH/$FIRMWARE_DIR/boot/bootcode.bin"* "$ARM_BOOT/"
- cp -vR --preserve=mode "$FIRMWARE_PATH/$FIRMWARE_DIR/boot/overlays" "$ARM_BOOT/"
-
- info "copying u-boot binary to $ARM_BOOT"
- case $TARGET_VERSION in
- 2)
- info "copying u-boot for $TARGET 2"
- cp --preserve=mode "$BUILD_PATH/usr/lib/u-boot/rpi_2/u-boot.bin" "$ARM_BOOT/kernel.img"
- ;;
- 0)
- info "copying u-boot for $TARGET 0"
- cp --preserve=mode "$BUILD_PATH/usr/lib/u-boot/rpi_0_w/u-boot.bin" "$ARM_BOOT/kernel.img"
- ;;
- 1)
- info "copying u-boot for $TARGET 1"
- cp --preserve=mode "$BUILD_PATH/usr/lib/u-boot/rpi/u-boot.bin" "$ARM_BOOT/kernel.img"
- ;;
- 3_32)
- info "copying u-boot for $TARGET 3 32 bits"
- cp --preserve=mode "$BUILD_PATH/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "$ARM_BOOT/kernel.img"
- ;;
- 3+)
- info "copying u-boot for $TARGET 3b+ 32 bits"
- cp --preserve=mode "$BUILD_PATH/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "$ARM_BOOT/kernel.img"
- ;;
- esac
-
-# info "copying raspberry optionals files in opt"
-# /bin/rsync -rlptDH "$FIRMWARE_PATH/$FIRMWARE_DIR/opt/" "$BUILD_PATH/opt/"
-
- info "copying wifi firmware file missing in kernel-firmware-nonfree"
- if ! [ -d "$ROOT/usr/lib/firmware/brcm/" ];then
- /bin/mkdir -p "$ROOT/usr/lib/firmware/brcm/"
- fi
- if ! [ -f "$ROOT/usr/lib/firmware/brcm/brcmfmac434"* ];then
- /bin/cp --preserve=mode "$CONFIG_PATH/brcmfmac434"* "$ROOT/usr/lib/firmware/brcm/"
- if [ $? -ne 0 ];then
- error "line $LINENO error copying wifi firmware in $ROOTP/usr/lib/firmware/brcm/ : exiting"
- exit 1
- fi
- fi
-
- info "copying Mageia image to root partition"
- /bin/rsync -rlptogDH --exclude "$ARM_BOOT/" --exclude "qemu-arm-static*" "$BUILD_PATH/" "$ROOT/"
- /bin/rsync -rlptogDH "$ARM_BOOT/" "$BOOT/"
- ;;
- odroid)
- ODROID_BOOT="$BUILD_PATH/mnt/odroid_boot"
- if ! [ -d "$ODROID_BOOT" ];then
- mkdir -p "$ODROID_BOOT"
- fi
- case $TARGET_VERSION in
- xu4)
- info "copying u-boot for $TARGET $TARGET_VERSION"
- cp --preserve=mode "$BUILD_PATH/usr/lib/u-boot/$TARGET-$TARGET_VERSION/u-boot.bin" "$ARM_BOOT/"
- ;;
- esac
- # temporary code waiting inclusion of xu4 in Mageia kernel and u-boot
-
- info "Copying extlinux.conf on $ODROID_BOOT"
- cp --preserve=mode -R "$BUILD_PATH/boot/extlinux" "$ODROID_BOOT/"
- info "copying Mageia image to root partition"
- /bin/rsync -rlptogDH --exclude "$ODROID_BOOT/" --exclude "qemu-arm-static*" "$BUILD_PATH/" "$ROOT/"
- /bin/rsync -rlptogDH "$ODROID_BOOT/" "$BOOT/"
- ;;
- esac
-
-# info "copying tools in /usr/local/bin/"
-# /bin/cp -v --preserve=mode "$SOURCE_PATH/tools/" "$BUILD_PATH/usr/local/bin/"
-# if ! [ $? -eq 0 ];then
-# error "line $LINENO error copying tools"
-# ERRORN=$((ERRORN++))
-# fi
-# /bin/mkdir "$ROOT/boot"
-
- copyingcommon
- # Syncing devices before unmounting
- /usr/bin/sync
- /usr/bin/umount "$BOOT" "$ROOT"
- if [ $? -eq 0 ];then
- /bin/rmdir "$BOOT" "$ROOT"
- else
- error "line $LINENO error unmounting $ROOT or $BOOT : exiting"
- exit 1
- fi
-
- /usr/sbin/partx -d "$DEVICE"
- if [ $? -ne 0 ];then
- error "line $LINENO warning : error unmounting $DEVICE "
- exit 1
- fi
- warning "You can now burn the image ( $INSTALL_PATH/$IMAGE ) on SD card"
+ error "This function is called if no sourced file is containing bunrningBootloader function."
+ return 1
}
-# Copying files common to all systems
-copyingcommon()
+function copyingCustomSystem()
{
- title "Copying common files and configuration"
- rsync -rlptDH "$SOURCE_PATH/common/" "$ROOT/"
- rsync -rlptDH "$SOURCE_PATH/tools/"*.sh "$ROOT/usr/local/bin/"
- chown root:root "$ROOT/usr/local/bin/"
+ error "This function is called if no sourced file is containing bunrningBootloader function."
+ return 1
}
-if [ $# == 0 ];then
- help
- exit
+
+
+ERRORN=0
+ERR_1=1
+ERR_DEFAULT_CONFIG=2
+ERR_NO_CONFIG_FILE=3
+ERR_NOT_ROOT=4
+ERR_DEPENDENCY_MISSING=5
+ERR_NO_SPACE=6
+ERR_7=7
+ERR_8=8
+ERR_9=9
+
+SEPARATE_BOOT_PARTITION=1
+
+#######################
+# PROGRAMM START HERE #
+#######################
+
+
+info ${0}
+
+#Check dependencies :
+#if [ -e /usr/bin/qemu-arm-static ]; then
+# error "qemu-user-static package is needed."
+# exit ${ERR_DEPENDENCY_MISSING}
+#fi
+#if [ 0 -ne $(id -u) ]; then
+# error "Script need to be run as root."
+# exit ${ERR_NOT_ROOT}
+#fi
+
+SOURCE_PATH="$(/bin/dirname "$(readlink -f "${0}")")"
+INSTALL_PATH="$(pwd)/build"
+# FILES_PATH="${SOURCE_PATH}/files"
+PLATFORMS_PATH="${SOURCE_PATH}/platforms"
+
+CMDNAME=$(/bin/basename "${0}")
+
+
+if [ ${#} == 0 ]; then
+ help
+ exit
fi
# parsing commandline
-TEMP=$(getopt -o h,a --long all,help,clean,create-chroot,addmedia,create-image,,config:,target:,target-version:,chroot,bootfs:,install-basesystem,update-mirror,build-path:,size:,nonfree,tainted -n $CMDNAME -- "$@")
-if [ $? -ne 0 ] ; then error "line $LINENO Failed parsing options." >&2 ; exit 1 ; fi
-eval set -- "$TEMP"
-
-echo "$TEMP"
-# Note the quotes around `$TEMP': they are essential!
-while true;
-do
- case "$1" in
- -h|--help)
- help
- exit 0
- ;;
- -a|--all)
- OPT="all"
- shift 1
- ;;
- --clean)
- OPT="clean"
- shift
- ;;
- --size)
- IMAGE_SIZE_P=$2
- shift 2
- ;;
- --build-path)
- INSTALL_PATH_P="$2"
- shift 2
- ;;
- --chroot)
- if [ -z $OPT ];then
- OPT="chroot"
- fi
- shift
- ;;
- --create-chroot)
- if [ -z $OPT ];then
- OPT="createchroot"
- fi
- shift
- ;;
- --addmedia)
- if [ -z $OPT ];then
- OPT="addmedia"
- fi
- shift
- ;;
- --update-mirror)
- if [ -z $OPT ];then
- OPT="updatemirror"
- fi
- shift
- ;;
- --install-basesystem)
- if [ -z $OPT ];then
- OPT="installbasesystem"
- fi
- shift
- ;;
- --create-image)
- if [ -z $OPT ];then
- CREATEIMAGE=true
- OPT="createimage"
- fi
- shift
- ;;
- --target)
- TARGET_P=$2
- shift 2
- ;;
- --target-version)
- TARGET_VERSION_P=$2
- shift 2
- ;;
- --config)
- CONFIG_PATH="$PLATFORMS_PATH/$2"
- shift 2
- ;;
- --bootfs)
- BOOTFS_P=$2
- shift 2
- ;;
- --nonfree)
- NONFREE_P=1
- shift
- ;;
- --tainted)
- TAINTED_P=1
- shift
- ;;
- --)
+TEMP=$(getopt -o h,a --long all,help,clean,create-chroot,addmedia,create-image,,config:,target:,target-version:,chroot,bootfs:,install-basesystem,update-mirror,build-path:,size:,nonfree,tainted -n ${CMDNAME} -- "${@}")
+if [ ${?} -ne 0 ] ; then error "line ${LINENO} Failed parsing options." >&2 ; exit ${ERR_1} ; fi
+eval set -- "${TEMP}"
+
+echo "${TEMP}"
+# Note the quotes around `$TEMP': they are essential! Or not, $( ) do the same as ` `. But there are the ` ' used ?
+while true; do
+ case "${1}" in
+ -h|--help)
+ help
+ exit 0
+ ;;
+ -a|--all)
+ OPT="all"
+ shift 1
+ ;;
+ --clean)
+ OPT="clean"
+ shift
+ ;;
+ --size)
+ IMAGE_SIZE_P=${2}
+ shift 2
+ ;;
+ --build-path)
+ INSTALL_PATH_P=$(readlink -f "${2}")
+ shift 2
+ ;;
+ --chroot)
+ if [ -z ${OPT} ]; then
+ OPT="chroot"
+ fi
+ shift
+ ;;
+ --create-chroot)
+ if [ -z ${OPT} ]; then
+ OPT="createchroot"
+ fi
+ shift
+ ;;
+ --addmedia)
+ if [ -z ${OPT} ]; then
+ OPT="addmedia"
+ fi
+ shift
+ ;;
+ --update-mirror)
+ if [ -z ${OPT} ]; then
+ OPT="updatemirror"
+ fi
+ shift
+ ;;
+ --install-basesystem)
+ if [ -z ${OPT} ]; then
+ OPT="installbasesystem"
+ fi
+ shift
+ ;;
+ --create-image)
+ if [ -z ${OPT} ]; then
+ CREATEIMAGE=true
+ OPT="createimage"
+ fi
+ shift
+ ;;
+ --target)
+ TARGET_P=${2}
+ shift 2
+ ;;
+ --target-version)
+ TARGET_VERSION_P=${2}
+ shift 2
+ ;;
+ --config)
+ CONFIG_PATH="${PLATFORMS_PATH}/${2}"
+ shift 2
+ ;;
+ --bootfs)
+ BOOTFS_P=${2}
+ shift 2
+ ;;
+ --nonfree)
+ NONFREE_P=1
+ shift
+ ;;
+ --tainted)
+ TAINTED_P=1
+ shift
+ ;;
+ --)
shift
break;;
- *)
- error "Parameter $1 does not exists "
- exit 1;;
- esac
+ *)
+ error "Parameter ${1} does not exists "
+ exit ${ERR_1};;
+ esac
done
# path of config file
-if ! [ -d "$CONFIG_PATH" ];then
- info " Config path does not exists, defaulting to ./platforms/$TARGET"
- CONFIG_PATH="$PLATFORMS_PATH/$TARGET"
- warning "Do you want i make it and copy the template file in? [Y|n] "
+if ! [ -d "${CONFIG_PATH}" ]; then
+ info " Config path does not exists, defaulting to ./platforms/${TARGET}"
+ CONFIG_PATH="${PLATFORMS_PATH}/${TARGET}"
+ warning "Do you want to create it and to copy the template file in? [Y|n] "
read yn
- if [ -z $yn ] || [ $yn = "Y" ] || [ $yn = "y" ];then
- /usr/bin/mkdir "$CONFIG_PATH/"
- /usr/bin/cp --preserve=mode "$SOURCE_PATH/config.template" "$CONFIG_PATH/mageia4arm.cfg"
- warning "You need now to modify the config file ($CONFIG_PATH/mageia4arm.cfg) and relaunch the script"
- exit 2
+ if [ -z ${yn} ] || [ ${yn} = "Y" ] || [ ${yn} = "y" ]; then
+ /usr/bin/mkdir "${CONFIG_PATH}/"
+ /usr/bin/cp --preserve=mode "${SOURCE_PATH}/mageia4arm.cfg.template" "${CONFIG_PATH}/mageia4arm.cfg"
+ warning "You need now to modify the config file (${CONFIG_PATH}/mageia4arm.cfg) and relaunch the script"
+ exit ${ERR_DEFAULT_CONFIG}
else
error "Error: Can't continue without config file, exiting"
- exit 3
+ exit ${ERR_NO_CONFIG_FILE}
fi
fi
-if [ -e "$CONFIG_PATH/mageia4arm.cfg" ];then
- info "using $CONFIG_PATH/mageia4arm.cfg as config"
- . "$CONFIG_PATH/mageia4arm.cfg"
+if [ -e "${CONFIG_PATH}/mageia4arm.cfg" ]; then
+ info "using ${CONFIG_PATH}/mageia4arm.cfg as config"
+ source "${CONFIG_PATH}/mageia4arm.cfg" #NOTE1 : Here is sourced a file with variables.
else
- warning "Config file does not exists, do you want i copy template ? [Y|n] "
- read yn
- if [ -z $yn ] || [ $yn = "Y" ] || [ $yn = "y" ];then
- /usr/bin/cp --preserve=mode "$SOURCE_PATH/mageia4arm.cfg.template" "$CONFIG_PATH/mageia4arm.cfg"
- warning "You need now to modify the config file ($CONFIG_PATH/mageia4arm.cfg) and relaunch the script"
- exit 2
- fi
+ warning "Config file does not exists, do you want to copy template ? [Y|n] "
+ read yn
+ if [ -z ${yn} ] || [ ${yn} = "Y" ] || [ ${yn} = "y" ]; then
+ /usr/bin/cp --preserve=mode "${SOURCE_PATH}/mageia4arm.cfg.template" "${CONFIG_PATH}/mageia4arm.cfg"
+ warning "You need now to modify the config file (${CONFIG_PATH}/mageia4arm.cfg) and relaunch the script"
+ exit ${ERR_DEFAULT_CONFIG}
+ fi
fi
-if ! [ -z "$IMAGE_SIZE_P" ];then
- IMAGE_SIZE=$IMAGE_SIZE_P
+if ! [ -z "${IMAGE_SIZE_P}" ]; then
+ IMAGE_SIZE=${IMAGE_SIZE_P}
fi
-if ! [ -z "$INSTALL_PATH_P" ];then
- INSTALL_PATH=$INSTALL_PATH_P
+if ! [ -z "${INSTALL_PATH_P}" ]; then
+ INSTALL_PATH=${INSTALL_PATH_P}
fi
-if ! [ -z "$TARGET_P" ];then
- TARGET=$TARGET_P
+if ! [ -z "${TARGET_P}" ]; then
+ TARGET=${TARGET_P}
fi
-if ! [ -z "$TARGET_VERSION_P" ];then
- TARGET_VERSION=$TARGET_VERSION_P
+if ! [ -z "${TARGET_VERSION_P}" ]; then
+ TARGET_VERSION=${TARGET_VERSION_P}
fi
-if ! [ -z "$BOOTFS_P" ];then
- BOOTFS=$BOOTFS_P
+if ! [ -z "${BOOTFS_P}" ]; then
+ BOOTFS=${BOOTFS_P}
fi
-if ! [ -z "$NONFREE_P" ];then
- NONFREE=$NONFREE_P
+if ! [ -z "${NONFREE_P}" ]; then
+ NONFREE=${NONFREE_P}
+else
+ NONFREE=0
fi
-if ! [ -z "$TAINTED_P" ];then
- TAINTED=$TAINTED_P
+if ! [ -z "${TAINTED_P}" ]; then
+ TAINTED=${TAINTED_P}
+else
+ TAINTED=0
fi
-info "Option: "$OPT
+info "Option: "${OPT}
-IMAGE="Mageia-${MAGEIA_VERSION}-$TARGET$TARGET_VERSION.img"
+IMAGE="Mageia-${MAGEIA_VERSION}-${TARGET}${TARGET_VERSION}.img"
BOOT="/mnt/boot"
ROOT="/mnt/root"
-BUILD_PATH="$INSTALL_PATH/build"
+BUILD_PATH="${INSTALL_PATH}/build-${TARGET}${TARGET_VERSION}"
ARM_VERSION="armv7hl"
-# assign function for building image of TARGET ( rpi, odroid )
-case $TARGET in
-odroid)
- CREATEIMG="createxu3image"
- ;;
-rpi)
- CREATEIMG="createrpiimage"
- ;;
-*)
- error "No Target : $TARGET"
- exit 1
- ;;
-esac
+# Assigne a script for creating a particular target image (rpi, odroid, ...)
+if [ -e "${CONFIG_PATH}/specialFunctions.sh" ]; then
+ source "${CONFIG_PATH}/specialFunctions.sh"
+fi
-info "target : $TARGET"
-info "target_version : $TARGET_VERSION"
-info "source path: $SOURCE_PATH"
-info "Install path: $INSTALL_PATH"
-info "Build path: $BUILD_PATH"
-info "Commande : $CMDNAME"
-info "Firmware path : $FIRMWARE_PATH"
-info "Firmware dir : $FIRMWARE_DIR"
+info "target : ${TARGET}"
+info "target_version : ${TARGET_VERSION}"
+info "source path: ${SOURCE_PATH}"
+info "Install path: ${INSTALL_PATH}"
+info "Build path: ${BUILD_PATH}"
+info "Commande : ${CMDNAME}"
+info "Firmware path : ${FIRMWARE_PATH}"
+info "Firmware dir : ${FIRMWARE_DIR}"
# Defining default image size to 7 go
-if [[ "$IMAGE_SIZE" -lt 7 ]] || [[ "$IMAGE_SIZE" -gt 128 ]];then
- IMAGE_SIZE=7
+if [[ "${IMAGE_SIZE}" -lt 2 ]] || [[ "${IMAGE_SIZE}" -gt 128 ]]; then
+ IMAGE_SIZE=7
fi
# change dir to install path and create it if not existing
-if [ "$OPT" != "clean" ];then
- info "cd $INSTALL_PATH"
- if ! [ -e "$INSTALL_PATH" ];then
- /bin/mkdir -p "$INSTALL_PATH"
- if [ -z $? ];then
- error "line $LINENO can't make directory $INSTALL_PATH , exiting"
- exit 1
- fi
- fi
- cd "$INSTALL_PATH"
- if [ -z $? ];then
- error "line $LINENO can't change to directory $INSTALL_PATH , exiting"
- exit 1
- fi
+if [ "${OPT}" != "clean" ]; then
+ info "cd ${INSTALL_PATH}"
+ if ! [ -e "${INSTALL_PATH}" ]; then
+ /bin/mkdir -p "${INSTALL_PATH}"
+ if [ -z ${?} ]; then
+ error "line ${LINENO} can't make directory ${INSTALL_PATH} , exiting"
+ exit ${ERR_1}
+ fi
+ fi
+ cd "${INSTALL_PATH}"
+ if [ -z ${?} ]; then
+ error "line ${LINENO} can't change to directory ${INSTALL_PATH} , exiting"
+ exit ${ERR_1}
+ fi
fi
#if no parameters then display help message
-if [ -z $OPT ];then
- OPT="--help"
+if [ -z ${OPT} ]; then
+ OPT="--help"
fi
-info "Image size is: $IMAGE_SIZE Go"
-
-case $OPT in
- clean)
- clean
- ;;
- all)
- verify_disk_space
- if [ $? -eq 1 ];then
- echo -e "Not enough space on disk\nDo you want to continue anyway ? [Y,n]"
- read yn
- if [ $yn = "n" ];then
- exit 6
- fi
- fi
- createchroot
- addmedia
- updatemirror
- installbasesystem
- preparechroot
- jumpchroot
- $CREATEIMG
- ;;
- createchroot)
- createchroot
- ;;
- chroot)
- jumpchroot
- ;;
- addmedia)
- addmedia
- ;;
- updatemirror)
- updatemirror
- ;;
- createimage)
- verify_disk_space
- if [ $? -eq 1 ];then
- warning "Not enough space on disk"
- exit 6
- fi
- $CREATEIMG
- ;;
- installbasesystem)
- installbasesystem
- ;;
+info "Image size is: ${IMAGE_SIZE} GB"
+
+case ${OPT} in
+ "clean")
+ clean
+ ;;
+ "all")
+ verify_disk_space
+ if [ ${?} -ne 0 ]; then
+ echo -e "Not enough space on disk\nDo you want to continue anyway ? [Y,n]"
+ read yn
+ if [ ${yn} = "n" ]; then
+ exit ${ERR_NO_SPACE}
+ fi
+ fi
+ createImageWrap #Create the empty .img
+ createchroot #Check qemu and activate it
+ addmedia
+ updatemirror
+ installbasesystem #Generate the rootfs, rootfiles, ...
+ mkfstab
+ preparechroot
+ jumpchroot
+ #Check before is useless (with $MIRROR
+ info "Use mirrorlist to light one server."
+ MIRROR=
+ addmedia
+ mountPartitions
+ copyingsystem
+ unmountingPartitions
+ unloopingImage
+ ;;
+ "createchroot")
+ createchroot
+ ;;
+ "chroot")
+ jumpchroot
+ ;;
+ "addmedia")
+ addmedia
+ ;;
+ "updatemirror")
+ updatemirror
+ ;;
+ "createimage")
+ verify_disk_space
+ if [ ${?} -ne 0 ]; then
+ warning "Not enough space on disk"
+ exit ${ERR_NO_SPACE}
+ fi
+ createImageWrap
+ ;;
+ "installbasesystem")
+ installbasesystem
+ ;;
esac
-if ! [ -z $ERRORN ];then
- warning "Some errors occurs : $ERRORN errors"
+if [ ${ERRORN} -ne 0 ]; then
+ warning "Some errors occurs : ${ERRORN} errors"
fi
+
+exit ${ERRORN}
diff --git a/log/creation.log b/log/creation.log
new file mode 100644
index 0000000..9d6d3f5
--- /dev/null
+++ b/log/creation.log
@@ -0,0 +1,1563 @@
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --build-path './build' --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: /home/jibz/workspaces/mageia4arm/build
+Build path: /home/jibz/workspaces/mageia4arm/build/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : ./bananaPro/
+Firmware dir : 
+cd /home/jibz/workspaces/mageia4arm/build
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+Free disk space: 35G
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+2048+0 records in
+2048+0 records out
+2048000000 bytes (2.0 GB, 1.9 GiB) copied, 0.862779 s, 2.4 GB/s
+Looping image ...
+Burning the bootloader...
+477+1 records in
+477+1 records out
+489010 bytes (489 kB, 478 KiB) copied, 0.0711179 s, 6.9 MB/s
+making partitions
+
+Welcome to fdisk (util-linux 2.33.2).
+Changes will remain in memory only, until you decide to write them.
+Be careful before using the write command.
+
+Device does not contain a recognized partition table.
+Created a new DOS disklabel with disk identifier 0x14577f4d.
+
+Command (m for help): Partition type
+ p primary (0 primary, 0 extended, 4 free)
+ e extended (container for logical partitions)
+Select (default p): Partition number (1-4, default 1): First sector (2048-3999999, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-3999999, default 3999999):
+Created a new partition 1 of type 'Linux' and of size 1.9 GiB.
+
+Command (m for help): Selected partition 1
+The bootable flag on partition 1 is enabled now.
+
+Command (m for help): The partition table has been altered.
+Calling ioctl() to re-read partition table.
+Re-reading the partition table failed.: Invalid argument
+
+The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
+
+partition: none, disk: /dev/loop0, lower: 0, upper: 0
+/dev/loop0: partition table type 'dos' detected
+/dev/loop0: partition #1 added
+Formatting partitions
+Root : /dev/loop0p1 as ext4
+mke2fs 1.45.4 (23-Sep-2019)
+Discarding device blocks: 4096/499744 done
+Creating filesystem with 499744 4k blocks and 125184 inodes
+Filesystem UUID: 03c0235b-ec27-4b41-ba5c-bd7a80999374
+Superblock backups stored on blocks:
+ 32768, 98304, 163840, 229376, 294912
+
+Allocating group tables: 0/16 done
+Writing inode tables: 0/16 done
+Creating journal (8192 blocks): done
+Writing superblocks and filesystem accounting information: 0/16 done
+
+Root UUID: 03c0235b-ec27-4b41-ba5c-bd7a80999374
+Making chroot
+active
+Creating media http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl
+Removing old media
+nothing to remove (use urpmi.addmedia to add a media)
+Adding media
+adding medium "Core Release"
+adding medium "Core Release Debug" (ignored by default)
+adding medium "Core Updates"
+adding medium "Core Updates Debug" (ignored by default)
+adding medium "Core Updates Testing" (ignored by default)
+adding medium "Core Updates Testing Debug" (ignored by default)
+adding medium "Core Backports" (ignored by default)
+adding medium "Core Backports Debug" (ignored by default)
+adding medium "Core Backports Testing" (ignored by default)
+adding medium "Core Backports Testing Debug" (ignored by default)
+adding medium "Nonfree Release" (ignored by default)
+adding medium "Nonfree Release Debug" (ignored by default)
+adding medium "Nonfree Updates" (ignored by default)
+adding medium "Nonfree Updates Debug" (ignored by default)
+adding medium "Nonfree Updates Testing" (ignored by default)
+adding medium "Nonfree Updates Testing Debug" (ignored by default)
+adding medium "Nonfree Backports" (ignored by default)
+adding medium "Nonfree Backports Debug" (ignored by default)
+adding medium "Nonfree Backports Testing" (ignored by default)
+adding medium "Nonfree Backports Testing Debug" (ignored by default)
+adding medium "Tainted Release" (ignored by default)
+adding medium "Tainted Release Debug" (ignored by default)
+adding medium "Tainted Updates" (ignored by default)
+adding medium "Tainted Updates Debug" (ignored by default)
+adding medium "Tainted Updates Testing" (ignored by default)
+adding medium "Tainted Updates Testing Debug" (ignored by default)
+adding medium "Tainted Backports" (ignored by default)
+adding medium "Tainted Backports Debug" (ignored by default)
+adding medium "Tainted Backports Testing" (ignored by default)
+adding medium "Tainted Backports Testing Debug" (ignored by default)
+ http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/media_info/20190627-235944-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 0% of 0 completed, ETA = --:--:--, speed = 0 49% of 2277k completed, ETA = 0:00:01, speed = 1070k 90% of 2277k completed, ETA = --:--:--, speed = 998k 100% of 2277k completed, ETA = --:--:--, speed = 956k warning: Generating 18 missing index(es), please wait...
+ http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/media_info/20191114-171920-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 142k completed, ETA = --:--:--, speed = 129k 100% of 142k completed, ETA = --:--:--, speed = 129k activating non-free repos
+activating tainted repos
+updating mirror
+medium "Core Release" is up-to-date
+medium "Core Updates" is up-to-date
+ http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/release/media_info/20190628-001223-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 7036 completed, ETA = --:--:--, speed = 38239 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/updates/media_info/20191114-165528-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 948 completed, ETA = --:--:--, speed = 7707 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/tainted/release/media_info/20190628-001354-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 32484 completed, ETA = --:--:--, speed = 220k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/tainted/updates/media_info/20191023-203718-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 8940 completed, ETA = --:--:--, speed = 72682 Build path exists
+installing basesystem
+
+
+ http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/xz-5.2.4-2.mga7.armv7hl.rpm
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 155k completed, ETA = --:--:--, speed = 323k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpopt0-1.16-14.mga7.armv7hl.rpm
+ 100% of 25376 completed, ETA = --:--:--, speed = 442k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/passwd-0.80-1.mga7.armv7hl.rpm
+ 100% of 88076 completed, ETA = --:--:--, speed = 966k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libsmartcols1-2.33.2-1.mga7.armv7hl.rpm
+ 100% of 68948 completed, ETA = --:--:--, speed = 831k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libgpg-error-common-1.36-1.mga7.noarch.rpm
+ 83% of 88276 completed, ETA = --:--:--, speed = 841k 100% of 88276 completed, ETA = --:--:--, speed = 2934k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/geoip-database-1.6.12-4.mga7.noarch.rpm
+ 5% of 24.3M completed, ETA = 0:00:17, speed = 1419k 10% of 24.3M completed, ETA = 0:00:17, speed = 1129k 12% of 24.3M completed, ETA = 0:00:26, speed = 640k 14% of 24.3M completed, ETA = 0:00:24, speed = 699k 16% of 24.3M completed, ETA = 0:00:25, speed = 667k 17% of 24.3M completed, ETA = 0:00:27, speed = 597k 23% of 24.3M completed, ETA = 0:00:23, speed = 670k 25% of 24.3M completed, ETA = 0:00:23, speed = 724k 31% of 24.3M completed, ETA = 0:00:19, speed = 848k 36% of 24.3M completed, ETA = 0:00:17, speed = 994k 39% of 24.3M completed, ETA = 0:00:17, speed = 1064k 41% of 24.3M completed, ETA = 0:00:17, speed = 875k 45% of 24.3M completed, ETA = 0:00:16, speed = 1019k 47% of 24.3M completed, ETA = 0:00:15, speed = 794k 50% of 24.3M completed, ETA = 0:00:15, speed = 704k 54% of 24.3M completed, ETA = 0:00:13, speed = 751k 59% of 24.3M completed, ETA = 0:00:12, speed = 912k 66% of 24.3M completed, ETA = 0:00:10, speed = 1049k 73% of 24.3M completed, ETA = 0:00:07, speed = 1320k 84% of 24.3M completed, ETA = 0:00:04, speed = 1670k 92% of 24.3M completed, ETA = 0:00:02, speed = 1933k 100% of 24.3M completed, ETA = --:--:--, speed = 2078k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/initscripts-9.78-10.mga7.armv7hl.rpm
+ 39% of 1032k completed, ETA = --:--:--, speed = 2604k 100% of 1032k completed, ETA = --:--:--, speed = 3015k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/hostname-3.21-1.mga7.armv7hl.rpm
+ 100% of 23848 completed, ETA = --:--:--, speed = 1663k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/ncurses-6.1-20181117.3.mga7.armv7hl.rpm
+ 100% of 206k completed, ETA = --:--:--, speed = 2874k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/traceroute-2.1.0-2.mga7.armv7hl.rpm
+ 100% of 40024 completed, ETA = --:--:--, speed = 1954k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libcryptsetup12-2.1.0-1.mga7.armv7hl.rpm
+ 100% of 127k completed, ETA = --:--:--, speed = 2354k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/crontabs-1.10-23.mga7.noarch.rpm
+ 100% of 8084 completed, ETA = --:--:--, speed = 789k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libidn2_0-2.1.1a-1.mga7.armv7hl.rpm
+ 100% of 51040 completed, ETA = --:--:--, speed = 2623k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/cronie-1.5.4-1.mga7.armv7hl.rpm
+ 100% of 91436 completed, ETA = --:--:--, speed = 2880k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/info-install-6.5-7.mga7.armv7hl.rpm
+ 100% of 29948 completed, ETA = --:--:--, speed = 1720k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libffi6-3.2.1-7.mga7.armv7hl.rpm
+ 100% of 27064 completed, ETA = --:--:--, speed = 1651k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/dbus-1.13.8-4.mga7.armv7hl.rpm
+ 100% of 195k completed, ETA = --:--:--, speed = 1537k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/dhcp-client-4.4.1-3.mga7.armv7hl.rpm
+ 100% of 873k completed, ETA = --:--:--, speed = 2562k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/cracklib-dicts-2.9.7-1.mga7.armv7hl.rpm
+ 85% of 226k completed, ETA = --:--:--, speed = 1641k 100% of 226k completed, ETA = --:--:--, speed = 2180k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libkeyutils1-1.6-1.mga7.armv7hl.rpm
+ 100% of 11960 completed, ETA = --:--:--, speed = 648k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libssh4-0.8.7-1.mga7.armv7hl.rpm
+ 100% of 154k completed, ETA = --:--:--, speed = 820k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/filesystem-2.1.9-30.mga7.armv7hl.rpm
+ 100% of 15624 completed, ETA = --:--:--, speed = 803k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/tcb-1.1-9.mga7.armv7hl.rpm
+ 100% of 24232 completed, ETA = --:--:--, speed = 1690k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libfdisk1-2.33.2-1.mga7.armv7hl.rpm
+ 100% of 133k completed, ETA = --:--:--, speed = 1874k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libprocps7-3.3.15-1.mga7.armv7hl.rpm
+ 100% of 39896 completed, ETA = --:--:--, speed = 270k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libuser1-0.62-14.mga7.armv7hl.rpm
+ 100% of 40960 completed, ETA = --:--:--, speed = 1333k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libtasn1_6-4.13-2.mga7.armv7hl.rpm
+ 100% of 32012 completed, ETA = --:--:--, speed = 665k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-base-5.28.2-1.mga7.armv7hl.rpm
+ 25% of 1618k completed, ETA = 0:00:01, speed = 1035k 100% of 1618k completed, ETA = --:--:--, speed = 1861k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libncurses6-6.1-20181117.3.mga7.armv7hl.rpm
+ 100% of 158k completed, ETA = --:--:--, speed = 2439k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/gzip-1.10-1.mga7.armv7hl.rpm
+ 100% of 113k completed, ETA = --:--:--, speed = 3075k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/gawk-4.2.1-2.mga7.armv7hl.rpm
+ 43% of 876k completed, ETA = --:--:--, speed = 1537k 100% of 876k completed, ETA = --:--:--, speed = 2200k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpkgconf3-1.6.1-1.mga7.armv7hl.rpm
+ 100% of 27232 completed, ETA = --:--:--, speed = 1772k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/zstd-1.4.0-1.mga7.armv7hl.rpm
+ 100% of 233k completed, ETA = --:--:--, speed = 2430k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/geoip-1.6.12-4.mga7.armv7hl.rpm
+ 100% of 42476 completed, ETA = --:--:--, speed = 1803k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libcurl4-7.64.1-1.mga7.armv7hl.rpm
+ 100% of 190k completed, ETA = --:--:--, speed = 1576k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libbrotlicommon1-1.0.7-2.mga7.armv7hl.rpm
+ 100% of 62500 completed, ETA = --:--:--, speed = 968k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libxcrypt1-4.4.6-1.mga7.armv7hl.rpm
+ 100% of 114k completed, ETA = --:--:--, speed = 1384k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libseccomp2-2.3.3-2.mga7.armv7hl.rpm
+ 100% of 33260 completed, ETA = --:--:--, speed = 928k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libacl1-2.2.53-1.mga7.armv7hl.rpm
+ 100% of 24580 completed, ETA = --:--:--, speed = 1600k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/kbd-2.0.4-2.mga7.armv7hl.rpm
+ 51% of 1639k completed, ETA = --:--:--, speed = 2668k 100% of 1639k completed, ETA = --:--:--, speed = 3648k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libdbus1_3-1.13.8-4.mga7.armv7hl.rpm
+ 100% of 98728 completed, ETA = --:--:--, speed = 2678k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/popt-data-1.16-14.mga7.noarch.rpm
+ 100% of 24728 completed, ETA = --:--:--, speed = 619k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libverto1-0.3.0-3.mga7.armv7hl.rpm
+ 100% of 15940 completed, ETA = --:--:--, speed = 1415k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libuuid1-2.33.2-1.mga7.armv7hl.rpm
+ 100% of 18892 completed, ETA = --:--:--, speed = 1229k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/util-linux-2.33.2-1.mga7.armv7hl.rpm
+ 81% of 2282k completed, ETA = --:--:--, speed = 2706k 100% of 2282k completed, ETA = --:--:--, speed = 2182k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libsigsegv2-2.12-2.mga7.armv7hl.rpm
+ 100% of 27712 completed, ETA = --:--:--, speed = 1691k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libncursesw6-6.1-20181117.3.mga7.armv7hl.rpm
+ 100% of 123k completed, ETA = --:--:--, speed = 1508k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/dhcp-common-4.4.1-3.mga7.armv7hl.rpm
+ 100% of 102k completed, ETA = --:--:--, speed = 1104k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libunistring2-0.9.10-2.mga7.armv7hl.rpm
+ 100% of 348k completed, ETA = --:--:--, speed = 2023k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libbrotlidec1-1.0.7-2.mga7.armv7hl.rpm
+ 100% of 24712 completed, ETA = --:--:--, speed = 1419k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/ifplugd-0.28-21.mga7.armv7hl.rpm
+ 100% of 44244 completed, ETA = --:--:--, speed = 1800k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libdb5.3-5.3.28-17.mga7.armv7hl.rpm
+ 100% of 439k completed, ETA = --:--:--, speed = 2072k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpsl5-0.21.0-1.mga7.armv7hl.rpm
+ 100% of 54928 completed, ETA = --:--:--, speed = 2145k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/liblzma5-5.2.4-2.mga7.armv7hl.rpm
+ 100% of 91064 completed, ETA = --:--:--, speed = 1034k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/run-parts-4.8.4-2.mga7.armv7hl.rpm
+ 100% of 42588 completed, ETA = --:--:--, speed = 2188k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/publicsuffix-list-dafsa-20190417-1.mga7.noarch.rpm
+ 100% of 53080 completed, ETA = --:--:--, speed = 2591k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libintl8-0.19.8.1-4.mga7.armv7hl.rpm
+ 39% of 82632 completed, ETA = --:--:--, speed = 1667k 100% of 82632 completed, ETA = --:--:--, speed = 1750k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/sed-4.7-1.mga7.armv7hl.rpm
+ 100% of 270k completed, ETA = --:--:--, speed = 1650k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/makedev-4.4-23.2.mga7.noarch.rpm
+ 100% of 63128 completed, ETA = --:--:--, speed = 2568k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libxml2_2-2.9.9-2.mga7.armv7hl.rpm
+ 100% of 419k completed, ETA = --:--:--, speed = 1775k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libreadline7-7.0-3.mga7.armv7hl.rpm
+ 100% of 98k completed, ETA = --:--:--, speed = 2454k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libarchive13-3.4.0-1.mga7.armv7hl.rpm
+ 100% of 281k completed, ETA = --:--:--, speed = 2367k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/logrotate-3.15.0-1.mga7.armv7hl.rpm
+ 100% of 62652 completed, ETA = --:--:--, speed = 2266k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/bzip2-1.0.6-13.mga7.armv7hl.rpm
+ 100% of 68428 completed, ETA = --:--:--, speed = 2304k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/rpm-helper-0.24.17-5.mga7.noarch.rpm
+ 100% of 21416 completed, ETA = --:--:--, speed = 1161k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-MDK-Common-1.2.34.2-3.mga7.noarch.rpm
+ 100% of 52228 completed, ETA = --:--:--, speed = 1961k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/rpm-mageia-setup-2.39-1.mga7.armv7hl.rpm
+ 100% of 13092 completed, ETA = --:--:--, speed = 983k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/gettext-base-0.19.8.1-4.mga7.armv7hl.rpm
+ 96% of 455k completed, ETA = --:--:--, speed = 1638k 100% of 455k completed, ETA = --:--:--, speed = 1893k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-File-Sync-0.110.0-26.mga7.armv7hl.rpm
+ 100% of 17264 completed, ETA = --:--:--, speed = 543k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/p11-kit-0.23.15-1.mga7.armv7hl.rpm
+ 100% of 37976 completed, ETA = --:--:--, speed = 842k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/diffutils-3.7-1.mga7.armv7hl.rpm
+ 100% of 294k completed, ETA = --:--:--, speed = 1924k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/resolvconf-1.79-4.mga7.noarch.rpm
+ 100% of 37852 completed, ETA = --:--:--, speed = 1848k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/net-tools-2.0-0.20150915git.5.mga7.armv7hl.rpm
+ 100% of 236k completed, ETA = --:--:--, speed = 1891k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libgpg-error0-1.36-1.mga7.armv7hl.rpm
+ 100% of 52184 completed, ETA = --:--:--, speed = 1698k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpcre1-8.43-1.mga7.armv7hl.rpm
+ 100% of 132k completed, ETA = --:--:--, speed = 1248k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/liblz4_1-1.8.3-1.mga7.armv7hl.rpm
+ 100% of 50480 completed, ETA = --:--:--, speed = 1264k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libcap2-2.27-1.mga7.armv7hl.rpm
+ 100% of 28924 completed, ETA = --:--:--, speed = 1569k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libidn2-i18n-2.1.1a-1.mga7.noarch.rpm
+ 100% of 24724 completed, ETA = --:--:--, speed = 1341k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libmount1-2.33.2-1.mga7.armv7hl.rpm
+ 100% of 111k completed, ETA = --:--:--, speed = 1299k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libnettle6-3.4.1-1.mga7.armv7hl.rpm
+ 100% of 271k completed, ETA = --:--:--, speed = 2058k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/nss_tcb-1.1-9.mga7.armv7hl.rpm
+ 100% of 9652 completed, ETA = --:--:--, speed = 725k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/krb5-1.17-2.mga7.armv7hl.rpm
+ 100% of 87400 completed, ETA = --:--:--, speed = 2845k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/vim-minimal-8.1.1048-1.mga7.armv7hl.rpm
+ 62% of 395k completed, ETA = --:--:--, speed = 1760k 100% of 395k completed, ETA = --:--:--, speed = 807k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/html2text-1.3.2a-15.mga7.armv7hl.rpm
+ 100% of 81112 completed, ETA = --:--:--, speed = 2475k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/psmisc-23.2-2.mga7.armv7hl.rpm
+ 100% of 128k completed, ETA = --:--:--, speed = 1199k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libblkid1-2.33.2-1.mga7.armv7hl.rpm
+ 100% of 102k completed, ETA = --:--:--, speed = 922k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/basesystem-minimal-7-1.mga7.armv7hl.rpm
+ 100% of 7552 completed, ETA = --:--:--, speed = 491k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/grep-3.3-1.mga7.armv7hl.rpm
+ 100% of 153k completed, ETA = --:--:--, speed = 1684k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libfuse2-2.9.9-1.mga7.armv7hl.rpm
+ 100% of 69024 completed, ETA = --:--:--, speed = 1296k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/tar-1.32-1.mga7.armv7hl.rpm
+ 65% of 843k completed, ETA = --:--:--, speed = 1383k 100% of 843k completed, ETA = --:--:--, speed = 1706k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libdbnss4.8-4.8.30-24.mga7.armv7hl.rpm
+ 100% of 330k completed, ETA = --:--:--, speed = 2464k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libgnutls30-3.6.7-1.mga7.armv7hl.rpm
+ 100% of 540k completed, ETA = --:--:--, speed = 2647k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/iputils-20180629-2.mga7.armv7hl.rpm
+ 100% of 111k completed, ETA = --:--:--, speed = 2312k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libuser-0.62-14.mga7.armv7hl.rpm
+ 100% of 273k completed, ETA = --:--:--, speed = 2279k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/common-licenses-1.1-9.mga7.noarch.rpm
+ 100% of 47516 completed, ETA = --:--:--, speed = 2442k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/chkconfig-1.11-2.mga7.armv7hl.rpm
+ 100% of 145k completed, ETA = --:--:--, speed = 1143k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/pkgconf-1.6.1-1.mga7.armv7hl.rpm
+ 100% of 35192 completed, ETA = --:--:--, speed = 2021k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/rmt-0.4b46-5.mga7.armv7hl.rpm
+ 100% of 23100 completed, ETA = --:--:--, speed = 1879k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/liblua5.3-5.3.5-2.mga7.armv7hl.rpm
+ 100% of 77292 completed, ETA = --:--:--, speed = 2695k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libbz2_1-1.0.6-13.mga7.armv7hl.rpm
+ 100% of 34684 completed, ETA = --:--:--, speed = 1992k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libutempter-1.1.6-6.mga7.armv7hl.rpm
+ 100% of 21788 completed, ETA = --:--:--, speed = 1182k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libgeoip1-1.6.12-4.mga7.armv7hl.rpm
+ 100% of 64704 completed, ETA = --:--:--, speed = 2527k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/dash-static-0.5.10.2-1.mga7.armv7hl.rpm
+ 100% of 56828 completed, ETA = --:--:--, speed = 2219k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libcrack2-2.9.7-1.mga7.armv7hl.rpm
+ 100% of 16516 completed, ETA = --:--:--, speed = 1466k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/bash-completion-2.8-2.mga7.noarch.rpm
+ 16% of 229k completed, ETA = --:--:--, speed = 2395k 100% of 229k completed, ETA = --:--:--, speed = 2152k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/kmod-26-1.mga7.armv7hl.rpm
+ 100% of 93372 completed, ETA = --:--:--, speed = 2849k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/procps-ng-3.3.15-1.mga7.armv7hl.rpm
+ 100% of 346k completed, ETA = --:--:--, speed = 1733k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/pkgconf-pkg-config-1.6.1-1.mga7.armv7hl.rpm
+ 100% of 9108 completed, ETA = --:--:--, speed = 808k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libjson-c4-0.13.1-2.mga7.armv7hl.rpm
+ 100% of 27520 completed, ETA = --:--:--, speed = 1679k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/less-550-1.mga7.armv7hl.rpm
+ 100% of 165k completed, ETA = --:--:--, speed = 3512k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/setup-2.7.24-3.mga7.noarch.rpm
+ 100% of 120k completed, ETA = --:--:--, speed = 3096k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libp11-kit0-0.23.15-1.mga7.armv7hl.rpm
+ 100% of 168k completed, ETA = --:--:--, speed = 2154k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/sash-3.8-7.mga7.armv7hl.rpm
+ 100% of 268k completed, ETA = --:--:--, speed = 1839k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libtcb0-1.1-9.mga7.armv7hl.rpm
+ 100% of 15984 completed, ETA = --:--:--, speed = 1200k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libdaemon0-0.14-12.mga7.armv7hl.rpm
+ 100% of 14644 completed, ETA = --:--:--, speed = 1191k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libzstd1-1.4.0-1.mga7.armv7hl.rpm
+ 100% of 184k completed, ETA = --:--:--, speed = 2462k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libhogweed4-3.4.1-1.mga7.armv7hl.rpm
+ 96% of 264k completed, ETA = --:--:--, speed = 1056k 100% of 264k completed, ETA = --:--:--, speed = 960k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/bash-4.4-23.1.mga7.armv7hl.rpm
+ 100% of 1045k completed, ETA = --:--:--, speed = 1812k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libsasl2_3-2.1.27-1.mga7.armv7hl.rpm
+ 100% of 46096 completed, ETA = --:--:--, speed = 2143k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/shadow-utils-4.6-1.mga7.armv7hl.rpm
+ 100% of 981k completed, ETA = --:--:--, speed = 2588k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/ifmetric-0.3-18.mga7.armv7hl.rpm
+ 29% of 13192 completed, ETA = --:--:--, speed = 379k 100% of 13192 completed, ETA = --:--:--, speed = 1816k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/which-2.21-4.mga7.armv7hl.rpm
+ 100% of 28552 completed, ETA = --:--:--, speed = 697k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libgmp10-6.1.2-3.mga7.armv7hl.rpm
+ 100% of 177k completed, ETA = --:--:--, speed = 2330k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libzlib1-1.2.11-7.mga7.armv7hl.rpm
+ 100% of 54760 completed, ETA = --:--:--, speed = 2325k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libelfutils1-0.176-1.mga7.armv7hl.rpm
+ 100% of 241k completed, ETA = --:--:--, speed = 3550k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libopenssl1.1-1.1.0j-1.mga7.armv7hl.rpm
+ 100% of 846k completed, ETA = --:--:--, speed = 2792k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libkrb53-1.17-2.mga7.armv7hl.rpm
+ 100% of 492k completed, ETA = --:--:--, speed = 3304k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libcap-ng0-0.7.9-3.mga7.armv7hl.rpm
+ 100% of 22856 completed, ETA = --:--:--, speed = 1716k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/ipcalc-0.2.0-5.mga7.armv7hl.rpm
+ 100% of 30584 completed, ETA = --:--:--, speed = 1991k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/pam_tcb-1.1-9.mga7.armv7hl.rpm
+ 100% of 22224 completed, ETA = --:--:--, speed = 1808k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libmicrohttpd12-0.9.63-1.mga7.armv7hl.rpm
+ 100% of 94600 completed, ETA = --:--:--, speed = 1565k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/pkgconf-m4-1.6.1-1.mga7.noarch.rpm
+ 100% of 13612 completed, ETA = --:--:--, speed = 1208k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/rootfiles-11.0-15.mga7.noarch.rpm
+ 100% of 11756 completed, ETA = --:--:--, speed = 1148k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/lsb-release-2.0-54.mga7.noarch.rpm
+ 100% of 15228 completed, ETA = --:--:--, speed = 1239k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/findutils-4.6.0-2.mga7.armv7hl.rpm
+ 81% of 429k completed, ETA = --:--:--, speed = 1830k 100% of 429k completed, ETA = --:--:--, speed = 1164k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/liblzo2_2-2.10-2.mga7.armv7hl.rpm
+ 100% of 52432 completed, ETA = --:--:--, speed = 1969k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/time-1.9-2.mga7.armv7hl.rpm
+ 100% of 30880 completed, ETA = --:--:--, speed = 1507k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libkmod2-26-1.mga7.armv7hl.rpm
+ 100% of 38112 completed, ETA = --:--:--, speed = 1958k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libglib2.0_0-2.60.2-1.mga7.armv7hl.rpm
+ 100% of 438k completed, ETA = --:--:--, speed = 2138k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libattr1-2.4.48-2.mga7.armv7hl.rpm
+ 100% of 12580 completed, ETA = --:--:--, speed = 1023k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/etcskel-1.63-35.mga7.noarch.rpm
+ 100% of 8276 completed, ETA = --:--:--, speed = 278k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libqrencode4-4.0.2-2.mga7.armv7hl.rpm
+ 100% of 146k completed, ETA = --:--:--, speed = 1478k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpam_userpass1-1.0.2-14.mga7.armv7hl.rpm
+ 100% of 11916 completed, ETA = --:--:--, speed = 684k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libaudit1-2.8.5-1.mga7.armv7hl.rpm
+ 100% of 38348 completed, ETA = --:--:--, speed = 1248k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/crypto-policies-20170606-2.mga7.noarch.rpm
+ 100% of 29586 completed, ETA = --:--:--, speed = 1699k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/cronie-anacron-1.5.4-1.mga7.armv7hl.rpm
+ 100% of 27060 completed, ETA = --:--:--, speed = 1390k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/coreutils-8.31-1.mga7.armv7hl.rpm
+ 48% of 2249k completed, ETA = --:--:--, speed = 2559k 100% of 2249k completed, ETA = --:--:--, speed = 2503k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/mageia-release-Default-7-3.mga7.armv7hl.rpm
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 10004 completed, ETA = --:--:--, speed = 64541 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/rootcerts-20191011.00-1.mga7.noarch.rpm
+ 82% of 543k completed, ETA = --:--:--, speed = 1372k 100% of 543k completed, ETA = --:--:--, speed = 3708k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libpam0-1.3.1-1.1.mga7.armv7hl.rpm
+ 100% of 195k completed, ETA = --:--:--, speed = 2084k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libgcrypt20-1.8.5-1.mga7.armv7hl.rpm
+ 100% of 359k completed, ETA = --:--:--, speed = 3666k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/mageia-repos-7-4.mga7.armv7hl.rpm
+ 100% of 9780 completed, ETA = --:--:--, speed = 955k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/ethtool-5.3-1.mga7.armv7hl.rpm
+ 100% of 112k completed, ETA = --:--:--, speed = 1368k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libip4tc0-1.8.2-5.1.mga7.armv7hl.rpm
+ 100% of 19388 completed, ETA = --:--:--, speed = 1262k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/pam-1.3.1-1.1.mga7.armv7hl.rpm
+ 100% of 360k completed, ETA = --:--:--, speed = 3192k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/mageia-release-common-7-3.mga7.armv7hl.rpm
+ 100% of 39060 completed, ETA = --:--:--, speed = 1907k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libgcc1-8.3.1-0.20190920.1.mga7.armv7hl.rpm
+ 100% of 88940 completed, ETA = --:--:--, speed = 2554k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libmagic1-5.37-1.2.mga7.armv7hl.rpm
+ 100% of 66752 completed, ETA = --:--:--, speed = 2172k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/rpm-plugin-syslog-4.14.2.1-12.1.mga7.armv7hl.rpm
+ 100% of 14428 completed, ETA = --:--:--, speed = 281k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libdevmapper1.02-1.02.154-1.1.mga7.armv7hl.rpm
+ 100% of 130k completed, ETA = --:--:--, speed = 3101k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libext2fs2-1.45.4-1.mga7.armv7hl.rpm
+ 100% of 182k completed, ETA = --:--:--, speed = 3375k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/rpm-4.14.2.1-12.1.mga7.armv7hl.rpm
+ 100% of 454k completed, ETA = --:--:--, speed = 3367k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/nss-myhostname-241-8.2.mga7.armv7hl.rpm
+ 100% of 198k completed, ETA = --:--:--, speed = 3545k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libldap2.4_2-2.4.47-3.1.mga7.armv7hl.rpm
+ 100% of 151k completed, ETA = --:--:--, speed = 1607k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libstdc++6-8.3.1-0.20190920.1.mga7.armv7hl.rpm
+ 18% of 311k completed, ETA = --:--:--, speed = 1713k 100% of 311k completed, ETA = --:--:--, speed = 1043k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/glibc-2.29-16.mga7.armv7hl.rpm
+ 51% of 3242k completed, ETA = 0:00:01, speed = 2194k 100% of 3242k completed, ETA = --:--:--, speed = 3253k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libiptables12-1.8.2-5.1.mga7.armv7hl.rpm
+ 100% of 27904 completed, ETA = --:--:--, speed = 1602k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/mageia-repos-pkgprefs-7-4.mga7.noarch.rpm
+ 100% of 8456 completed, ETA = --:--:--, speed = 750k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/rpm-plugin-ima-4.14.2.1-12.1.mga7.armv7hl.rpm
+ 100% of 14160 completed, ETA = --:--:--, speed = 727k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/openldap-2.4.47-3.1.mga7.armv7hl.rpm
+ 100% of 19872 completed, ETA = --:--:--, speed = 1617k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/e2fsprogs-1.45.4-1.mga7.armv7hl.rpm
+ 83% of 1009k completed, ETA = --:--:--, speed = 1849k 100% of 1009k completed, ETA = --:--:--, speed = 1091k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libnghttp2_14-1.38.0-1.1.mga7.armv7hl.rpm
+ 100% of 57632 completed, ETA = --:--:--, speed = 1655k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/mageia-repos-keys-7-4.mga7.noarch.rpm
+ 100% of 9004 completed, ETA = --:--:--, speed = 439k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libexpat1-2.2.7-1.1.mga7.armv7hl.rpm
+ 100% of 59840 completed, ETA = --:--:--, speed = 1885k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libudev1-241-8.2.mga7.armv7hl.rpm
+ 100% of 63268 completed, ETA = --:--:--, speed = 1047k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/file-5.37-1.2.mga7.armv7hl.rpm
+ 100% of 479k completed, ETA = --:--:--, speed = 2385k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/rpm-plugin-systemd-inhibit-4.14.2.1-12.1.mga7.armv7hl.rpm
+ 100% of 15956 completed, ETA = --:--:--, speed = 820k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libsystemd0-241-8.2.mga7.armv7hl.rpm
+ 100% of 223k completed, ETA = --:--:--, speed = 3145k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/timezone-2019c-1.mga7.armv7hl.rpm
+ 100% of 368k completed, ETA = --:--:--, speed = 2709k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/cpio-2.13-1.mga7.armv7hl.rpm
+ 100% of 222k completed, ETA = --:--:--, speed = 1047k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/systemd-units-241-8.2.mga7.armv7hl.rpm
+ 93% of 180k completed, ETA = --:--:--, speed = 3063k 100% of 180k completed, ETA = --:--:--, speed = 688k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/librpm8-4.14.2.1-12.1.mga7.armv7hl.rpm
+ 100% of 208k completed, ETA = --:--:--, speed = 2025k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/systemd-241-8.2.mga7.armv7hl.rpm
+ 44% of 4376k completed, ETA = 0:00:01, speed = 2241k 100% of 4376k completed, ETA = --:--:--, speed = 2983k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/iproute2-5.2.0-1.mga7.armv7hl.rpm
+ 63% of 672k completed, ETA = --:--:--, speed = 2254k 100% of 672k completed, ETA = --:--:--, speed = 1608k installing libcryptsetup12-2.1.0-1.mga7.armv7hl.rpm traceroute-2.1.0-2.mga7.armv7hl.rpm initscripts-9.78-10.mga7.armv7hl.rpm ncurses-6.1-20181117.3.mga7.armv7hl.rpm hostname-3.21-1.mga7.armv7hl.rpm passwd-0.80-1.mga7.armv7hl.rpm libsmartcols1-2.33.2-1.mga7.armv7hl.rpm timezone-2019c-1.mga7.armv7hl.rpm libncurses6-6.1-20181117.3.mga7.armv7hl.rpm libtasn1_6-4.13-2.mga7.armv7hl.rpm mageia-repos-7-4.mga7.armv7hl.rpm libgcrypt20-1.8.5-1.mga7.armv7hl.rpm tcb-1.1-9.mga7.armv7hl.rpm cracklib-dicts-2.9.7-1.mga7.armv7hl.rpm libkeyutils1-1.6-1.mga7.armv7hl.rpm libprocps7-3.3.15-1.mga7.armv7hl.rpm libuser1-0.62-14.mga7.armv7hl.rpm libfdisk1-2.33.2-1.mga7.armv7hl.rpm libdevmapper1.02-1.02.154-1.1.mga7.armv7hl.rpm libffi6-3.2.1-7.mga7.armv7hl.rpm libmagic1-5.37-1.2.mga7.armv7hl.rpm dbus-1.13.8-4.mga7.armv7hl.rpm info-install-6.5-7.mga7.armv7hl.rpm dhcp-common-4.4.1-3.mga7.armv7hl.rpm popt-data-1.16-14.mga7.noarch.rpm libdbus1_3-1.13.8-4.mga7.armv7hl.rpm util-linux-2.33.2-1.mga7.armv7hl.rpm libuuid1-2.33.2-1.mga7.armv7hl.rpm rpm-plugin-systemd-inhibit-4.14.2.1-12.1.mga7.armv7hl.rpm libxcrypt1-4.4.6-1.mga7.armv7hl.rpm libseccomp2-2.3.3-2.mga7.armv7hl.rpm libsystemd0-241-8.2.mga7.armv7hl.rpm libcurl4-7.64.1-1.mga7.armv7hl.rpm kbd-2.0.4-2.mga7.armv7hl.rpm gzip-1.10-1.mga7.armv7hl.rpm gawk-4.2.1-2.mga7.armv7hl.rpm perl-MDK-Common-1.2.34.2-3.mga7.noarch.rpm mageia-release-Default-7-3.mga7.armv7hl.rpm rpm-mageia-setup-2.39-1.mga7.armv7hl.rpm libip4tc0-1.8.2-5.1.mga7.armv7hl.rpm libarchive13-3.4.0-1.mga7.armv7hl.rpm logrotate-3.15.0-1.mga7.armv7hl.rpm run-parts-4.8.4-2.mga7.armv7hl.rpm publicsuffix-list-dafsa-20190417-1.mga7.noarch.rpm ifplugd-0.28-21.mga7.armv7hl.rpm glibc-2.29-16.mga7.armv7hl.rpm libbrotlidec1-1.0.7-2.mga7.armv7hl.rpm libdb5.3-5.3.28-17.mga7.armv7hl.rpm basesystem-minimal-7-1.mga7.armv7hl.rpm file-5.37-1.2.mga7.armv7hl.rpm psmisc-23.2-2.mga7.armv7hl.rpm libblkid1-2.33.2-1.mga7.armv7hl.rpm libidn2-i18n-2.1.1a-1.mga7.noarch.rpm libnettle6-3.4.1-1.mga7.armv7hl.rpm cpio-2.13-1.mga7.armv7hl.rpm nss_tcb-1.1-9.mga7.armv7hl.rpm krb5-1.17-2.mga7.armv7hl.rpm libpcre1-8.43-1.mga7.armv7hl.rpm net-tools-2.0-0.20150915git.5.mga7.armv7hl.rpm p11-kit-0.23.15-1.mga7.armv7hl.rpm libbz2_1-1.0.6-13.mga7.armv7hl.rpm liblua5.3-5.3.5-2.mga7.armv7hl.rpm libutempter-1.1.6-6.mga7.armv7hl.rpm libuser-0.62-14.mga7.armv7hl.rpm chkconfig-1.11-2.mga7.armv7hl.rpm rmt-0.4b46-5.mga7.armv7hl.rpm libdbnss4.8-4.8.30-24.mga7.armv7hl.rpm libfuse2-2.9.9-1.mga7.armv7hl.rpm tar-1.32-1.mga7.armv7hl.rpm libgnutls30-3.6.7-1.mga7.armv7hl.rpm ifmetric-0.3-18.mga7.armv7hl.rpm libgmp10-6.1.2-3.mga7.armv7hl.rpm mageia-repos-keys-7-4.mga7.noarch.rpm shadow-utils-4.6-1.mga7.armv7hl.rpm bash-4.4-23.1.mga7.armv7hl.rpm libp11-kit0-0.23.15-1.mga7.armv7hl.rpm bash-completion-2.8-2.mga7.noarch.rpm kmod-26-1.mga7.armv7hl.rpm systemd-units-241-8.2.mga7.armv7hl.rpm libcrack2-2.9.7-1.mga7.armv7hl.rpm pkgconf-pkg-config-1.6.1-1.mga7.armv7hl.rpm procps-ng-3.3.15-1.mga7.armv7hl.rpm crypto-policies-20170606-2.mga7.noarch.rpm cronie-anacron-1.5.4-1.mga7.armv7hl.rpm coreutils-8.31-1.mga7.armv7hl.rpm libglib2.0_0-2.60.2-1.mga7.armv7hl.rpm libattr1-2.4.48-2.mga7.armv7hl.rpm libkmod2-26-1.mga7.armv7hl.rpm libpam_userpass1-1.0.2-14.mga7.armv7hl.rpm libqrencode4-4.0.2-2.mga7.armv7hl.rpm findutils-4.6.0-2.mga7.armv7hl.rpm rpm-4.14.2.1-12.1.mga7.armv7hl.rpm ipcalc-0.2.0-5.mga7.armv7hl.rpm libiptables12-1.8.2-5.1.mga7.armv7hl.rpm rpm-plugin-ima-4.14.2.1-12.1.mga7.armv7hl.rpm libgpg-error-common-1.36-1.mga7.noarch.rpm geoip-database-1.6.12-4.mga7.noarch.rpm xz-5.2.4-2.mga7.armv7hl.rpm systemd-241-8.2.mga7.armv7hl.rpm libpopt0-1.16-14.mga7.armv7hl.rpm perl-base-5.28.2-1.mga7.armv7hl.rpm libssh4-0.8.7-1.mga7.armv7hl.rpm filesystem-2.1.9-30.mga7.armv7hl.rpm dhcp-client-4.4.1-3.mga7.armv7hl.rpm crontabs-1.10-23.mga7.noarch.rpm cronie-1.5.4-1.mga7.armv7hl.rpm libstdc++6-8.3.1-0.20190920.1.mga7.armv7hl.rpm libidn2_0-2.1.1a-1.mga7.armv7hl.rpm mageia-repos-pkgprefs-7-4.mga7.noarch.rpm libunistring2-0.9.10-2.mga7.armv7hl.rpm libnghttp2_14-1.38.0-1.1.mga7.armv7hl.rpm libncursesw6-6.1-20181117.3.mga7.armv7hl.rpm libverto1-0.3.0-3.mga7.armv7hl.rpm libudev1-241-8.2.mga7.armv7hl.rpm libsigsegv2-2.12-2.mga7.armv7hl.rpm geoip-1.6.12-4.mga7.armv7hl.rpm zstd-1.4.0-1.mga7.armv7hl.rpm libbrotlicommon1-1.0.7-2.mga7.armv7hl.rpm libacl1-2.2.53-1.mga7.armv7hl.rpm libpkgconf3-1.6.1-1.mga7.armv7hl.rpm rootcerts-20191011.00-1.mga7.noarch.rpm rpm-helper-0.24.17-5.mga7.noarch.rpm makedev-4.4-23.2.mga7.noarch.rpm libxml2_2-2.9.9-2.mga7.armv7hl.rpm bzip2-1.0.6-13.mga7.armv7hl.rpm libreadline7-7.0-3.mga7.armv7hl.rpm libpsl5-0.21.0-1.mga7.armv7hl.rpm liblzma5-5.2.4-2.mga7.armv7hl.rpm sed-4.7-1.mga7.armv7hl.rpm libintl8-0.19.8.1-4.mga7.armv7hl.rpm grep-3.3-1.mga7.armv7hl.rpm libexpat1-2.2.7-1.1.mga7.armv7hl.rpm html2text-1.3.2a-15.mga7.armv7hl.rpm libmount1-2.33.2-1.mga7.armv7hl.rpm libcap2-2.27-1.mga7.armv7hl.rpm vim-minimal-8.1.1048-1.mga7.armv7hl.rpm perl-File-Sync-0.110.0-26.mga7.armv7hl.rpm librpm8-4.14.2.1-12.1.mga7.armv7hl.rpm gettext-base-0.19.8.1-4.mga7.armv7hl.rpm diffutils-3.7-1.mga7.armv7hl.rpm libgpg-error0-1.36-1.mga7.armv7hl.rpm resolvconf-1.79-4.mga7.noarch.rpm iproute2-5.2.0-1.mga7.armv7hl.rpm liblz4_1-1.8.3-1.mga7.armv7hl.rpm dash-static-0.5.10.2-1.mga7.armv7hl.rpm libgeoip1-1.6.12-4.mga7.armv7hl.rpm pam-1.3.1-1.1.mga7.armv7hl.rpm common-licenses-1.1-9.mga7.noarch.rpm pkgconf-1.6.1-1.mga7.armv7hl.rpm mageia-release-common-7-3.mga7.armv7hl.rpm libext2fs2-1.45.4-1.mga7.armv7hl.rpm nss-myhostname-241-8.2.mga7.armv7hl.rpm iputils-20180629-2.mga7.armv7hl.rpm openldap-2.4.47-3.1.mga7.armv7hl.rpm e2fsprogs-1.45.4-1.mga7.armv7hl.rpm libzlib1-1.2.11-7.mga7.armv7hl.rpm which-2.21-4.mga7.armv7hl.rpm libelfutils1-0.176-1.mga7.armv7hl.rpm libdaemon0-0.14-12.mga7.armv7hl.rpm libzstd1-1.4.0-1.mga7.armv7hl.rpm libhogweed4-3.4.1-1.mga7.armv7hl.rpm libsasl2_3-2.1.27-1.mga7.armv7hl.rpm less-550-1.mga7.armv7hl.rpm setup-2.7.24-3.mga7.noarch.rpm libjson-c4-0.13.1-2.mga7.armv7hl.rpm libtcb0-1.1-9.mga7.armv7hl.rpm sash-3.8-7.mga7.armv7hl.rpm libpam0-1.3.1-1.1.mga7.armv7hl.rpm ethtool-5.3-1.mga7.armv7hl.rpm etcskel-1.63-35.mga7.noarch.rpm libaudit1-2.8.5-1.mga7.armv7hl.rpm libgcc1-8.3.1-0.20190920.1.mga7.armv7hl.rpm rootfiles-11.0-15.mga7.noarch.rpm lsb-release-2.0-54.mga7.noarch.rpm pkgconf-m4-1.6.1-1.mga7.noarch.rpm rpm-plugin-syslog-4.14.2.1-12.1.mga7.armv7hl.rpm time-1.9-2.mga7.armv7hl.rpm liblzo2_2-2.10-2.mga7.armv7hl.rpm libcap-ng0-0.7.9-3.mga7.armv7hl.rpm pam_tcb-1.1-9.mga7.armv7hl.rpm libopenssl1.1-1.1.0j-1.mga7.armv7hl.rpm libldap2.4_2-2.4.47-3.1.mga7.armv7hl.rpm libkrb53-1.17-2.mga7.armv7hl.rpm libmicrohttpd12-0.9.63-1.mga7.armv7hl.rpm from /home/jibz/workspaces/mageia4arm/build/build-bananaPro1/var/cache/urpmi/rpms
+Preparing... #############################################
+ 1/184: geoip-database #############################################
+ 2/184: pkgconf-m4 #############################################
+ 3/184: rootfiles #############################################
+ 4/184: sash #############################################
+ 5/184: common-licenses #############################################
+ 6/184: dash-static #############################################
+ 7/184: rootcerts #############################################
+ 8/184: libgpg-error-common #############################################
+ 9/184: mageia-repos-keys #############################################
+ 10/184: libidn2-i18n #############################################
+ 11/184: publicsuffix-list-dafsa
+ #############################################
+ 12/184: rpm-mageia-setup #############################################
+ 13/184: popt-data #############################################
+ 14/184: dhcp-common #############################################
+ 15/184: libpkgconf3 #############################################
+ 16/184: pkgconf #############################################
+ 17/184: pkgconf-pkg-config #############################################
+ 18/184: bash-completion #############################################
+ 19/184: run-parts #############################################
+ 20/184: bash #############################################
+ 21/184: setup #############################################
+ 22/184: filesystem #############################################
+ 23/184: libxcrypt1 #############################################
+ 24/184: libstdc++6 #############################################
+ 25/184: libgcc1 #############################################
+ 26/184: grep #############################################
+ 27/184: glibc #############################################
+ 28/184: libncurses6 #############################################
+ 29/184: libpcre1 #############################################
+ 30/184: crontabs #############################################
+ 31/184: lsb-release #############################################
+ 32/184: etcskel #############################################
+ 33/184: libzlib1 #############################################
+ 34/184: liblzma5 #############################################
+ 35/184: perl-base #############################################
+ 36/184: libpopt0 #############################################
+ 37/184: libacl1 #############################################
+ 38/184: chkconfig #############################################
+ 39/184: libbz2_1 #############################################
+ 40/184: libuuid1 #############################################
+ 41/184: libblkid1 #############################################
+ 42/184: libcap2 #############################################
+ 43/184: sed #############################################
+ 44/184: libelfutils1 #############################################
+ 45/184: libnettle6 #############################################
+ 46/184: libgmp10 #############################################
+ 47/184: findutils #############################################
+ 48/184: libunistring2 #############################################
+ 49/184: libidn2_0 #############################################
+ 50/184: libintl8 #############################################
+ 51/184: liblz4_1 #############################################
+ 52/184: libzstd1 #############################################
+ 53/184: libtcb0 #############################################
+ 54/184: libmount1 #############################################
+ 55/184: vim-minimal #############################################
+ 56/184: xz #############################################
+ 57/184: libcrack2 #############################################
+ 58/184: psmisc #############################################
+ 59/184: libncursesw6 #############################################
+ 60/184: hostname #############################################
+ 61/184: libffi6 #############################################
+ 62/184: libglib2.0_0 #############################################
+ 63/184: p11-kit #############################################
+ 64/184: libp11-kit0 #############################################
+ 65/184: libdb5.3 #############################################
+ 66/184: net-tools #############################################
+ 67/184: libudev1 #############################################
+ 68/184: libsigsegv2 #############################################
+ 69/184: gawk #############################################
+ 70/184: libgpg-error0 #############################################
+ 71/184: libgcrypt20 #############################################
+ 72/184: libsystemd0 #############################################
+ 73/184: which #############################################
+ 74/184: libcap-ng0 #############################################
+ 75/184: mageia-repos-pkgprefs #############################################
+ 76/184: libaudit1 #############################################
+ 77/184: libprocps7 #############################################
+ 78/184: procps-ng #############################################
+ 79/184: diffutils #############################################
+ 80/184: libdevmapper1.02 #############################################
+ 81/184: cracklib-dicts #############################################
+ 82/184: gettext-base #############################################
+ 83/184: libpsl5 #############################################
+ 84/184: libhogweed4 #############################################
+ 85/184: libfdisk1 #############################################
+ 86/184: tar #############################################
+ 87/184: perl-File-Sync #############################################
+ 88/184: perl-MDK-Common #############################################
+ 89/184: libxml2_2 #############################################
+ 90/184: libmagic1 #############################################
+ 91/184: file #############################################
+ 92/184: ncurses #############################################
+ 93/184: libreadline7 #############################################
+ 94/184: liblua5.3 #############################################
+ 95/184: traceroute #############################################
+ 96/184: iputils #############################################
+ 97/184: libsmartcols1 #############################################
+ 98/184: libtasn1_6 #############################################
+ 99/184: libgnutls30 #############################################
+ 100/184: libmicrohttpd12 #############################################
+ 101/184: libkeyutils1 #############################################
+ 102/184: libseccomp2 #############################################
+ 103/184: libip4tc0 #############################################
+ 104/184: libdbnss4.8 #############################################
+ 105/184: libpam0 #############################################
+ 106/184: kbd #############################################
+ 107/184: libpam_userpass1 #############################################
+ 108/184: shadow-utils #############################################
+ 109/184: openldap #############################################
+ 110/184: libutempter #############################################
+ 111/184: pam_tcb #############################################
+ 112/184: libfuse2 #############################################
+ 113/184: libext2fs2 #############################################
+ 114/184: e2fsprogs #############################################
+ 115/184: ifmetric #############################################
+ 116/184: libattr1 #############################################
+ 117/184: coreutils #############################################
+ 118/184: mageia-release-Default
+ #############################################
+ 119/184: mageia-repos #############################################
+ 120/184: mageia-release-common #############################################
+ 121/184: crypto-policies #############################################
+ 122/184: makedev #############################################
+/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
+ 123/184: libopenssl1.1 #############################################
+ 124/184: librpm8 #############################################
+ 125/184: rpm-plugin-syslog #############################################
+ 126/184: kmod #############################################
+ 127/184: libuser1 #############################################
+ 128/184: libuser #############################################
+ 129/184: krb5 #############################################
+ 130/184: rpm-plugin-ima #############################################
+ 131/184: rmt #############################################
+ 132/184: cpio #############################################
+ 133/184: libkmod2 #############################################
+ 134/184: timezone #############################################
+ 135/184: logrotate #############################################
+ 136/184: cronie-anacron #############################################
+ 137/184: bzip2 #############################################
+ 138/184: libqrencode4 #############################################
+ 139/184: libiptables12 #############################################
+ 140/184: iproute2 #############################################
+ 141/184: libnghttp2_14 #############################################
+ 142/184: libverto1 #############################################
+ 143/184: libkrb53 #############################################
+ 144/184: libssh4 #############################################
+ 145/184: zstd #############################################
+ 146/184: libbrotlicommon1 #############################################
+ 147/184: libbrotlidec1 #############################################
+ 148/184: libexpat1 #############################################
+ 149/184: html2text #############################################
+ 150/184: less #############################################
+ 151/184: gzip #############################################
+ 152/184: libgeoip1 #############################################
+ 153/184: geoip #############################################
+ 154/184: ipcalc #############################################
+ 155/184: nss-myhostname #############################################
+ 156/184: libdaemon0 #############################################
+ 157/184: ifplugd #############################################
+ 158/184: libsasl2_3 #############################################
+ 159/184: libldap2.4_2 #############################################
+ 160/184: libcurl4 #############################################
+ 161/184: libjson-c4 #############################################
+ 162/184: libcryptsetup12 #############################################
+ 163/184: ethtool #############################################
+ 164/184: libdbus1_3 #############################################
+ 165/184: dbus #############################################
+ 166/184: systemd-units #############################################
+ 167/184: util-linux #############################################
+ 168/184: rpm-helper #############################################
+ 169/184: resolvconf #############################################
+ 170/184: nss_tcb #############################################
+ 171/184: tcb #############################################
+ 172/184: pam #############################################
+ 173/184: systemd #############################################
+ 174/184: dhcp-client #############################################
+ 175/184: initscripts #############################################
+ 176/184: rpm-plugin-systemd-inhibit
+ #############################################
+ 177/184: cronie #############################################
+ 178/184: passwd #############################################
+ 179/184: time #############################################
+ 180/184: liblzo2_2 #############################################
+ 181/184: libarchive13 #############################################
+ 182/184: rpm #############################################
+ 183/184: basesystem-minimal #############################################
+ 184/184: info-install #############################################
+Creating group input with gid 996.
+Creating group kvm with gid 995.
+Creating group render with gid 994.
+Creating group nobody with gid 993.
+Creating group systemd-journal-remote with gid 992.
+Creating user systemd-journal-remote (systemd Journal Remote) with uid 992 and gid 992.
+Creating group systemd-timesync with gid 991.
+Creating user systemd-timesync (systemd Time Synchronization) with uid 991 and gid 991.
+[/usr/lib/tmpfiles.d/tmp.conf:15] Failed to replace specifiers: /tmp/systemd-private-%b-*
+[/usr/lib/tmpfiles.d/tmp.conf:16] Failed to replace specifiers: /tmp/systemd-private-%b-*/tmp
+[/usr/lib/tmpfiles.d/tmp.conf:17] Failed to replace specifiers: /var/tmp/systemd-private-%b-*
+[/usr/lib/tmpfiles.d/tmp.conf:18] Failed to replace specifiers: /var/tmp/systemd-private-%b-*/tmp
+fchmod() of /var/log/btmp failed: No such file or directory
+ACL operation on "/var/log/journal" failed: No such file or directory
+ACL operation on "/var/log/journal" failed: No such file or directory
+Failed to re-open '/var/log/journal': No such file or directory
+----------------------------------------------------------------------
+More information on package less-550-1.mga7.armv7hl
+This version of less includes lesspipe.sh from Wolfgang Friebel
+( http://www-zeuthen.desy.de/~friebel//unix/less/ ).
+
+This enables you to view gz, bz2, lzma, zip, rpm and html files
+among others with less. It works by setting the LESSOPEN
+environment variable, see the man pages for details.
+
+If you want to disable this behavior, either use 'unset LESSOPEN' or
+use an alias ( alias less='less -l' ).
+
+less will open html files with lynx, then html2text, then cat if
+none of the previous were found.
+
+----------------------------------------------------------------------
+----------------------------------------------------------------------
+More information on package bash-completion-2.8-2.mga7.noarch
+Mageia RPM specific notes
+
+Programmable bash completion is enabled by default. These settings can be
+changed system-wide in /etc/sysconfig/bash-completion. Users may override these
+settings in their ~/.bash_completion files. New users get a skeleton
+configuration file automatically, while existing users can copy
+/etc/skel/.bash_completion into their home directories if they want to edit
+their completion settings.
+
+----------------------------------------------------------------------
+
+
+ http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-XML-LibXML-2.20.0-1.mga7.armv7hl.rpm
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 353k completed, ETA = --:--:--, speed = 967k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libssh2_1-1.8.2-1.mga7.armv7hl.rpm
+ 100% of 118k completed, ETA = --:--:--, speed = 1124k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-URPM-5.21-1.mga7.armv7hl.rpm
+ 100% of 102k completed, ETA = --:--:--, speed = 1488k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/genhdlist2-7.10-1.mga7.noarch.rpm
+ 100% of 17192 completed, ETA = --:--:--, speed = 645k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-IO-stringy-2.111.0-5.mga7.noarch.rpm
+ 6% of 59656 completed, ETA = --:--:--, speed = 422k 100% of 59656 completed, ETA = --:--:--, speed = 1877k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libicu63-63.1-1.mga7.armv7hl.rpm
+ 100% of 1261k completed, ETA = --:--:--, speed = 1820k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libsqlite3_0-3.28.0-1.mga7.armv7hl.rpm
+ 99% of 428k completed, ETA = --:--:--, speed = 1511k 100% of 428k completed, ETA = --:--:--, speed = 1940k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-Alien-Build-1.670.0-1.mga7.noarch.rpm
+ 100% of 293k completed, ETA = --:--:--, speed = 1239k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-Config-IniFiles-3.0.2-1.mga7.noarch.rpm
+ 100% of 60188 completed, ETA = --:--:--, speed = 1507k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/u-boot-20180507-3.mga7.armv7hl.rpm
+ 100% of 259k completed, ETA = --:--:--, speed = 525k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-File-chdir-0.101.100-2.mga7.noarch.rpm
+ 100% of 26828 completed, ETA = --:--:--, speed = 1047k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-Capture-Tiny-0.480.0-2.mga7.noarch.rpm
+ 100% of 34756 completed, ETA = --:--:--, speed = 1357k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-MDV-Distribconf-4.101.0-2.mga7.noarch.rpm
+ 100% of 18136 completed, ETA = --:--:--, speed = 983k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-XML-SAX-Base-1.90.0-3.mga7.noarch.rpm
+ 100% of 32920 completed, ETA = --:--:--, speed = 1339k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-5.28.2-1.mga7.armv7hl.rpm
+ 1% of 11.0M completed, ETA = 0:00:07, speed = 1575k 29% of 11.0M completed, ETA = 0:00:02, speed = 3177k 65% of 11.0M completed, ETA = 0:00:01, speed = 3588k 99% of 11.0M completed, ETA = --:--:--, speed = 3654k 100% of 11.0M completed, ETA = --:--:--, speed = 3654k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-Filesys-Df-0.920.0-26.mga7.armv7hl.rpm
+ 100% of 20648 completed, ETA = --:--:--, speed = 1260k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/deltarpm-3.6.1-12.mga7.armv7hl.rpm
+ 100% of 183k completed, ETA = --:--:--, speed = 1359k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-XML-SAX-1.0.0-3.mga7.noarch.rpm
+ 100% of 57460 completed, ETA = --:--:--, speed = 2805k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libgdbm6-1.18.1-1.mga7.armv7hl.rpm
+ 100% of 35524 completed, ETA = --:--:--, speed = 2168k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-Time-ZoneInfo-0.300.0-9.mga7.noarch.rpm
+ 100% of 12528 completed, ETA = --:--:--, speed = 1019k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/icu63-data-63.1-1.mga7.noarch.rpm
+ 48% of 6499k completed, ETA = 0:00:01, speed = 4142k 83% of 6499k completed, ETA = 0:00:01, speed = 2020k 100% of 6499k completed, ETA = --:--:--, speed = 1855k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-Locale-gettext-1.70.0-8.mga7.armv7hl.rpm
+ 100% of 21956 completed, ETA = --:--:--, speed = 1072k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/curl-7.64.1-1.mga7.armv7hl.rpm
+ 100% of 139k completed, ETA = --:--:--, speed = 1097k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-Alien-Libxml2-0.70.0-1.mga7.armv7hl.rpm
+ 100% of 24008 completed, ETA = --:--:--, speed = 1172k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-XML-NamespaceSupport-1.120.0-2.mga7.noarch.rpm
+ 29% of 26652 completed, ETA = --:--:--, speed = 555k 100% of 26652 completed, ETA = --:--:--, speed = 1658k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/locales-2.29-3.mga7.armv7hl.rpm
+ 100% of 368k completed, ETA = --:--:--, speed = 1468k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-FFI-CheckLib-0.230.0-1.mga7.noarch.rpm
+ 100% of 27584 completed, ETA = --:--:--, speed = 1282k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-MDV-Packdrakeng-1.130.0-5.mga7.noarch.rpm
+ 100% of 23396 completed, ETA = --:--:--, speed = 993k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libgdbm_compat4-1.18.1-1.mga7.armv7hl.rpm
+ 100% of 19176 completed, ETA = --:--:--, speed = 1101k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libcares2-1.15.0-1.mga7.armv7hl.rpm
+ 100% of 33596 completed, ETA = --:--:--, speed = 1261k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/aria2-1.34.0-3.mga7.armv7hl.rpm
+ 100% of 914k completed, ETA = --:--:--, speed = 1562k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-Path-Tiny-0.108.0-2.mga7.noarch.rpm
+ 100% of 65084 completed, ETA = --:--:--, speed = 1412k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-File-Which-1.230.0-1.mga7.noarch.rpm
+ 64% of 29312 completed, ETA = --:--:--, speed = 1150k 100% of 29312 completed, ETA = --:--:--, speed = 2043k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/librpmbuild8-4.14.2.1-12.1.mga7.armv7hl.rpm
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 70464 completed, ETA = --:--:--, speed = 427k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/meta-task-7-1.1.mga7.noarch.rpm
+ 100% of 24320 completed, ETA = --:--:--, speed = 1032k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/urpmi-8.118.2-1.mga7.noarch.rpm
+ 100% of 648k completed, ETA = --:--:--, speed = 1742k installing libgdbm6-1.18.1-1.mga7.armv7hl.rpm perl-Time-ZoneInfo-0.300.0-9.mga7.noarch.rpm icu63-data-63.1-1.mga7.noarch.rpm perl-XML-SAX-1.0.0-3.mga7.noarch.rpm locales-2.29-3.mga7.armv7hl.rpm libgdbm_compat4-1.18.1-1.mga7.armv7hl.rpm perl-MDV-Packdrakeng-1.130.0-5.mga7.noarch.rpm perl-FFI-CheckLib-0.230.0-1.mga7.noarch.rpm libcares2-1.15.0-1.mga7.armv7hl.rpm aria2-1.34.0-3.mga7.armv7hl.rpm perl-Path-Tiny-0.108.0-2.mga7.noarch.rpm perl-File-Which-1.230.0-1.mga7.noarch.rpm perl-Locale-gettext-1.70.0-8.mga7.armv7hl.rpm curl-7.64.1-1.mga7.armv7hl.rpm meta-task-7-1.1.mga7.noarch.rpm perl-Alien-Libxml2-0.70.0-1.mga7.armv7hl.rpm perl-XML-NamespaceSupport-1.120.0-2.mga7.noarch.rpm genhdlist2-7.10-1.mga7.noarch.rpm perl-IO-stringy-2.111.0-5.mga7.noarch.rpm libicu63-63.1-1.mga7.armv7hl.rpm perl-Alien-Build-1.670.0-1.mga7.noarch.rpm libsqlite3_0-3.28.0-1.mga7.armv7hl.rpm perl-Config-IniFiles-3.0.2-1.mga7.noarch.rpm u-boot-20180507-3.mga7.armv7hl.rpm perl-XML-LibXML-2.20.0-1.mga7.armv7hl.rpm libssh2_1-1.8.2-1.mga7.armv7hl.rpm perl-URPM-5.21-1.mga7.armv7hl.rpm perl-5.28.2-1.mga7.armv7hl.rpm librpmbuild8-4.14.2.1-12.1.mga7.armv7hl.rpm perl-Filesys-Df-0.920.0-26.mga7.armv7hl.rpm deltarpm-3.6.1-12.mga7.armv7hl.rpm perl-File-chdir-0.101.100-2.mga7.noarch.rpm perl-Capture-Tiny-0.480.0-2.mga7.noarch.rpm urpmi-8.118.2-1.mga7.noarch.rpm perl-MDV-Distribconf-4.101.0-2.mga7.noarch.rpm perl-XML-SAX-Base-1.90.0-3.mga7.noarch.rpm from /home/jibz/workspaces/mageia4arm/build/build-bananaPro1/var/cache/urpmi/rpms
+Preparing... #############################################
+ 1/36: perl-XML-SAX-Base #############################################
+ 2/36: perl-XML-NamespaceSupport
+ #############################################
+ 3/36: perl-MDV-Packdrakeng #############################################
+ 4/36: libgdbm6 #############################################
+ 5/36: perl-XML-SAX #############################################
+ 6/36: perl-IO-stringy #############################################
+ 7/36: perl-Config-IniFiles #############################################
+ 8/36: perl-MDV-Distribconf #############################################
+ 9/36: meta-task #############################################
+ 10/36: perl-File-Which #############################################
+ 11/36: perl-FFI-CheckLib #############################################
+ 12/36: icu63-data #############################################
+ 13/36: perl-Time-ZoneInfo #############################################
+ 14/36: u-boot #############################################
+ 15/36: locales #############################################
+ 16/36: libicu63 #############################################
+ 17/36: libsqlite3_0 #############################################
+ 18/36: libgdbm_compat4 #############################################
+ 19/36: perl #############################################
+ 20/36: perl-Path-Tiny #############################################
+ 21/36: perl-File-chdir #############################################
+ 22/36: perl-Capture-Tiny #############################################
+ 23/36: perl-Alien-Build #############################################
+ 24/36: perl-Alien-Libxml2 #############################################
+ 25/36: perl-XML-LibXML #############################################
+ 26/36: perl-Locale-gettext #############################################
+ 27/36: perl-Filesys-Df #############################################
+ 28/36: deltarpm #############################################
+ 29/36: librpmbuild8 #############################################
+ 30/36: perl-URPM #############################################
+ 31/36: genhdlist2 #############################################
+ 32/36: libssh2_1 #############################################
+ 33/36: libcares2 #############################################
+ 34/36: aria2 #############################################
+ 35/36: urpmi #############################################
+ 36/36: curl #############################################
+making /etc/fstab
+Preparing chrooting in /home/jibz/workspaces/mageia4arm/build/build-bananaPro1
+making /etc/hostname
+copying second stage script in /home/jibz/workspaces/mageia4arm/build/build-bananaPro1
+creation of user account
+copying dtb and boot.scr in /home/jibz/workspaces/mageia4arm/build/build-bananaPro1/boot
+Image Name:
+Created: Thu Nov 14 20:51:45 2019
+Image Type: ARM Linux Script (uncompressed)
+Data Size: 561 Bytes = 0.55 KiB = 0.00 MiB
+Load Address: 00000000
+Entry Point: 00000000
+Contents:
+ Image 0: 553 Bytes = 0.54 KiB = 0.00 MiB
+chrooting to /home/jibz/workspaces/mageia4arm/build/build-bananaPro1
+mounting dev, sys, proc directories in chroot
+Copying resolv.conf
+'/etc/resolv.conf' -> '/home/jibz/workspaces/mageia4arm/build/build-bananaPro1/etc/resolv.conf'
+sh /second_stage_install.sh 2>&1
+Package util-linux-2.33.2-1.mga7.armv7hl is already installed
+Marking util-linux as manually installed, it won't be auto-orphaned
+writing /var/lib/rpm/installed-through-deps.list
+
+
+ http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libgio2.0_0-2.60.2-1.mga7.armv7hl.rpm
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 477k completed, ETA = --:--:--, speed = 1165k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/bootloader-utils-1.16-8.mga7.noarch.rpm
+ 100% of 12724 completed, ETA = --:--:--, speed = 653k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpytalloc-util2-2.1.16-1.mga7.armv7hl.rpm
+ 100% of 12936 completed, ETA = --:--:--, speed = 971k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libtalloc2-2.1.16-1.mga7.armv7hl.rpm
+ 100% of 32940 completed, ETA = --:--:--, speed = 824k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libplymouth4-0.9.4-1.mga7.armv7hl.rpm
+ 100% of 74028 completed, ETA = --:--:--, speed = 2126k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/dash-0.5.10.2-1.mga7.armv7hl.rpm
+ 100% of 75264 completed, ETA = --:--:--, speed = 2450k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libnl-genl3_200-3.4.0-3.mga7.armv7hl.rpm
+ 100% of 14372 completed, ETA = --:--:--, speed = 334k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libp11_3-0.4.9-1.mga7.armv7hl.rpm
+ 100% of 26216 completed, ETA = --:--:--, speed = 1505k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/polkit-0.116-1.mga7.armv7hl.rpm
+ 100% of 109k completed, ETA = --:--:--, speed = 1892k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/rsync-3.1.3-3.mga7.armv7hl.rpm
+ 90% of 362k completed, ETA = --:--:--, speed = 1365k 100% of 362k completed, ETA = --:--:--, speed = 1825k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/lockdev-1.0.4-0.120111007git.13.mga7.armv7hl.rpm
+ 100% of 11564 completed, ETA = --:--:--, speed = 868k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libparted2-3.2-10.mga7.armv7hl.rpm
+ 100% of 98968 completed, ETA = --:--:--, speed = 607k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpci3-3.6.2-1.mga7.armv7hl.rpm
+ 100% of 22056 completed, ETA = --:--:--, speed = 250k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/openssh-server-8.0p1-1.mga7.armv7hl.rpm
+ 100% of 342k completed, ETA = --:--:--, speed = 1380k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libmozjs60-60.4.0-2.mga7.armv7hl.rpm
+ 15% of 5270k completed, ETA = 0:00:03, speed = 1733k 60% of 5270k completed, ETA = 0:00:01, speed = 2351k 95% of 5270k completed, ETA = --:--:--, speed = 2100k 100% of 5270k completed, ETA = --:--:--, speed = 2092k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/groff-1.22.4-1.mga7.armv7hl.rpm
+ 100% of 1262k completed, ETA = --:--:--, speed = 1680k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/python3-rpm-macros-3-7.mga7.noarch.rpm
+ 100% of 7680 completed, ETA = --:--:--, speed = 535k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/kernel-firmware-20190603-1.mga7.noarch.rpm
+ 100% of 70584 completed, ETA = --:--:--, speed = 1351k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/python3-talloc-2.1.16-1.mga7.armv7hl.rpm
+ 100% of 15704 completed, ETA = --:--:--, speed = 958k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/plymouth-0.9.4-1.mga7.armv7hl.rpm
+ 71% of 74356 completed, ETA = --:--:--, speed = 1517k 100% of 74356 completed, ETA = --:--:--, speed = 2100k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/sysfsutils-2.1.0-23.mga7.armv7hl.rpm
+ 100% of 26000 completed, ETA = --:--:--, speed = 906k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/python2-setuptools-41.0.0-1.mga7.noarch.rpm
+ 100% of 492k completed, ETA = --:--:--, speed = 2301k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/openssh-clients-8.0p1-1.mga7.armv7hl.rpm
+ 100% of 405k completed, ETA = --:--:--, speed = 1594k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-String-ShellQuote-1.40.0-12.mga7.noarch.rpm
+ 100% of 17412 completed, ETA = --:--:--, speed = 944k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpolkit1_0-0.116-1.mga7.armv7hl.rpm
+ 100% of 45572 completed, ETA = --:--:--, speed = 2225k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libnl3-config-3.4.0-3.mga7.noarch.rpm
+ 100% of 8792 completed, ETA = --:--:--, speed = 858k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/drakxtools-backend-18.21-1.mga7.armv7hl.rpm
+ 100% of 290k completed, ETA = --:--:--, speed = 1301k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/python3-tdb-1.3.18-1.mga7.armv7hl.rpm
+ 100% of 17024 completed, ETA = --:--:--, speed = 1278k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/openssl-1.1.0j-1.mga7.armv7hl.rpm
+ 99% of 403k completed, ETA = --:--:--, speed = 1729k 100% of 403k completed, ETA = --:--:--, speed = 1813k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libtdb1-1.3.18-1.mga7.armv7hl.rpm
+ 100% of 40376 completed, ETA = --:--:--, speed = 1971k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/rng-tools-6.7-1.mga7.armv7hl.rpm
+ 100% of 42512 completed, ETA = --:--:--, speed = 1887k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libsysfs2-2.1.0-23.mga7.armv7hl.rpm
+ 100% of 17004 completed, ETA = --:--:--, speed = 1277k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/python-pip-wheel-19.0.3-1.mga7.noarch.rpm
+ 100% of 1157k completed, ETA = --:--:--, speed = 1839k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libldetect0.12-0.12.8-4.mga7.armv7hl.rpm
+ 100% of 31180 completed, ETA = --:--:--, speed = 1691k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/make-4.2.1-3.mga7.armv7hl.rpm
+ 100% of 420k completed, ETA = --:--:--, speed = 2693k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpcsclite1-1.8.24-2.mga7.armv7hl.rpm
+ 100% of 26152 completed, ETA = --:--:--, speed = 1276k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libicalvcal3-3.0.4-2.mga7.armv7hl.rpm
+ 100% of 26080 completed, ETA = --:--:--, speed = 1591k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libavahi-client3-0.7-4.mga7.armv7hl.rpm
+ 100% of 25256 completed, ETA = --:--:--, speed = 1370k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/chrony-3.4-2.mga7.armv7hl.rpm
+ 50% of 182k completed, ETA = --:--:--, speed = 1427k 90% of 182k completed, ETA = --:--:--, speed = 72480 100% of 182k completed, ETA = --:--:--, speed = 78835 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libiw30-30-0.pre9.11.mga7.armv7hl.rpm
+ 100% of 18672 completed, ETA = --:--:--, speed = 959k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/groff-for-man-1.22.4-1.mga7.armv7hl.rpm
+ 100% of 735k completed, ETA = --:--:--, speed = 1856k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/man-db-2.8.5-1.mga7.armv7hl.rpm
+ 48% of 951k completed, ETA = --:--:--, speed = 1164k 100% of 951k completed, ETA = --:--:--, speed = 1829k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/python2-pip-19.0.3-1.mga7.noarch.rpm
+ 100% of 1577k completed, ETA = --:--:--, speed = 2263k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libnl3_200-3.4.0-3.mga7.armv7hl.rpm
+ 100% of 46424 completed, ETA = --:--:--, speed = 1971k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/bluez-5.50-5.mga7.armv7hl.rpm
+ 0% of 841k completed, ETA = 0:00:07, speed = 114k 100% of 841k completed, ETA = --:--:--, speed = 1319k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/ldetect-0.12.8-4.mga7.armv7hl.rpm
+ 100% of 11428 completed, ETA = --:--:--, speed = 744k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpipeline1-1.5.0-2.mga7.armv7hl.rpm
+ 100% of 41704 completed, ETA = --:--:--, speed = 1851k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libical3-3.0.4-2.mga7.armv7hl.rpm
+ 100% of 105k completed, ETA = --:--:--, speed = 545k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/wireless-tools-30-0.pre9.11.mga7.armv7hl.rpm
+ 83% of 140k completed, ETA = --:--:--, speed = 738k 100% of 140k completed, ETA = --:--:--, speed = 742k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libedit0-3.1-0.20181209.1.mga7.armv7hl.rpm
+ 100% of 69856 completed, ETA = --:--:--, speed = 1311k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/openssh-8.0p1-1.mga7.armv7hl.rpm
+ 100% of 396k completed, ETA = --:--:--, speed = 1859k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libusb1.0_0-1.0.22-1.mga7.armv7hl.rpm
+ 100% of 54704 completed, ETA = --:--:--, speed = 2136k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libtevent0-0.9.39-1.mga7.armv7hl.rpm
+ 100% of 31932 completed, ETA = --:--:--, speed = 799k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libavahi-common3-0.7-4.mga7.armv7hl.rpm
+ 100% of 22016 completed, ETA = --:--:--, speed = 1433k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/python2-rpm-macros-3-7.mga7.noarch.rpm
+ 100% of 7660 completed, ETA = --:--:--, speed = 110k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/python-setuptools-wheel-41.0.0-1.mga7.noarch.rpm
+ 100% of 275k completed, ETA = --:--:--, speed = 1777k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libjansson4-2.12-1.mga7.armv7hl.rpm
+ 100% of 33120 completed, ETA = --:--:--, speed = 1540k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/bridge-utils-1.6-2.mga7.armv7hl.rpm
+ 100% of 26508 completed, ETA = --:--:--, speed = 1522k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/shared-mime-info-1.12-7.mga7.armv7hl.rpm
+ 100% of 590k completed, ETA = --:--:--, speed = 2115k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/basesystem-7-1.mga7.armv7hl.rpm
+ 100% of 6912 completed, ETA = --:--:--, speed = 182k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libpng16_16-1.6.37-1.mga7.armv7hl.rpm
+ 3% of 122k completed, ETA = --:--:--, speed = 271k 100% of 122k completed, ETA = --:--:--, speed = 980k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libglib-networking-gnutls-2.60.2-1.mga7.armv7hl.rpm
+ 100% of 37472 completed, ETA = --:--:--, speed = 1524k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/libcups2-2.2.11-2.mga7.armv7hl.rpm
+ 100% of 187k completed, ETA = --:--:--, speed = 876k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/python-rpm-macros-3-7.mga7.noarch.rpm
+ 100% of 8544 completed, ETA = --:--:--, speed = 641k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/liblockdev1-1.0.4-0.120111007git.13.mga7.armv7hl.rpm
+ 100% of 18240 completed, ETA = --:--:--, speed = 1484k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/tcp_wrappers-7.6-48.mga7.armv7hl.rpm
+ 100% of 77508 completed, ETA = --:--:--, speed = 1846k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/perl-File-FnMatch-0.20.0-26.mga7.armv7hl.rpm
+ 100% of 17116 completed, ETA = --:--:--, speed = 539k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/dmidecode-3.2-1.mga7.armv7hl.rpm
+ 100% of 52228 completed, ETA = --:--:--, speed = 2125k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/dracut-046-11.mga7.armv7hl.rpm
+ 100% of 290k completed, ETA = --:--:--, speed = 1322k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/usbutils-012-1.mga7.armv7hl.rpm
+ 100% of 91376 completed, ETA = --:--:--, speed = 980k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/release/python2-pkg-resources-41.0.0-1.mga7.noarch.rpm
+ 100% of 183k completed, ETA = --:--:--, speed = 1414k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/nmap-7.70-2.1.mga7.armv7hl.rpm
+ 0% of 0 completed, ETA = --:--:--, speed = 0 22% of 5262k completed, ETA = 0:00:03, speed = 1388k 55% of 5262k completed, ETA = 0:00:02, speed = 1568k 90% of 5262k completed, ETA = 0:00:01, speed = 1675k 100% of 5262k completed, ETA = --:--:--, speed = 1714k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libpcap1-1.9.1-1.mga7.armv7hl.rpm
+ 100% of 105k completed, ETA = --:--:--, speed = 1405k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libpython2.7-2.7.17-1.1.mga7.armv7hl.rpm
+ 100% of 477k completed, ETA = --:--:--, speed = 2435k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/python3-3.7.5-1.mga7.armv7hl.rpm
+ 100% of 20632 completed, ETA = --:--:--, speed = 1343k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libheimntlm-samba4_1-4.10.8-3.mga7.armv7hl.rpm
+ 100% of 19820 completed, ETA = --:--:--, speed = 1138k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libwbclient0-4.10.8-3.mga7.armv7hl.rpm
+ 100% of 33760 completed, ETA = --:--:--, speed = 1098k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libdrm-common-2.4.100-1.mga7.armv7hl.rpm
+ 100% of 9788 completed, ETA = --:--:--, speed = 398k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/samba-client-4.10.8-3.mga7.armv7hl.rpm
+ 100% of 483k completed, ETA = --:--:--, speed = 2443k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libsmbclient0-4.10.8-3.mga7.armv7hl.rpm
+ 100% of 60224 completed, ETA = --:--:--, speed = 2100k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libldb1-1.5.5-1.mga7.armv7hl.rpm
+ 100% of 100k completed, ETA = --:--:--, speed = 2180k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libsamba1-4.10.8-3.mga7.armv7hl.rpm
+ 6% of 4782k completed, ETA = 0:00:02, speed = 2281k 46% of 4782k completed, ETA = 0:00:01, speed = 1895k 92% of 4782k completed, ETA = --:--:--, speed = 2052k 100% of 4782k completed, ETA = --:--:--, speed = 2020k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libpyldb-util1-1.5.5-1.mga7.armv7hl.rpm
+ 100% of 16172 completed, ETA = --:--:--, speed = 1052k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libdrm2-2.4.100-1.mga7.armv7hl.rpm
+ 100% of 31248 completed, ETA = --:--:--, speed = 1453k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/ldb-utils-1.5.5-1.mga7.armv7hl.rpm
+ 100% of 80552 completed, ETA = --:--:--, speed = 1311k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/ldetect-lst-0.6.5-1.mga7.armv7hl.rpm
+ 100% of 1160k completed, ETA = --:--:--, speed = 2132k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libpython2.7-stdlib-2.7.17-1.1.mga7.armv7hl.rpm
+ 6% of 3933k completed, ETA = 0:00:02, speed = 1699k 54% of 3933k completed, ETA = 0:00:01, speed = 1892k 100% of 3933k completed, ETA = --:--:--, speed = 2110k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/kernel-desktop-5.3.7-4.mga7-1-1.mga7.armv7hl.rpm
+ 2% of 27.1M completed, ETA = 0:00:10, speed = 2725k 10% of 27.1M completed, ETA = 0:00:11, speed = 2083k 16% of 27.1M completed, ETA = 0:00:11, speed = 1966k 22% of 27.1M completed, ETA = 0:00:11, speed = 1897k 30% of 27.1M completed, ETA = 0:00:10, speed = 1930k 39% of 27.1M completed, ETA = 0:00:08, speed = 2062k 47% of 27.1M completed, ETA = 0:00:07, speed = 2070k 53% of 27.1M completed, ETA = 0:00:06, speed = 2043k 60% of 27.1M completed, ETA = 0:00:05, speed = 2080k 70% of 27.1M completed, ETA = 0:00:04, speed = 2247k 80% of 27.1M completed, ETA = 0:00:02, speed = 2275k 89% of 27.1M completed, ETA = 0:00:01, speed = 2339k 97% of 27.1M completed, ETA = --:--:--, speed = 2439k 100% of 27.1M completed, ETA = --:--:--, speed = 2443k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/samba-common-4.10.8-3.mga7.armv7hl.rpm
+ 100% of 510k completed, ETA = --:--:--, speed = 1962k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libpython3.7-3.7.5-1.mga7.armv7hl.rpm
+ 61% of 759k completed, ETA = --:--:--, speed = 2167k 100% of 759k completed, ETA = --:--:--, speed = 2082k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/kernel-desktop-latest-5.3.7-4.mga7.armv7hl.rpm
+ 100% of 60200 completed, ETA = --:--:--, speed = 1837k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/iw-5.3-1.mga7.armv7hl.rpm
+ 100% of 79992 completed, ETA = --:--:--, speed = 1627k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/wpa_supplicant-2.9-1.1.mga7.armv7hl.rpm
+ 100% of 938k completed, ETA = --:--:--, speed = 2501k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libkdc-samba4_2-4.10.8-3.mga7.armv7hl.rpm
+ 100% of 59400 completed, ETA = --:--:--, speed = 1160k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libsamba-dc0-4.10.8-3.mga7.armv7hl.rpm
+ 100% of 466k completed, ETA = --:--:--, speed = 1732k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/binutils-2.32-14.mga7.armv7hl.rpm
+ 2% of 4685k completed, ETA = 0:00:03, speed = 1466k 37% of 4685k completed, ETA = 0:00:01, speed = 1647k 83% of 4685k completed, ETA = --:--:--, speed = 1889k 100% of 4685k completed, ETA = --:--:--, speed = 1816k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/libpython3.7-stdlib-3.7.5-1.mga7.armv7hl.rpm
+ 14% of 5454k completed, ETA = 0:00:03, speed = 1661k 54% of 5454k completed, ETA = 0:00:01, speed = 2164k 93% of 5454k completed, ETA = --:--:--, speed = 2141k 100% of 5454k completed, ETA = --:--:--, speed = 2062k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/python3-ldb-1.5.5-1.mga7.armv7hl.rpm
+ 100% of 43124 completed, ETA = --:--:--, speed = 979k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates/python-2.7.17-1.1.mga7.armv7hl.rpm
+ 100% of 76424 completed, ETA = --:--:--, speed = 1223k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/release/bluez-firmware-1.2-14.mga7.nonfree.noarch.rpm
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 69424 completed, ETA = --:--:--, speed = 318k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/updates/iwlwifi-firmware-20190926-1.mga7.nonfree.noarch.rpm
+ 0% of 0 completed, ETA = --:--:--, speed = 0 0% of 0 completed, ETA = --:--:--, speed = 0 21% of 9.9M completed, ETA = 0:00:04, speed = 1949k 44% of 9.9M completed, ETA = 0:00:02, speed = 2141k 67% of 9.9M completed, ETA = 0:00:01, speed = 2206k 94% of 9.9M completed, ETA = --:--:--, speed = 2338k 100% of 9.9M completed, ETA = --:--:--, speed = 2431k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/updates/ralink-firmware-20190926-1.mga7.nonfree.noarch.rpm
+ 100% of 222k completed, ETA = --:--:--, speed = 3318k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/updates/microcode-0.20190918-1.mga7.nonfree.noarch.rpm
+ 63% of 2081k completed, ETA = 0:00:01, speed = 1878k 100% of 2081k completed, ETA = --:--:--, speed = 1915k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/updates/kernel-firmware-nonfree-20190926-1.mga7.nonfree.noarch.rpm
+ 2% of 60.3M completed, ETA = 0:00:25, speed = 2433k 6% of 60.3M completed, ETA = 0:00:23, speed = 2642k 10% of 60.3M completed, ETA = 0:00:22, speed = 2527k 14% of 60.3M completed, ETA = 0:00:22, speed = 2436k 18% of 60.3M completed, ETA = 0:00:20, speed = 2566k 23% of 60.3M completed, ETA = 0:00:19, speed = 2580k 27% of 60.3M completed, ETA = 0:00:17, speed = 2607k 32% of 60.3M completed, ETA = 0:00:16, speed = 2743k 36% of 60.3M completed, ETA = 0:00:15, speed = 2764k 40% of 60.3M completed, ETA = 0:00:14, speed = 2671k 43% of 60.3M completed, ETA = 0:00:14, speed = 2467k 46% of 60.3M completed, ETA = 0:00:14, speed = 2281k 49% of 60.3M completed, ETA = 0:00:13, speed = 2097k 53% of 60.3M completed, ETA = 0:00:12, speed = 2081k 56% of 60.3M completed, ETA = 0:00:11, speed = 1989k 59% of 60.3M completed, ETA = 0:00:11, speed = 2021k 63% of 60.3M completed, ETA = 0:00:10, speed = 2105k 67% of 60.3M completed, ETA = 0:00:09, speed = 2219k 70% of 60.3M completed, ETA = 0:00:08, speed = 2116k 74% of 60.3M completed, ETA = 0:00:07, speed = 2164k 77% of 60.3M completed, ETA = 0:00:06, speed = 2277k 81% of 60.3M completed, ETA = 0:00:05, speed = 2282k 86% of 60.3M completed, ETA = 0:00:04, speed = 2369k 89% of 60.3M completed, ETA = 0:00:03, speed = 2390k 92% of 60.3M completed, ETA = 0:00:02, speed = 2276k 95% of 60.3M completed, ETA = 0:00:01, speed = 2168k 99% of 60.3M completed, ETA = --:--:--, speed = 2197k 100% of 60.3M completed, ETA = --:--:--, speed = 1924k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/updates/radeon-firmware-20191008-1.mga7.nonfree.noarch.rpm
+ 30% of 3876k completed, ETA = 0:00:02, speed = 1527k 85% of 3876k completed, ETA = 0:00:01, speed = 2063k 100% of 3876k completed, ETA = --:--:--, speed = 2101k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/updates/rtlwifi-firmware-20190926-1.mga7.nonfree.noarch.rpm
+ 100% of 615k completed, ETA = --:--:--, speed = 1847k installing usbutils-012-1.mga7.armv7hl.rpm dmidecode-3.2-1.mga7.armv7hl.rpm libheimntlm-samba4_1-4.10.8-3.mga7.armv7hl.rpm bridge-utils-1.6-2.mga7.armv7hl.rpm libpng16_16-1.6.37-1.mga7.armv7hl.rpm ldetect-lst-0.6.5-1.mga7.armv7hl.rpm libpython2.7-stdlib-2.7.17-1.1.mga7.armv7hl.rpm libcups2-2.2.11-2.mga7.armv7hl.rpm libldb1-1.5.5-1.mga7.armv7hl.rpm libglib-networking-gnutls-2.60.2-1.mga7.armv7hl.rpm libavahi-common3-0.7-4.mga7.armv7hl.rpm wpa_supplicant-2.9-1.1.mga7.armv7hl.rpm ralink-firmware-20190926-1.mga7.nonfree.noarch.rpm kernel-desktop-latest-5.3.7-4.mga7.armv7hl.rpm python2-rpm-macros-3-7.mga7.noarch.rpm python2-pip-19.0.3-1.mga7.noarch.rpm libnl3_200-3.4.0-3.mga7.armv7hl.rpm chrony-3.4-2.mga7.armv7hl.rpm libsamba-dc0-4.10.8-3.mga7.armv7hl.rpm libavahi-client3-0.7-4.mga7.armv7hl.rpm libicalvcal3-3.0.4-2.mga7.armv7hl.rpm libpython2.7-2.7.17-1.1.mga7.armv7hl.rpm python-pip-wheel-19.0.3-1.mga7.noarch.rpm libsysfs2-2.1.0-23.mga7.armv7hl.rpm libpcap1-1.9.1-1.mga7.armv7hl.rpm rng-tools-6.7-1.mga7.armv7hl.rpm kernel-firmware-nonfree-20190926-1.mga7.nonfree.noarch.rpm libtdb1-1.3.18-1.mga7.armv7hl.rpm libpcsclite1-1.8.24-2.mga7.armv7hl.rpm microcode-0.20190918-1.mga7.nonfree.noarch.rpm make-4.2.1-3.mga7.armv7hl.rpm perl-String-ShellQuote-1.40.0-12.mga7.noarch.rpm python2-setuptools-41.0.0-1.mga7.noarch.rpm sysfsutils-2.1.0-23.mga7.armv7hl.rpm plymouth-0.9.4-1.mga7.armv7hl.rpm python3-talloc-2.1.16-1.mga7.armv7hl.rpm kernel-firmware-20190603-1.mga7.noarch.rpm drakxtools-backend-18.21-1.mga7.armv7hl.rpm libnl3-config-3.4.0-3.mga7.noarch.rpm samba-client-4.10.8-3.mga7.armv7hl.rpm libpython3.7-3.7.5-1.mga7.armv7hl.rpm openssh-server-8.0p1-1.mga7.armv7hl.rpm kernel-desktop-5.3.7-4.mga7-1-1.mga7.armv7hl.rpm python3-rpm-macros-3-7.mga7.noarch.rpm iw-5.3-1.mga7.armv7hl.rpm groff-1.22.4-1.mga7.armv7hl.rpm python3-ldb-1.5.5-1.mga7.armv7hl.rpm libtalloc2-2.1.16-1.mga7.armv7hl.rpm bootloader-utils-1.16-8.mga7.noarch.rpm libparted2-3.2-10.mga7.armv7hl.rpm bluez-firmware-1.2-14.mga7.nonfree.noarch.rpm lockdev-1.0.4-0.120111007git.13.mga7.armv7hl.rpm python-2.7.17-1.1.mga7.armv7hl.rpm polkit-0.116-1.mga7.armv7hl.rpm dash-0.5.10.2-1.mga7.armv7hl.rpm perl-File-FnMatch-0.20.0-26.mga7.armv7hl.rpm liblockdev1-1.0.4-0.120111007git.13.mga7.armv7hl.rpm tcp_wrappers-7.6-48.mga7.armv7hl.rpm python-rpm-macros-3-7.mga7.noarch.rpm python2-pkg-resources-41.0.0-1.mga7.noarch.rpm dracut-046-11.mga7.armv7hl.rpm python3-3.7.5-1.mga7.armv7hl.rpm basesystem-7-1.mga7.armv7hl.rpm shared-mime-info-1.12-7.mga7.armv7hl.rpm libdrm-common-2.4.100-1.mga7.armv7hl.rpm libjansson4-2.12-1.mga7.armv7hl.rpm libdrm2-2.4.100-1.mga7.armv7hl.rpm libpyldb-util1-1.5.5-1.mga7.armv7hl.rpm libsmbclient0-4.10.8-3.mga7.armv7hl.rpm libtevent0-0.9.39-1.mga7.armv7hl.rpm samba-common-4.10.8-3.mga7.armv7hl.rpm libusb1.0_0-1.0.22-1.mga7.armv7hl.rpm libedit0-3.1-0.20181209.1.mga7.armv7hl.rpm openssh-8.0p1-1.mga7.armv7hl.rpm python-setuptools-wheel-41.0.0-1.mga7.noarch.rpm groff-for-man-1.22.4-1.mga7.armv7hl.rpm man-db-2.8.5-1.mga7.armv7hl.rpm libpython3.7-stdlib-3.7.5-1.mga7.armv7hl.rpm libiw30-30-0.pre9.11.mga7.armv7hl.rpm binutils-2.32-14.mga7.armv7hl.rpm libkdc-samba4_2-4.10.8-3.mga7.armv7hl.rpm wireless-tools-30-0.pre9.11.mga7.armv7hl.rpm libical3-3.0.4-2.mga7.armv7hl.rpm ldetect-0.12.8-4.mga7.armv7hl.rpm libpipeline1-1.5.0-2.mga7.armv7hl.rpm bluez-5.50-5.mga7.armv7hl.rpm libldetect0.12-0.12.8-4.mga7.armv7hl.rpm openssl-1.1.0j-1.mga7.armv7hl.rpm nmap-7.70-2.1.mga7.armv7hl.rpm python3-tdb-1.3.18-1.mga7.armv7hl.rpm libwbclient0-4.10.8-3.mga7.armv7hl.rpm openssh-clients-8.0p1-1.mga7.armv7hl.rpm radeon-firmware-20191008-1.mga7.nonfree.noarch.rpm ldb-utils-1.5.5-1.mga7.armv7hl.rpm libsamba1-4.10.8-3.mga7.armv7hl.rpm libpolkit1_0-0.116-1.mga7.armv7hl.rpm libmozjs60-60.4.0-2.mga7.armv7hl.rpm libplymouth4-0.9.4-1.mga7.armv7hl.rpm iwlwifi-firmware-20190926-1.mga7.nonfree.noarch.rpm libpytalloc-util2-2.1.16-1.mga7.armv7hl.rpm rtlwifi-firmware-20190926-1.mga7.nonfree.noarch.rpm libgio2.0_0-2.60.2-1.mga7.armv7hl.rpm libpci3-3.6.2-1.mga7.armv7hl.rpm rsync-3.1.3-3.mga7.armv7hl.rpm libp11_3-0.4.9-1.mga7.armv7hl.rpm libnl-genl3_200-3.4.0-3.mga7.armv7hl.rpm from /var/cache/urpmi/rpms
+Preparing... #############################################
+ 1/106: python-rpm-macros #############################################
+ 2/106: python-setuptools-wheel
+ #############################################
+ 3/106: python-pip-wheel #############################################
+ 4/106: ldetect-lst #############################################
+ 5/106: libtalloc2 #############################################
+ 6/106: libtdb1 #############################################
+ 7/106: libtevent0 #############################################
+ 8/106: ldb-utils #############################################
+ 9/106: libldb1 #############################################
+ 10/106: libjansson4 #############################################
+ 11/106: libavahi-common3 #############################################
+ 12/106: python2-rpm-macros #############################################
+ 13/106: python3-rpm-macros #############################################
+ 14/106: rtlwifi-firmware #############################################
+ 15/106: iwlwifi-firmware #############################################
+ 16/106: radeon-firmware #############################################
+ 17/106: libdrm-common #############################################
+ 18/106: bluez-firmware #############################################
+ 19/106: libnl3-config #############################################
+ 20/106: perl-String-ShellQuote
+ #############################################
+ 21/106: microcode #############################################
+/var/tmp/rpm-tmp.SiIxF8: line 2: /usr/bin/dracut: No such file or directory
+warning: %post(microcode-0.20190918-1.mga7.nonfree.noarch) scriptlet failed, exit status 127
+ERROR: 'script' failed for microcode-0.20190918-1.mga7.nonfree.noarch
+ 22/106: ralink-firmware #############################################
+ 23/106: libnl3_200 #############################################
+ 24/106: python3 #############################################
+ 25/106: libpython3.7 #############################################
+ 26/106: libpython3.7-stdlib #############################################
+ 27/106: libnl-genl3_200 #############################################
+ 28/106: libavahi-client3 #############################################
+ 29/106: libcups2 #############################################
+ 30/106: python3-talloc #############################################
+ 31/106: openssl #############################################
+ 32/106: groff-for-man #############################################
+ 33/106: libedit0 #############################################
+ 34/106: libsysfs2 #############################################
+ 35/106: kernel-firmware-nonfree
+ #############################################
+ 36/106: kernel-firmware #############################################
+ 37/106: sysfsutils #############################################
+ 38/106: groff #############################################
+ 39/106: libpcap1 #############################################
+ 40/106: nmap #############################################
+ 41/106: iw #############################################
+ 42/106: python3-tdb #############################################
+ 43/106: python3-ldb #############################################
+ 44/106: libdrm2 #############################################
+ 45/106: libpython2.7 #############################################
+ 46/106: python2-pip #############################################
+ 47/106: python #############################################
+ 48/106: libpython2.7-stdlib #############################################
+ 49/106: python2-pkg-resources #############################################
+ 50/106: python2-setuptools #############################################
+ 51/106: libpyldb-util1 #############################################
+ 52/106: libpytalloc-util2 #############################################
+ 53/106: samba-common #############################################
+ 54/106: libwbclient0 #############################################
+ 55/106: libsamba1 #############################################
+ 56/106: libheimntlm-samba4_1 #############################################
+ 57/106: libkdc-samba4_2 #############################################
+ 58/106: libsamba-dc0 #############################################
+ 59/106: libsmbclient0 #############################################
+ 60/106: samba-client #############################################
+ 61/106: libp11_3 #############################################
+ 62/106: libpci3 #############################################
+ 63/106: libldetect0.12 #############################################
+ 64/106: libmozjs60 #############################################
+ 65/106: libpipeline1 #############################################
+ 66/106: libical3 #############################################
+ 67/106: libicalvcal3 #############################################
+ 68/106: libiw30 #############################################
+ 69/106: libusb1.0_0 #############################################
+ 70/106: shared-mime-info #############################################
+ 71/106: libgio2.0_0 #############################################
+ 72/106: libglib-networking-gnutls
+ #############################################
+ 73/106: polkit #############################################
+Running in chroot, ignoring request: daemon-reload
+Running in chroot, ignoring request: try-restart
+ 74/106: libpolkit1_0 #############################################
+ 75/106: tcp_wrappers #############################################
+ 76/106: openssh #############################################
+ 77/106: openssh-clients #############################################
+ 78/106: liblockdev1 #############################################
+ 79/106: perl-File-FnMatch #############################################
+ 80/106: dash #############################################
+ 81/106: libparted2 #############################################
+ 82/106: libpcsclite1 #############################################
+ 83/106: libpng16_16 #############################################
+ 84/106: libplymouth4 #############################################
+ 85/106: plymouth #############################################
+ 86/106: bridge-utils #############################################
+ 87/106: dmidecode #############################################
+ 88/106: drakxtools-backend #############################################
+ 89/106: bootloader-utils #############################################
+ 90/106: dracut #############################################
+ 91/106: kernel-desktop-latest #############################################
+ 92/106: kernel-desktop-5.3.7-4.mga7
+ #############################################
+ 93/106: basesystem #############################################
+ 94/106: wpa_supplicant #############################################
+ 95/106: lockdev warning: group lock does not exist - using root
+#############################################
+ 96/106: openssh-server #############################################
+ 97/106: rsync #############################################
+ 98/106: usbutils #############################################
+ 99/106: wireless-tools #############################################
+ 100/106: bluez #############################################
+ 101/106: man-db #############################################
+ 102/106: ldetect #############################################
+ 103/106: rng-tools #############################################
+ 104/106: chrony #############################################
+ 105/106: binutils #############################################
+ 106/106: make #############################################
+Unsupported ioctl: cmd=0x5331
+Running in chroot, ignoring request.
+Unsupported ioctl: cmd=0x5331
+Running in chroot, ignoring request.
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+cannot find root partition in /etc/fstab
+cannot find root partition
+/bin/grep: write error: Broken pipe
+You should restart your computer for dbus, glibc, kernel-desktop-5.3.7-4.mga7, systemd
+ http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates_testing/media_info/20191114-183423-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 47336 completed, ETA = --:--:--, speed = 248k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/debug/core/updates_testing/media_info/20191114-183424-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 44396 completed, ETA = --:--:--, speed = 138k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/backports_testing/media_info/20191107-233838-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 2252 completed, ETA = --:--:--, speed = 15114 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/debug/core/backports_testing/media_info/20191107-233839-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 4152 completed, ETA = --:--:--, speed = 32186 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/updates_testing/media_info/20191114-165522-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 1716 completed, ETA = --:--:--, speed = 12170 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/debug/nonfree/updates_testing/media_info/20191114-165523-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 880 completed, ETA = --:--:--, speed = 5866 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/nonfree/backports_testing/media_info/20190628-001237-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 32 completed, ETA = --:--:--, speed = 237 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/debug/nonfree/backports_testing/media_info/20190628-001237-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 32 completed, ETA = --:--:--, speed = 226 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/tainted/updates_testing/media_info/20191023-203646-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 32 completed, ETA = --:--:--, speed = 226 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/debug/tainted/updates_testing/media_info/20191023-203647-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 32 completed, ETA = --:--:--, speed = 211 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/tainted/backports_testing/media_info/20190628-001413-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 32 completed, ETA = --:--:--, speed = 238 http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/debug/tainted/backports_testing/media_info/20190628-001414-synthesis.hdlist.cz
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 32 completed, ETA = --:--:--, speed = 235 Marking kernel-desktop-latest as manually installed, it won't be auto-orphaned
+writing /var/lib/rpm/installed-through-deps.list
+
+
+ http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates_testing/kernel-desktop-latest-5.3.11-1.mga7.armv7hl.rpm
+ 0% of 0 completed, ETA = --:--:--, speed = 0 100% of 59400 completed, ETA = --:--:--, speed = 287k http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl/media/core/updates_testing/kernel-desktop-5.3.11-1.mga7-1-1.mga7.armv7hl.rpm
+ 1% of 27.4M completed, ETA = 0:00:17, speed = 1575k 6% of 27.4M completed, ETA = 0:00:17, speed = 1541k 15% of 27.4M completed, ETA = 0:00:12, speed = 2003k 22% of 27.4M completed, ETA = 0:00:11, speed = 1962k 29% of 27.4M completed, ETA = 0:00:10, speed = 1975k 36% of 27.4M completed, ETA = 0:00:09, speed = 1982k 49% of 27.4M completed, ETA = 0:00:06, speed = 2375k 62% of 27.4M completed, ETA = 0:00:04, speed = 2611k 74% of 27.4M completed, ETA = 0:00:03, speed = 2930k 83% of 27.4M completed, ETA = 0:00:02, speed = 3026k 93% of 27.4M completed, ETA = 0:00:01, speed = 3173k 100% of 27.4M completed, ETA = --:--:--, speed = 3064k installing kernel-desktop-5.3.11-1.mga7-1-1.mga7.armv7hl.rpm kernel-desktop-latest-5.3.11-1.mga7.armv7hl.rpm from /var/cache/urpmi/rpms
+Preparing... #############################################
+ 1/2: kernel-desktop-latest #############################################
+ 2/2: kernel-desktop-5.3.11-1.mga7
+ #############################################
+ 1/1: removing kernel-desktop-latest-5.3.7-4.mga7.armv7hl
+ #############################################
+Unsupported ioctl: cmd=0x5331
+Running in chroot, ignoring request.
+Unsupported ioctl: cmd=0x5331
+Running in chroot, ignoring request.
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+Unsupported ioctl: cmd=0xffffffff80604521
+ioctl EVIOCGBIT failed: Function not implemented
+cannot find root partition in /etc/fstab
+cannot find root partition
+You should restart your computer for dbus, glibc, kernel-desktop-5.3.11-1.mga7, kernel-desktop-5.3.7-4.mga7, systemd
+New password: Retype new password: Changing password for user root.
+passwd: all authentication tokens updated successfully.
+New password: BAD PASSWORD: it is based on a dictionary word
+Retype new password: Changing password for user banana.
+passwd: all authentication tokens updated successfully.
+unmounting dev, sys, proc
+Use mirrorlist to light one server.
+Creating media 
+Removing old media
+removing medium "Core Release"
+removing medium "Core Release Debug"
+removing medium "Core Updates"
+removing medium "Core Updates Debug"
+removing medium "Core Updates Testing"
+removing medium "Core Updates Testing Debug"
+removing medium "Core Backports"
+removing medium "Core Backports Debug"
+removing medium "Core Backports Testing"
+removing medium "Core Backports Testing Debug"
+removing medium "Nonfree Release"
+removing medium "Nonfree Release Debug"
+removing medium "Nonfree Updates"
+removing medium "Nonfree Updates Debug"
+removing medium "Nonfree Updates Testing"
+removing medium "Nonfree Updates Testing Debug"
+removing medium "Nonfree Backports"
+removing medium "Nonfree Backports Debug"
+removing medium "Nonfree Backports Testing"
+removing medium "Nonfree Backports Testing Debug"
+removing medium "Tainted Release"
+removing medium "Tainted Release Debug"
+removing medium "Tainted Updates"
+removing medium "Tainted Updates Debug"
+removing medium "Tainted Updates Testing"
+removing medium "Tainted Updates Testing Debug"
+removing medium "Tainted Backports"
+removing medium "Tainted Backports Debug"
+removing medium "Tainted Backports Testing"
+removing medium "Tainted Backports Testing Debug"
+Adding media
+MIRROR variable not set, using mirrorlist.
+adding medium "Core Release"
+adding medium "Core Release Debug" (ignored by default)
+adding medium "Core Updates"
+adding medium "Core Updates Debug" (ignored by default)
+adding medium "Core Updates Testing" (ignored by default)
+adding medium "Core Updates Testing Debug" (ignored by default)
+adding medium "Core Backports" (ignored by default)
+adding medium "Core Backports Debug" (ignored by default)
+adding medium "Core Backports Testing" (ignored by default)
+adding medium "Core Backports Testing Debug" (ignored by default)
+adding medium "Nonfree Release"
+adding medium "Nonfree Release Debug" (ignored by default)
+adding medium "Nonfree Updates"
+adding medium "Nonfree Updates Debug" (ignored by default)
+adding medium "Nonfree Updates Testing" (ignored by default)
+adding medium "Nonfree Updates Testing Debug" (ignored by default)
+adding medium "Nonfree Backports" (ignored by default)
+adding medium "Nonfree Backports Debug" (ignored by default)
+adding medium "Nonfree Backports Testing" (ignored by default)
+adding medium "Nonfree Backports Testing Debug" (ignored by default)
+adding medium "Tainted Release" (ignored by default)
+adding medium "Tainted Release Debug" (ignored by default)
+adding medium "Tainted Updates" (ignored by default)
+adding medium "Tainted Updates Debug" (ignored by default)
+adding medium "Tainted Updates Testing" (ignored by default)
+adding medium "Tainted Updates Testing Debug" (ignored by default)
+adding medium "Tainted Backports" (ignored by default)
+adding medium "Tainted Backports Debug" (ignored by default)
+adding medium "Tainted Backports Testing" (ignored by default)
+adding medium "Tainted Backports Testing Debug" (ignored by default)
+ http://mirrors.mageia.org/api/mageia.7.armv7hl.list: media/core/release/media_info/20190627-235944-synthesis.hdlist.cz
+ http://mirrors.mageia.org/api/mageia.7.armv7hl.list: media/core/updates/media_info/20191114-171920-synthesis.hdlist.cz
+ http://mirrors.mageia.org/api/mageia.7.armv7hl.list: media/nonfree/release/media_info/20190628-001223-synthesis.hdlist.cz
+ http://mirrors.mageia.org/api/mageia.7.armv7hl.list: media/nonfree/updates/media_info/20191114-165528-synthesis.hdlist.cz
+ activating non-free repos
+activating tainted repos
+mounting partitions, making mountpoint if necessary
+Generate extlinux if extlinux.conf exists.
+Remove second_stage_install.sh
+copying Mageia image to root partition
+Copying common files and configuration
+You can now burn the image ( /home/jibz/workspaces/mageia4arm/build/Mageia-7-bananaPro1.img ) on SD card
+Unmounting partitions...
+Unlooping image...
+Looped devices to unmount : /dev/loop0 
+removing /dev/loop0
+partition: /dev/loop0p1, disk: /dev/loop0, lower: 1, upper: 1
+/dev/loop0: partition #1 removed
+loop deleted : /dev/loop0
+bash: ./create_arm_img_urpmi.sh: Permission non accordée
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: ./bananaPro
+Build path: ./bananaPro/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : ./bananaPro/
+Firmware dir : 
+cd ./bananaPro
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+/usr/bin/df: ./bananaPro: No such file or directory
+Free disk space: G
+./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
+line 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: ./bananaPro
+Build path: ./bananaPro/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : ./bananaPro/
+Firmware dir : 
+cd ./bananaPro
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+/usr/bin/df: ./bananaPro: No such file or directory
+Free disk space: G
+./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
+line 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+/home/jibz/workspaces/mageia4arm
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: ./bananaPro
+Build path: ./bananaPro/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : ./bananaPro/
+Firmware dir : 
+cd ./bananaPro
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+/usr/bin/df: ./bananaPro: No such file or directory
+Free disk space: G
+./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
+line 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+/home/jibz/workspaces/mageia4arm
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: ./bananaPro
+Build path: ./bananaPro/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : ./bananaPro/
+Firmware dir : 
+cd ./bananaPro
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+/usr/bin/df: ./bananaPro: No such file or directory
+Free disk space: G
+./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
+line 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+/home/jibz/workspaces/mageia4arm
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: ./bananaPro
+Build path: ./bananaPro/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : ./bananaPro/
+Firmware dir : 
+cd ./bananaPro
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+/usr/bin/df: ./bananaPro: No such file or directory
+Free disk space: G
+./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
+line 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+/home/jibz/workspaces/mageia4arm
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: ./bananaPro
+Build path: ./bananaPro/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : ./bananaPro/
+Firmware dir : 
+cd ./bananaPro
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+/usr/bin/df: ./bananaPro: No such file or directory
+Free disk space: G
+./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
+line 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+/home/jibz/workspaces/mageia4arm
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: ./bananaPro
+Build path: ./bananaPro/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : ./bananaPro/
+Firmware dir : 
+cd ./bananaPro
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+/usr/bin/df: ./bananaPro: No such file or directory
+Free disk space: G
+./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
+line 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+/home/jibz/workspaces/mageia4arm
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: ./bananaPro
+Build path: ./bananaPro/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : ./bananaPro/
+Firmware dir : 
+cd ./bananaPro
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+/usr/bin/df: ./bananaPro: No such file or directory
+Free disk space: G
+./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
+line 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+/home/jibz/workspaces/mageia4arm
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: ./bananaPro
+Build path: ./bananaPro/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : ./bananaPro/
+Firmware dir : 
+cd ./bananaPro
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+/usr/bin/df: ./bananaPro: No such file or directory
+Free disk space: G
+./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
+line 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting
++ export LC_ALL=C
++ LC_ALL=C
++ ERRORN=0
++ ERR_1=1
++ ERR_DEFAULT_CONFIG=2
++ ERR_NO_CONFIG_FILE=3
++ ERR_NOT_ROOT=4
++ ERR_DEPENDENCY_MISSING=5
++ ERR_NO_SPACE=6
++ ERR_7=7
++ ERR_8=8
++ ERR_9=9
++ SEPARATE_BOOT_PARTITION=1
++ info ./create_arm_img_urpmi.sh
++ echo -e '\e[36m./create_arm_img_urpmi.sh\e[0m'
+./create_arm_img_urpmi.sh
++++ readlink -f ./create_arm_img_urpmi.sh
+++ /bin/dirname /home/jibz/workspaces/mageia4arm/create_arm_img_urpmi.sh
++ SOURCE_PATH=/home/jibz/workspaces/mageia4arm
+++ pwd
++ INSTALL_PATH=/home/jibz/workspaces/mageia4arm/arm
++ PLATFORMS_PATH=/home/jibz/workspaces/mageia4arm/platforms
+++ /bin/basename ./create_arm_img_urpmi.sh
++ CMDNAME=create_arm_img_urpmi.sh
++ '[' 9 == 0 ']'
+++ getopt -o h,a --long all,help,clean,create-chroot,addmedia,create-image,,config:,target:,target-version:,chroot,bootfs:,install-basesystem,update-mirror,build-path:,size:,nonfree,tainted -n create_arm_img_urpmi.sh -- --all --target bananaPro --size 2 --tainted --nonfree --config bananaPro
++ TEMP=' --all --target '\''bananaPro'\'' --size '\''2'\'' --tainted --nonfree --config '\''bananaPro'\'' --'
++ '[' 0 -ne 0 ']'
++ eval set -- ' --all --target '\''bananaPro'\'' --size '\''2'\'' --tainted --nonfree --config '\''bananaPro'\'' --'
+++ set -- --all --target bananaPro --size 2 --tainted --nonfree --config bananaPro --
++ echo ' --all --target '\''bananaPro'\'' --size '\''2'\'' --tainted --nonfree --config '\''bananaPro'\'' --'
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
++ true
++ case "${1}" in
++ OPT=all
++ shift 1
++ true
++ case "${1}" in
++ TARGET_P=bananaPro
++ shift 2
++ true
++ case "${1}" in
++ IMAGE_SIZE_P=2
++ shift 2
++ true
++ case "${1}" in
++ TAINTED_P=1
++ shift
++ true
++ case "${1}" in
++ NONFREE_P=1
++ shift
++ true
++ case "${1}" in
++ CONFIG_PATH=/home/jibz/workspaces/mageia4arm/platforms/bananaPro
++ shift 2
++ true
++ case "${1}" in
++ shift
++ break
++ '[' -d /home/jibz/workspaces/mageia4arm/platforms/bananaPro ']'
++ '[' -e /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg ']'
++ info 'using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config'
++ echo -e '\e[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config\e[0m'
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
++ source /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg
+++ MAGEIA_VERSION=7
+++ ARM_VERSION=armv7hl
+++ TARGET=bananaPro
+++ TARGET_VERSION=1
+++ MIRROR=http://ftp.free.fr/mirrors/mageia.org/distrib/7/armv7hl
+++ INSTALL_PATH=./bananaPro
+++ BUILD_PATH=./bananaPro/build
+++ IMAGE=Mageia-7-bananaPro.img
+++ BOOT=/mnt/boot
+++ ROOT=/mnt/root
+++ ID_USER=banana
+++ PASSWORD=bananaPro
+++ ROOT_PWD=ProR00t
+++ HOSTNAME=bananaPro.banana
+++ SEPARATE_BOOT_PARTITION=0
+++ BOOTFS=ext4
+++ KERNEL=kernel-desktop
+++ FIRMWARE_PATH=./bananaPro/
++ '[' -z 2 ']'
++ IMAGE_SIZE=2
++ '[' -z '' ']'
++ '[' -z bananaPro ']'
++ TARGET=bananaPro
++ '[' -z '' ']'
++ '[' -z '' ']'
++ '[' -z 1 ']'
++ NONFREE=1
++ '[' -z 1 ']'
++ TAINTED=1
++ info 'Option: all'
++ echo -e '\e[36mOption: all\e[0m'
+Option: all
++ IMAGE=Mageia-7-bananaPro1.img
++ BOOT=/mnt/boot
++ ROOT=/mnt/root
++ BUILD_PATH=./bananaPro/build-bananaPro1
++ ARM_VERSION=armv7hl
++ '[' -e /home/jibz/workspaces/mageia4arm/platforms/bananaPro/specialFunctions.sh ']'
++ source /home/jibz/workspaces/mageia4arm/platforms/bananaPro/specialFunctions.sh
+++ DEFAULT=
+++ NEW_DOSTAB=o
+++ NEW_PART=n
+++ PRIMARY=p
+++ CHANGE_TYPE=t
+++ TYPE_FAT32LBA=c
+++ CHANGE_BOOTFLAG=a
+++ APPLY=w
+++ PART_BOOTandROOT=1
+++ PART_BOOTandROOT_FIRST_SECTOR=
+++ PART_BOOTandROOT_SIZE=
+++ FDISK_SCRIPT='n\np\n1\n\n\na\nw\n'
+++ pwd
++ echo /home/jibz/workspaces/mageia4arm
+/home/jibz/workspaces/mageia4arm
++ info 'target : bananaPro'
++ echo -e '\e[36mtarget : bananaPro\e[0m'
+target : bananaPro
++ info 'target_version : 1'
++ echo -e '\e[36mtarget_version : 1\e[0m'
+target_version : 1
++ info 'source path: /home/jibz/workspaces/mageia4arm'
++ echo -e '\e[36msource path: /home/jibz/workspaces/mageia4arm\e[0m'
+source path: /home/jibz/workspaces/mageia4arm
++ info 'Install path: ./bananaPro'
++ echo -e '\e[36mInstall path: ./bananaPro\e[0m'
+Install path: ./bananaPro
++ info 'Build path: ./bananaPro/build-bananaPro1'
++ echo -e '\e[36mBuild path: ./bananaPro/build-bananaPro1\e[0m'
+Build path: ./bananaPro/build-bananaPro1
++ info 'Commande : create_arm_img_urpmi.sh'
++ echo -e '\e[36mCommande : create_arm_img_urpmi.sh\e[0m'
+Commande : create_arm_img_urpmi.sh
++ info 'Firmware path : ./bananaPro/'
++ echo -e '\e[36mFirmware path : ./bananaPro/\e[0m'
+Firmware path : ./bananaPro/
++ info 'Firmware dir : '
++ echo -e '\e[36mFirmware dir : \e[0m'
+Firmware dir : 
++ [[ 2 -lt 2 ]]
++ [[ 2 -gt 128 ]]
++ '[' all '!=' clean ']'
++ info 'cd ./bananaPro'
++ echo -e '\e[36mcd ./bananaPro\e[0m'
+cd ./bananaPro
++ '[' -e ./bananaPro ']'
++ cd ./bananaPro
++ '[' -z 0 ']'
++ '[' -z all ']'
++ info 'Image size is: 2 GB'
++ echo -e '\e[36mImage size is: 2 GB\e[0m'
+Image size is: 2 GB
++ case ${OPT} in
++ verify_disk_space
++ title 'Verifying if there is enough space on disk to make the image'
++ echo -e '\e[1;32mVerifying if there is enough space on disk to make the image\e[0m'
+Verifying if there is enough space on disk to make the image
+++ /usr/bin/df -BG --output=avail ./bananaPro
+++ sed '1d;s/[^0-9]//g'
+/usr/bin/df: ./bananaPro: No such file or directory
++ DISK_SPACE=
++ info 'Free disk space: G'
++ echo -e '\e[36mFree disk space: G\e[0m'
+Free disk space: G
++ '[' -lt 2 ']'
+./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
++ return 0
++ '[' 0 -ne 0 ']'
++ createImageWrap
++ title 'Wrap image creation'
++ echo -e '\e[1;32mWrap image creation\e[0m'
+Wrap image creation
++ preImgCreation
++ title 'Creating Banana Pro image'
++ echo -e '\e[1;32mCreating Banana Pro image\e[0m'
+Creating Banana Pro image
++ return 0
++ '[' 0 -ne 0 ']'
++ createimage
++ title ' in Mageia-7-bananaPro1.img'
++ echo -e '\e[1;32m in Mageia-7-bananaPro1.img\e[0m'
+ in Mageia-7-bananaPro1.img
++ '[' -f ./bananaPro/Mageia-7-bananaPro1.img ']'
++ warning 'please wait until end of image creation'
++ echo -e '\e[1;35mplease wait until end of image creation\e[0m'
+please wait until end of image creation
++ /bin/dd if=/dev/zero of=./bananaPro/Mageia-7-bananaPro1.img bs=1MB count=2048
+/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
++ '[' 1 -ne 0 ']'
++ error 'line 337 can'\''t make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting'
++ echo -e '\e[1;31mline 337 can'\''t make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting\e[0m'
+line 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting
++ exit 1
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+/home/jibz/workspaces/mageia4arm
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: /home/jibz/workspaces/mageia4arm/arm
+Build path: /home/jibz/workspaces/mageia4arm/arm/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : /home/jibz/workspaces/mageia4arm/arm/
+Firmware dir : 
+cd /home/jibz/workspaces/mageia4arm/arm
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+Free disk space: 26G
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+2048+0 records in
+2048+0 records out
+2048000000 bytes (2.0 GB, 1.9 GiB) copied, 1.41863 s, 1.4 GB/s
+Looping image ...
+losetup: /home/jibz/workspaces/mageia4arm/arm/Mageia-7-bananaPro1.img: failed to set up loop device: Permission denied
+Burning the bootloader...
+dd: failed to open '': No such file or directory
+making partitions
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+/home/jibz/workspaces/mageia4arm
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: /home/jibz/workspaces/mageia4arm/build
+Build path: /home/jibz/workspaces/mageia4arm/build/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : /home/jibz/workspaces/mageia4arm/build/
+Firmware dir : 
+cd /home/jibz/workspaces/mageia4arm/build
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+Free disk space: 24G
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+2048+0 records in
+2048+0 records out
+2048000000 bytes (2.0 GB, 1.9 GiB) copied, 1.41166 s, 1.5 GB/s
+Looping image ...
+losetup: /home/jibz/workspaces/mageia4arm/build/Mageia-7-bananaPro1.img: failed to set up loop device: Permission denied
+Burning the bootloader...
+dd: failed to open '': No such file or directory
+making partitions
+fdisk: bad usage
+Try 'fdisk --help' for more information.
+./create_arm_img_urpmi.sh: line 353: partx: command not found
+Formatting partitions
+Root : p1 as ext4
+mke2fs 1.45.4 (23-Sep-2019)
+The file p1 does not exist and no size was specified.
+line 398 error formating p1 : exiting
+losetup: : failed to use device: No such device
+./create_arm_img_urpmi.sh
+ --all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
+using /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config
+Option: all
+/home/jibz/workspaces/mageia4arm
+target : bananaPro
+target_version : 1
+source path: /home/jibz/workspaces/mageia4arm
+Install path: /home/jibz/workspaces/mageia4arm/build
+Build path: /home/jibz/workspaces/mageia4arm/build/build-bananaPro1
+Commande : create_arm_img_urpmi.sh
+Firmware path : /home/jibz/workspaces/mageia4arm/build/
+Firmware dir : 
+cd /home/jibz/workspaces/mageia4arm/build
+Image size is: 2 GB
+Verifying if there is enough space on disk to make the image
+Free disk space: 26G
+Wrap image creation
+Creating Banana Pro image
+ in Mageia-7-bananaPro1.img
+please wait until end of image creation
+2048+0 records in
+2048+0 records out
+2048000000 bytes (2.0 GB, 1.9 GiB) copied, 1.37191 s, 1.5 GB/s
+Looping image ...
+losetup: /home/jibz/workspaces/mageia4arm/build/Mageia-7-bananaPro1.img: failed to set up loop device: Permission denied
+Burning the bootloader...
+dd: failed to open '': No such file or directory
+making partitions
+fdisk: bad usage
+Try 'fdisk --help' for more information.
+./create_arm_img_urpmi.sh: line 353: partx: command not found
+Formatting partitions
+Root : p1 as ext4
+mke2fs 1.45.4 (23-Sep-2019)
+The file p1 does not exist and no size was specified.
+line 398 error formating p1 : exiting
+losetup: : failed to use device: No such device
diff --git a/platforms/bananaPro/README.md b/platforms/bananaPro/README.md
new file mode 100644
index 0000000..8b68d53
--- /dev/null
+++ b/platforms/bananaPro/README.md
@@ -0,0 +1,120 @@
+Banana Pro SBC
+==========
+
+Short
+-----
+* [Board Informations](#SBC_INFO)
+* [U-Boot](#UBOOT_INFO)
+* [Kernel](#KERNEL_INFO)
+
+<a id="SBC_INFO"/>
+# About the Banana Pro SBC from LeMaker
+
+## External links
+http://wiki.lemaker.org/BananaPro/Pi:Building_u-boot,_script.bin_and_linux-kernel#Building_the_kernel
+http://wiki.lemaker.org/BananaPro/Pi:Setting_up_the_bootable_SD_card
+https://sites.google.com/site/manisbutareed/bringing-my-beagles-to-heel/selected-annotated-u-boot-commands
+https://linux-sunxi.org/Mainline_Kernel_Howto
+https://linux-sunxi.org/Manual_build_howto#Setting_up_the_boot_partition
+https://stackoverflow.com/questions/28891221/uenv-txt-vs-boot-scr
+https://github.com/linux-sunxi/u-boot-sunxi/wiki
+
+## LeMaker BPS (board package support)
+git clone --recursive https://github.com/LeMaker/lemaker-bsp.git
+./fex2bin ../sunxi-boards/sys_config/a20/BananaPro.fex ../../mageia4arm/bananaPro/script.bin
+
+<a id="UBOOT_INFO"/>
+# About U-Boot
+The mainline U-Boot is used for this port.
+## Mainline
+```
+CONFIG_PATH=~/workspaces/mageia4arm/platforms/bananaPro
+git clone https://gitlab.denx.de/u-boot/u-boot
+cd u-boot
+make CROSS_COMPILE=arm-linux-gnu- Bananapro_defconfig
+cp ${CONFIG_PATH}/UBOOT.config ./.config
+#Just modify few unimportant things, like prompt, name, ...
+make ARCH=arm CROSS_COMPILE=arm-linux-gnu- -j8
+make ARCH=arm CROSS_COMPILE=arm-linux-gnu-
+#cp ./u-boot.dtb ${CONFIG_PATH}/sun7i-a20-bananapro.dtb
+cp -f ./u-boot.dtb ${CONFIG_PATH}/u-boot.dtb
+cp -f ./arch/arm/dts/sun7i-a20-bananapro.dtb ${CONFIG_PATH}/sun7i-a20-bananapro.dtb
+cp -f ./u-boot-sunxi-with-spl.bin ${CONFIG_PATH}/u-boot-sunxi-with-spl.bin
+#Inside "specialFunctions.sh"
+#dd if=${CONFIG_PATH}/u-boot-sunxi-with-spl.bin of=${DEVICE} bs=1024 seek=8
+
+echo '
+setenv KERNEL_FILE /boot/vmlinuz
+setenv INIT_FILE /boot/initrd.img
+#setenv DTB_FILE /boot/sun7i-a20-bananapro.dtb
+setenv DTB_FILE /boot/u-boot.dtb
+
+setenv KERNEL_ADDR 0x40008000
+#setenv INIT_ADDR 0x45000000
+setenv INIT_ADDR -
+setenv DTB_ADDR 0x48000000
+
+ext4load mmc 0:1 ${KERNEL_ADDR} ${KERNEL_FILE}
+#ext4load mmc 0:1 ${INIT_ADDR} ${INIT_FILE}
+ext4load mmc 0:1 ${DTB_ADDR} ${DTB_FILE}
+
+setenv bootargs console=ttyS0,115200 disp.screen0_output_mode=EDID:1024x768p50 hdmi.audio=EDID:0 root=/dev/mmcblk0p1 rootfstype=ext4 elevator=deadline rootwait
+
+#printenv
+bootz ${KERNEL_ADDR} ${INIT_ADDR} ${DTB_ADDR}
+
+#Compile boot.scr : mkimage -C none -A arm -T script -d "${CONFIG_PATH}/boot.cmd" "${CONFIG_PATH}/boot.scr"
+' >${CONFIG_PATH}/boot.cmd
+```
+
+mkimage -C none -A arm -T script -d ${CONFIG_PATH}/boot.cmd ${CONFIG_PATH}/boot.scr
+
+## UBoot Sunxi From LeMaker
+Obsolet, see 'LeMaker BPS (board package support)'.
+
+## UBoot Sunxi
+Generic u-boot for sunxi
+```
+git clone https://github.com/linux-sunxi/u-boot-sunxi
+make CROSS_COMPILE=arm-linux-gnu- Bananapro_config
+make CROSS_COMPILE=arm-linux-gnu- -j8
+make CROSS_COMPILE=arm-linux-gnu-
+#Need network support to give the MAC address.
+#Do not activate boot timing.
+#Default conf use bootz and dtb tree.
+```
+
+## Default LeMaker script
+```
+setenv bootargs console=ttyS0,115200 noinitrd
+disp.screen0_output_mode=EDID:1280x720p50 init=/init
+root=/dev/mmcblk0p2 rootwait panic=10 ${extra}
+fatload mmc 0 0x43000000 script.bin
+fatload mmc 0 0x48000000 uImage
+bootm 0x48000000
+```
+
+## DTB from Linux Mainline
+```
+git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git --depth=1
+make ARCH=arm CROSS_COMPILE=arm-linux-gnu- sunxi_defconfig
+ARCH=arm CROSS_COMPILE=arm-linux-gnu- make -j8 dtbs
+cp ./arch/arm/boot/dts/sun7i-a20-bananapro.dtb ./sun7i-a20-bananapro.dtb
+```
+
+<a id="KERNEL_INFO"/>
+# About the Kernel
+
+Not Written.
+
+## Generate symlink
+```
+#Generating a symbolic relative link to the "last" kernel :
+ln -r -s ./vmlinuz-5.2.13-desktop-2.mga7 ./vmlinuz
+rm -f ./vmlinuz && ln -r -s ./vmlinuz-5.3.1-desktop-2.mga7 ./vmlinuz
+```
+
+## Commands used :
+./create_arm_img_urpmi.sh --clean --config bananaPro --build-path ./build
+./create_arm_img_urpmi.sh --all --target bananaPro --size 2 --tainted --nonfree --build-path ./build --config bananaPro 2>&1 | tee -a ./log/creation.log
+dd if=./build/Mageia-7-bananaPro1.img | pv | dd of=/dev/mmcblk0 ; sync
diff --git a/platforms/bananaPro/UBOOT.config b/platforms/bananaPro/UBOOT.config
new file mode 100644
index 0000000..938ee5f
--- /dev/null
+++ b/platforms/bananaPro/UBOOT.config
@@ -0,0 +1,1472 @@
+#
+# Automatically generated file; DO NOT EDIT.
+# U-Boot 2019.10-rc4 Configuration
+#
+CONFIG_CREATE_ARCH_SYMLINK=y
+# CONFIG_ARC is not set
+CONFIG_ARM=y
+# CONFIG_M68K is not set
+# CONFIG_MICROBLAZE is not set
+# CONFIG_MIPS is not set
+# CONFIG_NDS32 is not set
+# CONFIG_NIOS2 is not set
+# CONFIG_PPC is not set
+# CONFIG_RISCV is not set
+# CONFIG_SANDBOX is not set
+# CONFIG_SH is not set
+# CONFIG_X86 is not set
+# CONFIG_XTENSA is not set
+CONFIG_SYS_ARCH="arm"
+CONFIG_SYS_CPU="armv7"
+CONFIG_SYS_SOC="sunxi"
+CONFIG_SYS_BOARD="sunxi"
+CONFIG_SYS_CONFIG_NAME="sun7i"
+# CONFIG_SYS_ICACHE_OFF is not set
+# CONFIG_SPL_SYS_ICACHE_OFF is not set
+# CONFIG_SYS_DCACHE_OFF is not set
+# CONFIG_SPL_SYS_DCACHE_OFF is not set
+
+#
+# ARM architecture
+#
+CONFIG_HAS_VBAR=y
+CONFIG_HAS_THUMB2=y
+CONFIG_ARM_ASM_UNIFIED=y
+CONFIG_SYS_ARM_CACHE_CP15=y
+CONFIG_SYS_ARM_MMU=y
+# CONFIG_SYS_ARM_MPU is not set
+CONFIG_CPU_V7A=y
+CONFIG_SYS_ARM_ARCH=7
+CONFIG_SYS_CACHE_SHIFT_6=y
+CONFIG_SYS_CACHELINE_SIZE=64
+# CONFIG_ARCH_CPU_INIT is not set
+# CONFIG_SYS_ARCH_TIMER is not set
+# CONFIG_ARM_SMCCC is not set
+# CONFIG_SEMIHOSTING is not set
+CONFIG_SYS_THUMB_BUILD=y
+CONFIG_SPL_SYS_THUMB_BUILD=y
+# CONFIG_SYS_L2CACHE_OFF is not set
+# CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK is not set
+CONFIG_USE_ARCH_MEMCPY=y
+CONFIG_SPL_USE_ARCH_MEMCPY=y
+CONFIG_USE_ARCH_MEMSET=y
+CONFIG_SPL_USE_ARCH_MEMSET=y
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_TARGET_EDB93XX is not set
+# CONFIG_TARGET_ASPENITE is not set
+# CONFIG_TARGET_GPLUGD is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_KIRKWOOD is not set
+# CONFIG_ARCH_MVEBU is not set
+# CONFIG_TARGET_APF27 is not set
+# CONFIG_ORION5X is not set
+# CONFIG_TARGET_SPEAR300 is not set
+# CONFIG_TARGET_SPEAR310 is not set
+# CONFIG_TARGET_SPEAR320 is not set
+# CONFIG_TARGET_SPEAR600 is not set
+# CONFIG_TARGET_STV0991 is not set
+# CONFIG_TARGET_X600 is not set
+# CONFIG_TARGET_WOODBURN is not set
+# CONFIG_TARGET_WOODBURN_SD is not set
+# CONFIG_TARGET_FLEA3 is not set
+# CONFIG_TARGET_MX35PDK is not set
+# CONFIG_ARCH_BCM283X is not set
+# CONFIG_ARCH_BCM63158 is not set
+# CONFIG_ARCH_BCM6858 is not set
+# CONFIG_TARGET_VEXPRESS_CA15_TC2 is not set
+# CONFIG_ARCH_BCMSTB is not set
+# CONFIG_TARGET_VEXPRESS_CA5X2 is not set
+# CONFIG_TARGET_VEXPRESS_CA9X4 is not set
+# CONFIG_TARGET_BCM23550_W1D is not set
+# CONFIG_TARGET_BCM28155_AP is not set
+# CONFIG_TARGET_BCMCYGNUS is not set
+# CONFIG_TARGET_BCMNSP is not set
+# CONFIG_TARGET_BCMNS2 is not set
+# CONFIG_ARCH_EXYNOS is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_HIGHBANK is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_KEYSTONE is not set
+# CONFIG_ARCH_K3 is not set
+# CONFIG_ARCH_OMAP2PLUS is not set
+# CONFIG_ARCH_MESON is not set
+# CONFIG_ARCH_MEDIATEK is not set
+# CONFIG_ARCH_LPC32XX is not set
+# CONFIG_ARCH_IMX8 is not set
+# CONFIG_ARCH_IMX8M is not set
+# CONFIG_ARCH_MX23 is not set
+# CONFIG_ARCH_MX25 is not set
+# CONFIG_ARCH_MX28 is not set
+# CONFIG_ARCH_MX31 is not set
+# CONFIG_ARCH_MX7ULP is not set
+# CONFIG_ARCH_MX7 is not set
+# CONFIG_ARCH_MX6 is not set
+CONFIG_SPL_LDSCRIPT="arch/arm/cpu/armv7/sunxi/u-boot-spl.lds"
+# CONFIG_ARCH_MX5 is not set
+# CONFIG_ARCH_OWL is not set
+# CONFIG_ARCH_QEMU is not set
+# CONFIG_ARCH_RMOBILE is not set
+# CONFIG_TARGET_S32V234EVB is not set
+# CONFIG_ARCH_SNAPDRAGON is not set
+# CONFIG_ARCH_SOCFPGA is not set
+CONFIG_ARCH_SUNXI=y
+# CONFIG_ARCH_VERSAL is not set
+# CONFIG_ARCH_VF610 is not set
+# CONFIG_ARCH_ZYNQ is not set
+# CONFIG_ARCH_ZYNQMP_R5 is not set
+# CONFIG_ARCH_ZYNQMP is not set
+# CONFIG_TEGRA is not set
+# CONFIG_TARGET_VEXPRESS64_AEMV8A is not set
+# CONFIG_TARGET_VEXPRESS64_BASE_FVP is not set
+# CONFIG_TARGET_VEXPRESS64_JUNO is not set
+# CONFIG_TARGET_LS2080A_EMU is not set
+# CONFIG_TARGET_LS2080A_SIMU is not set
+# CONFIG_TARGET_LS1088AQDS is not set
+# CONFIG_TARGET_LS2080AQDS is not set
+# CONFIG_TARGET_LS2080ARDB is not set
+# CONFIG_TARGET_LS2081ARDB is not set
+# CONFIG_TARGET_LX2160ARDB is not set
+# CONFIG_TARGET_LX2160AQDS is not set
+# CONFIG_TARGET_HIKEY is not set
+# CONFIG_TARGET_HIKEY960 is not set
+# CONFIG_TARGET_POPLAR is not set
+# CONFIG_TARGET_LS1012AQDS is not set
+# CONFIG_TARGET_LS1012ARDB is not set
+# CONFIG_TARGET_LS1012A2G5RDB is not set
+# CONFIG_TARGET_LS1012AFRWY is not set
+# CONFIG_TARGET_LS1012AFRDM is not set
+# CONFIG_TARGET_LS1028AQDS is not set
+# CONFIG_TARGET_LS1028ARDB is not set
+# CONFIG_TARGET_LS1088ARDB is not set
+# CONFIG_TARGET_LS1021AQDS is not set
+# CONFIG_TARGET_LS1021ATWR is not set
+# CONFIG_TARGET_LS1021ATSN is not set
+# CONFIG_TARGET_LS1021AIOT is not set
+# CONFIG_TARGET_LS1043AQDS is not set
+# CONFIG_TARGET_LS1043ARDB is not set
+# CONFIG_TARGET_LS1046AQDS is not set
+# CONFIG_TARGET_LS1046ARDB is not set
+# CONFIG_TARGET_LS1046AFRWY is not set
+# CONFIG_TARGET_H2200 is not set
+# CONFIG_TARGET_COLIBRI_PXA270 is not set
+# CONFIG_ARCH_UNIPHIER is not set
+# CONFIG_STM32 is not set
+# CONFIG_ARCH_STI is not set
+# CONFIG_ARCH_STM32MP is not set
+# CONFIG_ARCH_ROCKCHIP is not set
+# CONFIG_TARGET_THUNDERX_88XX is not set
+# CONFIG_ARCH_ASPEED is not set
+CONFIG_SYS_TEXT_BASE=0x4a000000
+CONFIG_SPL_GPIO_SUPPORT=y
+CONFIG_SPL_LIBCOMMON_SUPPORT=y
+CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
+CONFIG_SPL_MMC_SUPPORT=y
+CONFIG_SPL_SERIAL_SUPPORT=y
+# CONFIG_SPL_DRIVERS_MISC_SUPPORT is not set
+CONFIG_ENV_SIZE=0x20000
+CONFIG_ENV_OFFSET=0x88000
+CONFIG_SPL_SYS_MALLOC_F_LEN=0x400
+CONFIG_NR_DRAM_BANKS=1
+CONFIG_SPL_SIZE_LIMIT=0
+CONFIG_SPL_STACK_R_ADDR=0x4fe00000
+CONFIG_SPL=y
+CONFIG_PRE_CON_BUF_ADDR=0x4f000000
+CONFIG_PRE_CON_BUF_SZ=4096
+CONFIG_BOOTSTAGE_STASH_ADDR=0
+CONFIG_IDENT_STRING=" Allwinner Technology for Mageia"
+CONFIG_DRAM_SUN4I=y
+# CONFIG_SUN6I_P2WI is not set
+CONFIG_AXP_PMIC_BUS=y
+# CONFIG_SUN8I_RSB is not set
+CONFIG_SUNXI_SRAM_ADDRESS=0x0
+CONFIG_SUNXI_GEN_SUN4I=y
+CONFIG_SUNXI_DRAM_MAX_SIZE=0x80000000
+# CONFIG_MACH_SUN4I is not set
+# CONFIG_MACH_SUN5I is not set
+# CONFIG_MACH_SUN6I is not set
+CONFIG_MACH_SUN7I=y
+# CONFIG_MACH_SUN8I_A23 is not set
+# CONFIG_MACH_SUN8I_A33 is not set
+# CONFIG_MACH_SUN8I_A83T is not set
+# CONFIG_MACH_SUN8I_H3 is not set
+# CONFIG_MACH_SUN8I_R40 is not set
+# CONFIG_MACH_SUN8I_V3S is not set
+# CONFIG_MACH_SUN9I is not set
+# CONFIG_MACH_SUN50I is not set
+# CONFIG_MACH_SUN50I_H5 is not set
+# CONFIG_MACH_SUN50I_H6 is not set
+# CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER is not set
+CONFIG_DRAM_CLK=432
+CONFIG_DRAM_MBUS_CLK=300
+CONFIG_DRAM_ZQ=127
+# CONFIG_DRAM_ODT_EN is not set
+CONFIG_DRAM_EMR1=4
+CONFIG_DRAM_TPR3=0
+CONFIG_DRAM_DQS_GATING_DELAY=0
+CONFIG_DRAM_TIMINGS_VENDOR_MAGIC=y
+# CONFIG_DRAM_TIMINGS_DDR3_1066F_1333H is not set
+# CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J is not set
+CONFIG_SYS_CLK_FREQ=912000000
+# CONFIG_UART0_PORT_F is not set
+# CONFIG_OLD_SUNXI_KERNEL_COMPAT is not set
+CONFIG_MACPWR="PH23"
+CONFIG_MMC0_CD_PIN=""
+CONFIG_MMC1_CD_PIN=""
+CONFIG_MMC2_CD_PIN=""
+CONFIG_MMC3_CD_PIN=""
+CONFIG_MMC1_PINS=""
+CONFIG_MMC2_PINS=""
+CONFIG_MMC3_PINS=""
+CONFIG_MMC_SUNXI_SLOT_EXTRA=-1
+CONFIG_INITIAL_USB_SCAN_DELAY=0
+CONFIG_USB0_VBUS_PIN=""
+CONFIG_USB0_VBUS_DET=""
+CONFIG_USB0_ID_DET=""
+CONFIG_USB1_VBUS_PIN="PH0"
+CONFIG_USB2_VBUS_PIN="PH1"
+CONFIG_USB3_VBUS_PIN=""
+CONFIG_I2C0_ENABLE=y
+# CONFIG_I2C1_ENABLE is not set
+# CONFIG_I2C2_ENABLE is not set
+# CONFIG_I2C3_ENABLE is not set
+# CONFIG_I2C4_ENABLE is not set
+# CONFIG_AXP_GPIO is not set
+CONFIG_VIDEO_SUNXI=y
+CONFIG_VIDEO_HDMI=y
+# CONFIG_VIDEO_VGA is not set
+CONFIG_VIDEO_COMPOSITE=y
+CONFIG_VIDEO_LCD_MODE=""
+CONFIG_VIDEO_LCD_DCLK_PHASE=1
+CONFIG_VIDEO_LCD_POWER=""
+CONFIG_VIDEO_LCD_RESET=""
+CONFIG_VIDEO_LCD_BL_EN=""
+CONFIG_VIDEO_LCD_BL_PWM=""
+CONFIG_VIDEO_LCD_BL_PWM_ACTIVE_LOW=y
+# CONFIG_VIDEO_LCD_PANEL_I2C is not set
+CONFIG_VIDEO_LCD_IF_PARALLEL=y
+CONFIG_VIDEO_LCD_PANEL_PARALLEL=y
+# CONFIG_VIDEO_LCD_PANEL_LVDS is not set
+# CONFIG_VIDEO_LCD_PANEL_MIPI_4_LANE_513_MBPS_VIA_SSD2828 is not set
+# CONFIG_VIDEO_LCD_PANEL_EDP_4_LANE_1620M_VIA_ANX9804 is not set
+# CONFIG_VIDEO_LCD_PANEL_HITACHI_TX18D42VM is not set
+# CONFIG_VIDEO_LCD_TL059WV5C0 is not set
+CONFIG_SATAPWR=""
+CONFIG_GMAC_TX_DELAY=3
+# CONFIG_SPL_SPI_SUNXI is not set
+# CONFIG_SPL_FS_FAT is not set
+# CONFIG_SPL_LIBDISK_SUPPORT is not set
+# CONFIG_SPL_SPI_FLASH_SUPPORT is not set
+# CONFIG_SPL_SPI_SUPPORT is not set
+CONFIG_CPU_V7_HAS_NONSEC=y
+CONFIG_CPU_V7_HAS_VIRT=y
+CONFIG_ARCH_SUPPORT_PSCI=y
+CONFIG_ARMV7_NONSEC=y
+# CONFIG_ARMV7_BOOT_SEC_DEFAULT is not set
+CONFIG_ARMV7_VIRT=y
+CONFIG_ARMV7_PSCI=y
+CONFIG_ARMV7_PSCI_NR_CPUS=4
+CONFIG_ARMV7_LPAE=y
+# CONFIG_CMD_DEKBLOB is not set
+# CONFIG_CMD_HDMIDETECT is not set
+
+#
+# ARM debug
+#
+# CONFIG_DEBUG_LL is not set
+CONFIG_SMBIOS_PRODUCT_NAME="sunxi"
+# CONFIG_DEBUG_UART is not set
+CONFIG_AHCI=y
+CONFIG_SPL_TEXT_BASE=0x00060
+
+#
+# General setup
+#
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_DISTRO_DEFAULTS=y
+CONFIG_ENV_VARS_UBOOT_CONFIG=y
+# CONFIG_SYS_BOOT_GET_CMDLINE is not set
+# CONFIG_SYS_BOOT_GET_KBD is not set
+CONFIG_SYS_MALLOC_F=y
+CONFIG_EXPERT=y
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+# CONFIG_TOOLS_DEBUG is not set
+# CONFIG_PHYS_64BIT is not set
+CONFIG_SPL_IMAGE="spl/u-boot-spl.bin"
+CONFIG_BUILD_TARGET=""
+# CONFIG_SYS_CUSTOM_LDSCRIPT is not set
+
+#
+# Boot images
+#
+# CONFIG_ANDROID_BOOT_IMAGE is not set
+CONFIG_FIT=y
+CONFIG_FIT_EXTERNAL_OFFSET=0x0
+CONFIG_FIT_ENABLE_SHA256_SUPPORT=y
+# CONFIG_FIT_SIGNATURE is not set
+# CONFIG_FIT_VERBOSE is not set
+# CONFIG_FIT_BEST_MATCH is not set
+# CONFIG_SPL_FIT is not set
+# CONFIG_SPL_LOAD_FIT is not set
+# CONFIG_SPL_LOAD_FIT_FULL is not set
+CONFIG_LEGACY_IMAGE_FORMAT=y
+CONFIG_OF_BOARD_SETUP=y
+# CONFIG_OF_SYSTEM_SETUP is not set
+# CONFIG_OF_STDOUT_VIA_ALIAS is not set
+CONFIG_SYS_EXTRA_OPTIONS=""
+CONFIG_ARCH_FIXUP_FDT_MEMORY=y
+
+#
+# API
+#
+# CONFIG_API is not set
+
+#
+# Boot timing
+#
+# CONFIG_BOOTSTAGE is not set
+CONFIG_BOOTSTAGE_RECORD_COUNT=30
+CONFIG_SPL_BOOTSTAGE_RECORD_COUNT=5
+CONFIG_TPL_BOOTSTAGE_RECORD_COUNT=5
+CONFIG_BOOTSTAGE_STASH_SIZE=0x1000
+# CONFIG_SHOW_BOOT_PROGRESS is not set
+
+#
+# Boot media
+#
+# CONFIG_NAND_BOOT is not set
+# CONFIG_ONENAND_BOOT is not set
+# CONFIG_QSPI_BOOT is not set
+# CONFIG_SATA_BOOT is not set
+# CONFIG_SD_BOOT is not set
+# CONFIG_SPI_BOOT is not set
+CONFIG_BOOTDELAY=1
+# CONFIG_USE_BOOTARGS is not set
+CONFIG_USE_BOOTCOMMAND=y
+CONFIG_BOOTCOMMAND="run bootcmd_mmc0"
+CONFIG_USE_PREBOOT=y
+CONFIG_PREBOOT=""
+
+#
+# Console
+#
+CONFIG_MENU=y
+# CONFIG_CONSOLE_RECORD is not set
+# CONFIG_DISABLE_CONSOLE is not set
+CONFIG_LOGLEVEL=4
+CONFIG_SPL_LOGLEVEL=4
+CONFIG_TPL_LOGLEVEL=4
+# CONFIG_SILENT_CONSOLE is not set
+CONFIG_PRE_CONSOLE_BUFFER=y
+CONFIG_CONSOLE_MUX=y
+CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+# CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE is not set
+# CONFIG_SYS_CONSOLE_ENV_OVERWRITE is not set
+# CONFIG_SYS_CONSOLE_INFO_QUIET is not set
+CONFIG_SYS_STDIO_DEREGISTER=y
+
+#
+# Logging
+#
+# CONFIG_LOG is not set
+CONFIG_LOG_DEFAULT_LEVEL=6
+CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_DEFAULT_FDT_FILE=""
+CONFIG_MISC_INIT_R=y
+# CONFIG_VERSION_VARIABLE is not set
+# CONFIG_BOARD_LATE_INIT is not set
+CONFIG_DISPLAY_CPUINFO=y
+CONFIG_DISPLAY_BOARDINFO=y
+# CONFIG_DISPLAY_BOARDINFO_LATE is not set
+# CONFIG_BOUNCE_BUFFER is not set
+# CONFIG_BOARD_TYPES is not set
+
+#
+# Start-up hooks
+#
+# CONFIG_ARCH_EARLY_INIT_R is not set
+# CONFIG_ARCH_MISC_INIT is not set
+# CONFIG_BOARD_EARLY_INIT_F is not set
+# CONFIG_BOARD_EARLY_INIT_R is not set
+# CONFIG_LAST_STAGE_INIT is not set
+
+#
+# Security support
+#
+CONFIG_HASH=y
+
+#
+# Update support
+#
+# CONFIG_UPDATE_TFTP is not set
+# CONFIG_ANDROID_AB is not set
+
+#
+# Blob list
+#
+# CONFIG_BLOBLIST is not set
+
+#
+# SPL / TPL
+#
+CONFIG_SUPPORT_SPL=y
+CONFIG_SPL_FRAMEWORK=y
+CONFIG_SPL_SYS_STACK_F_CHECK_BYTE=0xaa
+# CONFIG_SPL_SYS_REPORT_STACK_F_USAGE is not set
+# CONFIG_SPL_BOARD_INIT is not set
+# CONFIG_SPL_BOOTROM_SUPPORT is not set
+CONFIG_SPL_RAW_IMAGE_SUPPORT=y
+CONFIG_SPL_LEGACY_IMAGE_SUPPORT=y
+# CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK is not set
+CONFIG_SPL_SYS_MALLOC_SIMPLE=y
+CONFIG_SPL_STACK_R=y
+CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x100000
+# CONFIG_SPL_SEPARATE_BSS is not set
+CONFIG_SPL_BANNER_PRINT=y
+# CONFIG_SPL_EARLY_BSS is not set
+# CONFIG_SPL_DISPLAY_PRINT is not set
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x50
+# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION is not set
+CONFIG_SPL_CRC32_SUPPORT=y
+# CONFIG_SPL_CPU_SUPPORT is not set
+# CONFIG_SPL_CRYPTO_SUPPORT is not set
+# CONFIG_SPL_HASH_SUPPORT is not set
+# CONFIG_SPL_DMA_SUPPORT is not set
+# CONFIG_SPL_ENV_SUPPORT is not set
+# CONFIG_SPL_FS_EXT4 is not set
+# CONFIG_SPL_FAT_WRITE is not set
+# CONFIG_SPL_FPGA_SUPPORT is not set
+CONFIG_SPL_I2C_SUPPORT=y
+# CONFIG_SPL_DM_MAILBOX is not set
+# CONFIG_SPL_MMC_TINY is not set
+# CONFIG_SPL_MMC_WRITE is not set
+# CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT is not set
+# CONFIG_SPL_MTD_SUPPORT is not set
+# CONFIG_SPL_MUSB_NEW_SUPPORT is not set
+# CONFIG_SPL_NAND_SUPPORT is not set
+# CONFIG_SPL_UBI is not set
+# CONFIG_SPL_NET_SUPPORT is not set
+# CONFIG_SPL_NO_CPU_SUPPORT is not set
+# CONFIG_SPL_NOR_SUPPORT is not set
+# CONFIG_SPL_XIP_SUPPORT is not set
+# CONFIG_SPL_ONENAND_SUPPORT is not set
+# CONFIG_SPL_OS_BOOT is not set
+CONFIG_SPL_PAYLOAD="u-boot.bin"
+# CONFIG_SPL_PCI is not set
+# CONFIG_SPL_PCH_SUPPORT is not set
+# CONFIG_SPL_POST_MEM_SUPPORT is not set
+# CONFIG_SPL_DM_RESET is not set
+CONFIG_SPL_POWER_SUPPORT=y
+# CONFIG_SPL_POWER_DOMAIN is not set
+# CONFIG_SPL_RAM_SUPPORT is not set
+# CONFIG_SPL_REMOTEPROC is not set
+# CONFIG_SPL_RTC_SUPPORT is not set
+# CONFIG_SPL_SATA_SUPPORT is not set
+# CONFIG_SPL_THERMAL is not set
+# CONFIG_SPL_USB_HOST_SUPPORT is not set
+# CONFIG_SPL_USB_GADGET is not set
+# CONFIG_SPL_WATCHDOG_SUPPORT is not set
+# CONFIG_SPL_YMODEM_SUPPORT is not set
+# CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC is not set
+# CONFIG_SPL_OPTEE is not set
+
+#
+# Command line interface
+#
+CONFIG_CMDLINE=y
+CONFIG_HUSH_PARSER=y
+CONFIG_CMDLINE_EDITING=y
+CONFIG_AUTO_COMPLETE=y
+CONFIG_SYS_LONGHELP=y
+CONFIG_SYS_PROMPT="$ "
+CONFIG_SYS_XTRACE="y"
+
+#
+# Autoboot options
+#
+CONFIG_AUTOBOOT=y
+# CONFIG_AUTOBOOT_KEYED is not set
+# CONFIG_AUTOBOOT_USE_MENUKEY is not set
+
+#
+# Commands
+#
+
+#
+# Info commands
+#
+CONFIG_CMD_BDI=y
+# CONFIG_CMD_CONFIG is not set
+CONFIG_CMD_CONSOLE=y
+# CONFIG_CMD_CPU is not set
+# CONFIG_CMD_LICENSE is not set
+
+#
+# Boot commands
+#
+CONFIG_CMD_BOOTD=y
+CONFIG_CMD_BOOTM=y
+CONFIG_CMD_BOOTZ=y
+CONFIG_CMD_BOOTEFI=y
+CONFIG_BOOTM_LINUX=y
+CONFIG_BOOTM_NETBSD=y
+# CONFIG_BOOTM_OPENRTOS is not set
+# CONFIG_BOOTM_OSE is not set
+CONFIG_BOOTM_PLAN9=y
+CONFIG_BOOTM_RTEMS=y
+CONFIG_BOOTM_VXWORKS=y
+CONFIG_CMD_BOOTEFI_HELLO_COMPILE=y
+# CONFIG_CMD_BOOTEFI_HELLO is not set
+# CONFIG_CMD_BOOTEFI_SELFTEST is not set
+# CONFIG_CMD_BOOTMENU is not set
+# CONFIG_CMD_DTIMG is not set
+CONFIG_CMD_ELF=y
+CONFIG_CMD_FDT=y
+CONFIG_CMD_GO=y
+CONFIG_CMD_RUN=y
+CONFIG_CMD_IMI=y
+# CONFIG_CMD_IMLS is not set
+CONFIG_CMD_XIMG=y
+# CONFIG_CMD_SPL is not set
+# CONFIG_CMD_FITUPD is not set
+# CONFIG_CMD_THOR_DOWNLOAD is not set
+# CONFIG_CMD_ZBOOT is not set
+
+#
+# Environment commands
+#
+# CONFIG_CMD_ASKENV is not set
+CONFIG_CMD_EXPORTENV=y
+CONFIG_CMD_IMPORTENV=y
+CONFIG_CMD_EDITENV=y
+# CONFIG_CMD_GREPENV is not set
+CONFIG_CMD_SAVEENV=y
+# CONFIG_CMD_ERASEENV is not set
+CONFIG_CMD_ENV_EXISTS=y
+# CONFIG_CMD_ENV_CALLBACK is not set
+# CONFIG_CMD_ENV_FLAGS is not set
+CONFIG_CMD_NVEDIT_EFI=y
+# CONFIG_CMD_NVEDIT_INFO is not set
+
+#
+# Memory commands
+#
+# CONFIG_CMD_BINOP is not set
+CONFIG_CMD_CRC32=y
+# CONFIG_CRC32_VERIFY is not set
+# CONFIG_CMD_EEPROM is not set
+# CONFIG_LOOPW is not set
+# CONFIG_CMD_MD5SUM is not set
+# CONFIG_CMD_MEMINFO is not set
+CONFIG_CMD_MEMORY=y
+# CONFIG_MX_CYCLIC is not set
+CONFIG_CMD_RANDOM=y
+# CONFIG_CMD_MEMTEST is not set
+# CONFIG_CMD_MX_CYCLIC is not set
+# CONFIG_CMD_SHA1SUM is not set
+# CONFIG_CMD_STRINGS is not set
+
+#
+# Compression commands
+#
+# CONFIG_CMD_LZMADEC is not set
+# CONFIG_CMD_UNZIP is not set
+# CONFIG_CMD_ZIP is not set
+
+#
+# Device access commands
+#
+# CONFIG_CMD_ARMFLASH is not set
+# CONFIG_CMD_ADC is not set
+# CONFIG_CMD_BCB is not set
+# CONFIG_CMD_BIND is not set
+# CONFIG_CMD_CLK is not set
+# CONFIG_CMD_DEMO is not set
+# CONFIG_CMD_DFU is not set
+CONFIG_CMD_DM=y
+# CONFIG_CMD_FDC is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGAD is not set
+# CONFIG_CMD_FUSE is not set
+CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
+CONFIG_RANDOM_UUID=y
+# CONFIG_CMD_GPT_RENAME is not set
+# CONFIG_CMD_IDE is not set
+# CONFIG_CMD_IO is not set
+# CONFIG_CMD_IOTRACE is not set
+CONFIG_CMD_I2C=y
+CONFIG_CMD_LOADB=y
+CONFIG_CMD_LOADS=y
+CONFIG_CMD_MMC=y
+# CONFIG_CMD_MMC_RPMB is not set
+# CONFIG_CMD_MMC_SWRITE is not set
+# CONFIG_CMD_MTD is not set
+# CONFIG_CMD_NAND is not set
+# CONFIG_CMD_ONENAND is not set
+# CONFIG_CMD_OSD is not set
+CONFIG_CMD_PART=y
+# CONFIG_CMD_PCI is not set
+# CONFIG_CMD_PINMUX is not set
+CONFIG_CMD_POWEROFF=y
+# CONFIG_CMD_READ is not set
+# CONFIG_CMD_SATA is not set
+# CONFIG_CMD_SAVES is not set
+CONFIG_CMD_SCSI=y
+# CONFIG_CMD_SDRAM is not set
+# CONFIG_CMD_TSI148 is not set
+# CONFIG_CMD_UNIVERSE is not set
+CONFIG_CMD_USB=y
+# CONFIG_CMD_USB_SDP is not set
+# CONFIG_CMD_USB_MASS_STORAGE is not set
+
+#
+# Shell scripting commands
+#
+CONFIG_CMD_ECHO=y
+CONFIG_CMD_ITEST=y
+CONFIG_CMD_SOURCE=y
+CONFIG_CMD_SETEXPR=y
+
+#
+# Android support commands
+#
+CONFIG_CMD_NET=y
+CONFIG_CMD_BOOTP=y
+CONFIG_CMD_DHCP=y
+CONFIG_BOOTP_BOOTPATH=y
+CONFIG_BOOTP_DNS=y
+# CONFIG_BOOTP_DNS2 is not set
+CONFIG_BOOTP_GATEWAY=y
+CONFIG_BOOTP_HOSTNAME=y
+# CONFIG_BOOTP_PREFER_SERVERIP is not set
+CONFIG_BOOTP_SUBNETMASK=y
+# CONFIG_BOOTP_NTPSERVER is not set
+# CONFIG_CMD_PCAP is not set
+CONFIG_BOOTP_PXE=y
+CONFIG_BOOTP_PXE_CLIENTARCH=0x15
+CONFIG_BOOTP_VCI_STRING="U-Boot.armv7"
+CONFIG_CMD_TFTPBOOT=y
+# CONFIG_CMD_TFTPPUT is not set
+# CONFIG_CMD_TFTPSRV is not set
+CONFIG_NET_TFTP_VARS=y
+# CONFIG_CMD_RARP is not set
+CONFIG_CMD_NFS=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
+# CONFIG_CMD_CDP is not set
+# CONFIG_CMD_SNTP is not set
+# CONFIG_CMD_DNS is not set
+# CONFIG_CMD_LINK_LOCAL is not set
+# CONFIG_CMD_ETHSW is not set
+CONFIG_CMD_PXE=y
+# CONFIG_CMD_WOL is not set
+
+#
+# Misc commands
+#
+# CONFIG_CMD_BMP is not set
+# CONFIG_CMD_BSP is not set
+# CONFIG_CMD_BKOPS_ENABLE is not set
+CONFIG_CMD_BLOCK_CACHE=y
+# CONFIG_CMD_CACHE is not set
+# CONFIG_CMD_CONITRACE is not set
+# CONFIG_CMD_CLS is not set
+# CONFIG_CMD_EFIDEBUG is not set
+# CONFIG_CMD_EXCEPTION is not set
+# CONFIG_CMD_DATE is not set
+# CONFIG_CMD_TIME is not set
+# CONFIG_CMD_GETTIME is not set
+CONFIG_CMD_MISC=y
+# CONFIG_MP is not set
+# CONFIG_CMD_TIMER is not set
+# CONFIG_CMD_QFW is not set
+# CONFIG_CMD_TERMINAL is not set
+# CONFIG_CMD_UUID is not set
+
+#
+# TI specific command line interface
+#
+# CONFIG_CMD_DDR3 is not set
+
+#
+# Power commands
+#
+
+#
+# Security commands
+#
+# CONFIG_CMD_AES is not set
+# CONFIG_CMD_BLOB is not set
+# CONFIG_CMD_HASH is not set
+
+#
+# Firmware commands
+#
+
+#
+# Filesystem commands
+#
+# CONFIG_CMD_BTRFS is not set
+CONFIG_CMD_EXT2=y
+CONFIG_CMD_EXT4=y
+CONFIG_CMD_EXT4_WRITE=y
+CONFIG_CMD_FAT=y
+CONFIG_CMD_FS_GENERIC=y
+# CONFIG_CMD_FS_UUID is not set
+# CONFIG_CMD_JFFS2 is not set
+# CONFIG_CMD_MTDPARTS is not set
+# CONFIG_CMD_REISER is not set
+# CONFIG_CMD_ZFS is not set
+
+#
+# Debug commands
+#
+# CONFIG_CMD_BEDBUG is not set
+# CONFIG_CMD_DIAG is not set
+# CONFIG_CMD_LOG is not set
+# CONFIG_CMD_TRACE is not set
+# CONFIG_CMD_UBI is not set
+
+#
+# Partition Types
+#
+CONFIG_PARTITIONS=y
+# CONFIG_MAC_PARTITION is not set
+# CONFIG_SPL_MAC_PARTITION is not set
+CONFIG_DOS_PARTITION=y
+# CONFIG_SPL_DOS_PARTITION is not set
+CONFIG_ISO_PARTITION=y
+# CONFIG_SPL_ISO_PARTITION is not set
+# CONFIG_AMIGA_PARTITION is not set
+# CONFIG_SPL_AMIGA_PARTITION is not set
+CONFIG_EFI_PARTITION=y
+CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=56
+CONFIG_EFI_PARTITION_ENTRIES_OFF=0
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_PARTITION_UUIDS=y
+# CONFIG_SPL_PARTITION_UUIDS is not set
+# CONFIG_PARTITION_TYPE_GUID is not set
+CONFIG_SUPPORT_OF_CONTROL=y
+CONFIG_DTC=y
+CONFIG_PYLIBFDT=y
+CONFIG_DTOC=y
+CONFIG_BINMAN=y
+
+#
+# Device Tree Control
+#
+CONFIG_OF_CONTROL=y
+# CONFIG_OF_BOARD_FIXUP is not set
+# CONFIG_SPL_OF_CONTROL is not set
+# CONFIG_OF_LIVE is not set
+CONFIG_OF_SEPARATE=y
+# CONFIG_OF_EMBED is not set
+# CONFIG_OF_BOARD is not set
+# CONFIG_OF_PRIOR_STAGE is not set
+CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapro"
+# CONFIG_MULTI_DTB_FIT is not set
+CONFIG_MKIMAGE_DTC_PATH="dtc"
+
+#
+# Environment
+#
+# CONFIG_ENV_IS_NOWHERE is not set
+# CONFIG_ENV_IS_IN_EEPROM is not set
+# CONFIG_ENV_IS_IN_FAT is not set
+CONFIG_ENV_IS_IN_EXT4=y
+# CONFIG_ENV_IS_IN_FLASH is not set
+# CONFIG_ENV_IS_IN_MMC is not set
+# CONFIG_ENV_IS_IN_NAND is not set
+# CONFIG_ENV_IS_IN_NVRAM is not set
+# CONFIG_ENV_IS_IN_ONENAND is not set
+# CONFIG_ENV_IS_IN_REMOTE is not set
+# CONFIG_ENV_IS_IN_UBI is not set
+CONFIG_ENV_EXT4_INTERFACE="mmc"
+CONFIG_ENV_EXT4_DEVICE_AND_PART="0:auto"
+CONFIG_ENV_EXT4_FILE="/boot/uboot.env"
+# CONFIG_USE_DEFAULT_ENV_FILE is not set
+# CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG is not set
+CONFIG_NET=y
+# CONFIG_NET_RANDOM_ETHADDR is not set
+CONFIG_NETCONSOLE=y
+# CONFIG_IP_DEFRAG is not set
+CONFIG_TFTP_BLOCKSIZE=512
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_DM=y
+# CONFIG_SPL_DM is not set
+CONFIG_DM_WARN=y
+# CONFIG_DM_DEBUG is not set
+CONFIG_DM_DEVICE_REMOVE=y
+CONFIG_DM_STDIO=y
+CONFIG_DM_SEQ_ALIAS=y
+# CONFIG_REGMAP is not set
+# CONFIG_DEVRES is not set
+CONFIG_SIMPLE_BUS=y
+CONFIG_OF_TRANSLATE=y
+# CONFIG_TRANSLATION_OFFSET is not set
+CONFIG_DM_DEV_READ_INLINE=y
+# CONFIG_ADC is not set
+# CONFIG_ADC_EXYNOS is not set
+# CONFIG_ADC_SANDBOX is not set
+# CONFIG_SARADC_MESON is not set
+# CONFIG_SARADC_ROCKCHIP is not set
+# CONFIG_SATA is not set
+CONFIG_LIBATA=y
+CONFIG_SCSI_AHCI=y
+
+#
+# SATA/SCSI device support
+#
+# CONFIG_AHCI_PCI is not set
+# CONFIG_SATA_CEVA is not set
+# CONFIG_DWC_AHCI is not set
+# CONFIG_FSL_AHCI is not set
+# CONFIG_DWC_AHSATA is not set
+# CONFIG_FSL_SATA is not set
+# CONFIG_MVSATA_IDE is not set
+# CONFIG_SATA_MV is not set
+# CONFIG_SATA_SIL is not set
+# CONFIG_SATA_SIL3114 is not set
+CONFIG_SUNXI_AHCI=y
+# CONFIG_AXI is not set
+CONFIG_BLK=y
+CONFIG_HAVE_BLOCK_DEVICE=y
+CONFIG_BLOCK_CACHE=y
+# CONFIG_IDE is not set
+# CONFIG_BOOTCOUNT_LIMIT is not set
+
+#
+# Cache Controller drivers
+#
+# CONFIG_CACHE is not set
+# CONFIG_L2X0_CACHE is not set
+
+#
+# Clock
+#
+CONFIG_CLK=y
+# CONFIG_SPL_CLK_CCF is not set
+# CONFIG_CLK_CCF is not set
+# CONFIG_CLK_HSDK is not set
+# CONFIG_CLK_AT91 is not set
+CONFIG_CLK_SUNXI=y
+CONFIG_CLK_SUN4I_A10=y
+# CONFIG_CLK_SUN5I_A10S is not set
+# CONFIG_CLK_SUN6I_A31 is not set
+# CONFIG_CLK_SUN8I_A23 is not set
+# CONFIG_CLK_SUN8I_A83T is not set
+# CONFIG_CLK_SUN8I_R40 is not set
+# CONFIG_CLK_SUN8I_V3S is not set
+# CONFIG_CLK_SUN9I_A80 is not set
+# CONFIG_CLK_SUN8I_H3 is not set
+# CONFIG_CLK_SUN50I_H6 is not set
+# CONFIG_CLK_SUN50I_A64 is not set
+# CONFIG_CLK_SIFIVE is not set
+# CONFIG_ICS8N3QV01 is not set
+# CONFIG_CLK_MPC83XX is not set
+# CONFIG_CPU is not set
+
+#
+# Hardware crypto devices
+#
+# CONFIG_FSL_CAAM is not set
+# CONFIG_SYS_FSL_SEC_BE is not set
+# CONFIG_SYS_FSL_SEC_LE is not set
+
+#
+# Demo for driver model
+#
+# CONFIG_DM_DEMO is not set
+# CONFIG_BOARD is not set
+
+#
+# DFU support
+#
+
+#
+# DMA Support
+#
+# CONFIG_DMA is not set
+# CONFIG_TI_EDMA3 is not set
+
+#
+# Fastboot support
+#
+# CONFIG_USB_FUNCTION_FASTBOOT is not set
+# CONFIG_UDP_FUNCTION_FASTBOOT is not set
+# CONFIG_FIRMWARE is not set
+
+#
+# FPGA support
+#
+# CONFIG_FPGA_ALTERA is not set
+# CONFIG_FPGA_SOCFPGA is not set
+# CONFIG_FPGA_XILINX is not set
+
+#
+# GPIO Support
+#
+CONFIG_DM_GPIO=y
+# CONFIG_GPIO_HOG is not set
+# CONFIG_ALTERA_PIO is not set
+# CONFIG_DWAPB_GPIO is not set
+# CONFIG_AT91_GPIO is not set
+# CONFIG_ATMEL_PIO4 is not set
+# CONFIG_DA8XX_GPIO is not set
+# CONFIG_INTEL_BROADWELL_GPIO is not set
+# CONFIG_INTEL_ICH6_GPIO is not set
+# CONFIG_IMX_RGPIO2P is not set
+# CONFIG_HSDK_CREG_GPIO is not set
+# CONFIG_LPC32XX_GPIO is not set
+# CONFIG_MSM_GPIO is not set
+# CONFIG_MXC_GPIO is not set
+# CONFIG_MXS_GPIO is not set
+# CONFIG_CMD_PCA953X is not set
+# CONFIG_ROCKCHIP_GPIO is not set
+CONFIG_SUNXI_GPIO=y
+# CONFIG_XILINX_GPIO is not set
+# CONFIG_CMD_TCA642X is not set
+# CONFIG_TEGRA_GPIO is not set
+# CONFIG_TEGRA186_GPIO is not set
+# CONFIG_VYBRID_GPIO is not set
+# CONFIG_DM_74X164 is not set
+# CONFIG_DM_PCA953X is not set
+# CONFIG_SPL_DM_PCA953X is not set
+# CONFIG_MPC8XXX_GPIO is not set
+
+#
+# Hardware Spinlock Support
+#
+# CONFIG_DM_HWSPINLOCK is not set
+
+#
+# I2C support
+#
+# CONFIG_DM_I2C is not set
+# CONFIG_SYS_I2C_DW is not set
+# CONFIG_SYS_I2C_IMX_LPI2C is not set
+# CONFIG_SYS_I2C_MXC is not set
+CONFIG_INPUT=y
+CONFIG_DM_KEYBOARD=y
+# CONFIG_CROS_EC_KEYB is not set
+# CONFIG_I8042_KEYB is not set
+# CONFIG_TEGRA_KEYBOARD is not set
+# CONFIG_TWL4030_INPUT is not set
+
+#
+# LED Support
+#
+# CONFIG_LED is not set
+# CONFIG_LED_STATUS is not set
+
+#
+# Mailbox Controller Support
+#
+# CONFIG_DM_MAILBOX is not set
+
+#
+# Memory Controller drivers
+#
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MISC is not set
+# CONFIG_CROS_EC is not set
+# CONFIG_SPL_CROS_EC is not set
+# CONFIG_DS4510 is not set
+# CONFIG_FSL_SEC_MON is not set
+# CONFIG_NUVOTON_NCT6102D is not set
+# CONFIG_PWRSEQ is not set
+# CONFIG_PCA9551_LED is not set
+# CONFIG_TWL4030_LED is not set
+# CONFIG_WINBOND_W83627 is not set
+# CONFIG_FS_LOADER is not set
+
+#
+# MMC Host controller Support
+#
+CONFIG_MMC=y
+CONFIG_MMC_WRITE=y
+# CONFIG_MMC_BROKEN_CD is not set
+CONFIG_DM_MMC=y
+# CONFIG_ARM_PL180_MMCI is not set
+CONFIG_MMC_QUIRKS=y
+CONFIG_MMC_HW_PARTITIONING=y
+# CONFIG_SUPPORT_EMMC_RPMB is not set
+# CONFIG_SUPPORT_EMMC_BOOT is not set
+# CONFIG_MMC_IO_VOLTAGE is not set
+# CONFIG_SPL_MMC_IO_VOLTAGE is not set
+# CONFIG_MMC_HS400_ES_SUPPORT is not set
+# CONFIG_SPL_MMC_HS400_ES_SUPPORT is not set
+# CONFIG_MMC_HS400_SUPPORT is not set
+# CONFIG_SPL_MMC_HS400_SUPPORT is not set
+# CONFIG_MMC_HS200_SUPPORT is not set
+# CONFIG_SPL_MMC_HS200_SUPPORT is not set
+CONFIG_MMC_VERBOSE=y
+# CONFIG_MMC_TRACE is not set
+# CONFIG_MMC_DW is not set
+# CONFIG_MMC_MXC is not set
+# CONFIG_MMC_PCI is not set
+# CONFIG_MMC_OMAP_HS is not set
+# CONFIG_MMC_SDHCI is not set
+CONFIG_MMC_SUNXI=y
+# CONFIG_STM32_SDMMC2 is not set
+# CONFIG_FTSDC010 is not set
+# CONFIG_FSL_ESDHC is not set
+# CONFIG_FSL_ESDHC_IMX is not set
+
+#
+# MTD Support
+#
+# CONFIG_MTD is not set
+# CONFIG_MTD_NOR_FLASH is not set
+# CONFIG_MTD_DEVICE is not set
+# CONFIG_FLASH_CFI_DRIVER is not set
+# CONFIG_NAND is not set
+
+#
+# SPI Flash Support
+#
+
+#
+# UBI support
+#
+# CONFIG_UBI_SILENCE_MSG is not set
+# CONFIG_MTD_UBI is not set
+# CONFIG_BITBANGMII is not set
+# CONFIG_MV88E6352_SWITCH is not set
+CONFIG_PHYLIB=y
+CONFIG_PHY_ADDR_ENABLE=y
+CONFIG_PHY_ADDR=1
+# CONFIG_B53_SWITCH is not set
+# CONFIG_MV88E61XX_SWITCH is not set
+# CONFIG_PHYLIB_10G is not set
+# CONFIG_PHY_AQUANTIA is not set
+# CONFIG_PHY_ATHEROS is not set
+# CONFIG_PHY_BROADCOM is not set
+# CONFIG_PHY_CORTINA is not set
+# CONFIG_PHY_DAVICOM is not set
+# CONFIG_PHY_ET1011C is not set
+# CONFIG_PHY_LXT is not set
+# CONFIG_PHY_MARVELL is not set
+# CONFIG_PHY_MESON_GXL is not set
+# CONFIG_PHY_MICREL is not set
+# CONFIG_PHY_MSCC is not set
+# CONFIG_PHY_NATSEMI is not set
+# CONFIG_PHY_REALTEK is not set
+# CONFIG_PHY_SMSC is not set
+# CONFIG_PHY_TERANETICS is not set
+# CONFIG_PHY_TI is not set
+# CONFIG_PHY_VITESSE is not set
+# CONFIG_PHY_XILINX is not set
+# CONFIG_PHY_FIXED is not set
+# CONFIG_FSL_PFE is not set
+CONFIG_DM_ETH=y
+# CONFIG_DM_MDIO is not set
+CONFIG_NETDEVICES=y
+# CONFIG_PHY_GIGE is not set
+# CONFIG_ALTERA_TSE is not set
+# CONFIG_BCM_SF2_ETH is not set
+# CONFIG_DWC_ETH_QOS is not set
+# CONFIG_E1000 is not set
+CONFIG_ETH_DESIGNWARE=y
+# CONFIG_ETH_DESIGNWARE_SOCFPGA is not set
+# CONFIG_ETHOC is not set
+# CONFIG_FMAN_ENET is not set
+# CONFIG_FTMAC100 is not set
+# CONFIG_FTGMAC100 is not set
+# CONFIG_MACB is not set
+CONFIG_RGMII=y
+CONFIG_MII=y
+# CONFIG_RTL8139 is not set
+# CONFIG_RTL8169 is not set
+# CONFIG_SMC911X is not set
+CONFIG_SUN7I_GMAC=y
+# CONFIG_SUN7I_GMAC_FORCE_TXERR is not set
+# CONFIG_SUN4I_EMAC is not set
+# CONFIG_SUN8I_EMAC is not set
+# CONFIG_SH_ETHER is not set
+# CONFIG_DRIVER_TI_CPSW is not set
+# CONFIG_DRIVER_TI_EMAC is not set
+# CONFIG_DRIVER_TI_KEYSTONE_NET is not set
+# CONFIG_GMAC_ROCKCHIP is not set
+# CONFIG_SYS_DPAA_QBMAN is not set
+# CONFIG_TSEC_ENET is not set
+# CONFIG_MEDIATEK_ETH is not set
+# CONFIG_HIGMACV300_ETH is not set
+# CONFIG_PCI is not set
+
+#
+# PCI Endpoint
+#
+# CONFIG_PCI_ENDPOINT is not set
+
+#
+# PHY Subsystem
+#
+CONFIG_PHY=y
+# CONFIG_SPL_PHY is not set
+# CONFIG_NOP_PHY is not set
+# CONFIG_MSM8916_USB_PHY is not set
+# CONFIG_MT76X8_USB_PHY is not set
+CONFIG_PHY_SUN4I_USB=y
+# CONFIG_MVEBU_COMPHY_SUPPORT is not set
+
+#
+# Pin controllers
+#
+# CONFIG_PINCTRL is not set
+
+#
+# Power
+#
+
+#
+# Power Domain Support
+#
+# CONFIG_POWER_DOMAIN is not set
+# CONFIG_DM_PMIC is not set
+# CONFIG_PMIC_AS3722 is not set
+# CONFIG_POWER_MC34VR500 is not set
+# CONFIG_DM_REGULATOR is not set
+# CONFIG_SUNXI_NO_PMIC is not set
+CONFIG_AXP209_POWER=y
+CONFIG_AXP_DCDC2_VOLT=1400
+CONFIG_AXP_DCDC3_VOLT=1250
+CONFIG_AXP_ALDO2_VOLT=3000
+CONFIG_AXP_ALDO3_VOLT=0
+CONFIG_AXP_ALDO3_VOLT_SLOPE_NONE=y
+# CONFIG_AXP_ALDO3_VOLT_SLOPE_16 is not set
+# CONFIG_AXP_ALDO3_VOLT_SLOPE_08 is not set
+# CONFIG_AXP_ALDO3_INRUSH_QUIRK is not set
+CONFIG_AXP_ALDO4_VOLT=2500
+# CONFIG_DM_PWM is not set
+# CONFIG_PWM_IMX is not set
+# CONFIG_PWM_SANDBOX is not set
+# CONFIG_U_QE is not set
+# CONFIG_RAM is not set
+
+#
+# Remote Processor drivers
+#
+
+#
+# Reset Controller Support
+#
+CONFIG_DM_RESET=y
+CONFIG_RESET_SUNXI=y
+# CONFIG_RESET_HISILICON is not set
+
+#
+# Real Time Clock
+#
+# CONFIG_DM_RTC is not set
+# CONFIG_RTC_ENABLE_32KHZ_OUTPUT is not set
+# CONFIG_RTC_RX8025 is not set
+# CONFIG_RTC_PL031 is not set
+# CONFIG_RTC_S35392A is not set
+# CONFIG_RTC_MC146818 is not set
+# CONFIG_RTC_M41T62 is not set
+CONFIG_SCSI=y
+CONFIG_DM_SCSI=y
+
+#
+# Serial drivers
+#
+CONFIG_BAUDRATE=115200
+CONFIG_REQUIRE_SERIAL_CONSOLE=y
+CONFIG_SPECIFY_CONSOLE_INDEX=y
+CONFIG_SERIAL_PRESENT=y
+CONFIG_SPL_SERIAL_PRESENT=y
+CONFIG_CONS_INDEX=1
+CONFIG_DM_SERIAL=y
+# CONFIG_SERIAL_RX_BUFFER is not set
+# CONFIG_SERIAL_SEARCH_ALL is not set
+# CONFIG_TPL_DM_SERIAL is not set
+# CONFIG_ALTERA_JTAG_UART is not set
+# CONFIG_ALTERA_UART is not set
+# CONFIG_ARC_SERIAL is not set
+# CONFIG_ATMEL_USART is not set
+# CONFIG_BCM6345_SERIAL is not set
+# CONFIG_FSL_LINFLEXUART is not set
+# CONFIG_FSL_LPUART is not set
+# CONFIG_MVEBU_A3700_UART is not set
+# CONFIG_MCFUART is not set
+# CONFIG_NULLDEV_SERIAL is not set
+CONFIG_SYS_NS16550=y
+# CONFIG_PL01X_SERIAL is not set
+# CONFIG_MSM_SERIAL is not set
+# CONFIG_OMAP_SERIAL is not set
+# CONFIG_PXA_SERIAL is not set
+# CONFIG_SIFIVE_SERIAL is not set
+# CONFIG_MTK_SERIAL is not set
+# CONFIG_SMEM is not set
+
+#
+# Sound support
+#
+# CONFIG_SOUND is not set
+
+#
+# SOC (System On Chip) specific Drivers
+#
+# CONFIG_SOC_TI is not set
+# CONFIG_SPI is not set
+
+#
+# SPMI support
+#
+# CONFIG_SPMI is not set
+
+#
+# System reset device drivers
+#
+# CONFIG_SYSRESET is not set
+# CONFIG_SYSRESET_SYSCON is not set
+# CONFIG_SYSRESET_WATCHDOG is not set
+# CONFIG_SYSRESET_MCP83XX is not set
+# CONFIG_TEE is not set
+# CONFIG_OPTEE is not set
+# CONFIG_DM_THERMAL is not set
+
+#
+# Timer Support
+#
+# CONFIG_TIMER is not set
+
+#
+# TPM support
+#
+CONFIG_USB=y
+CONFIG_DM_USB=y
+# CONFIG_DM_USB_GADGET is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_XHCI_HCD is not set
+# CONFIG_USB_EHCI_HCD is not set
+# CONFIG_USB_OHCI_HCD is not set
+# CONFIG_USB_OHCI_PCI is not set
+# CONFIG_USB_UHCI_HCD is not set
+# CONFIG_USB_DWC2 is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_DWC3 is not set
+
+#
+# Legacy MUSB Support
+#
+# CONFIG_USB_MUSB_HCD is not set
+# CONFIG_USB_MUSB_UDC is not set
+
+#
+# MUSB Controller Driver
+#
+# CONFIG_USB_MUSB_HOST is not set
+# CONFIG_USB_MUSB_GADGET is not set
+# CONFIG_USB_MUSB_DA8XX is not set
+# CONFIG_USB_MUSB_TI is not set
+# CONFIG_USB_MUSB_AM35X is not set
+# CONFIG_USB_MUSB_DSPS is not set
+# CONFIG_USB_MUSB_PIO_ONLY is not set
+
+#
+# USB Phy
+#
+# CONFIG_TWL4030_USB is not set
+# CONFIG_OMAP_USB_PHY is not set
+# CONFIG_ROCKCHIP_USB2_PHY is not set
+
+#
+# ULPI drivers
+#
+
+#
+# USB peripherals
+#
+CONFIG_USB_STORAGE=y
+CONFIG_USB_KEYBOARD=y
+# CONFIG_SYS_USB_EVENT_POLL is not set
+CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
+# CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is not set
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_MANUFACTURER="Allwinner Technology"
+CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a
+CONFIG_USB_GADGET_PRODUCT_NUM=0x1010
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_BCM_UDC_OTG_PHY is not set
+# CONFIG_USB_GADGET_DWC2_OTG is not set
+# CONFIG_CI_UDC is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+# CONFIG_USB_GADGET_DOWNLOAD is not set
+# CONFIG_USB_ETHER is not set
+# CONFIG_USB_HOST_ETHER is not set
+
+#
+# Graphics support
+#
+# CONFIG_DM_VIDEO is not set
+CONFIG_SYS_WHITE_ON_BLACK=y
+# CONFIG_NO_FB_CLEAR is not set
+
+#
+# TrueType Fonts
+#
+# CONFIG_VIDEO_VESA is not set
+# CONFIG_VIDEO_LCD_ANX9804 is not set
+# CONFIG_VIDEO_LCD_SSD2828 is not set
+# CONFIG_VIDEO_LCD_HITACHI_TX18D42VM is not set
+# CONFIG_VIDEO_MVEBU is not set
+# CONFIG_I2C_EDID is not set
+# CONFIG_DISPLAY is not set
+# CONFIG_VIDEO_FSL_DCU_FB is not set
+# CONFIG_VIDEO_TEGRA20 is not set
+# CONFIG_VIDEO_BRIDGE is not set
+CONFIG_VIDEO=y
+CONFIG_CFB_CONSOLE=y
+CONFIG_CFB_CONSOLE_ANSI=y
+CONFIG_VGA_AS_SINGLE_DEVICE=y
+CONFIG_VIDEO_SW_CURSOR=y
+# CONFIG_CONSOLE_EXTRA_INFO is not set
+CONFIG_CONSOLE_SCROLL_LINES=1
+CONFIG_SYS_CONSOLE_BG_COL=0x00
+CONFIG_SYS_CONSOLE_FG_COL=0xa0
+# CONFIG_LCD is not set
+# CONFIG_VIDEO_SIMPLE is not set
+CONFIG_VIDEO_DT_SIMPLEFB=y
+# CONFIG_OSD is not set
+
+#
+# VirtIO Drivers
+#
+# CONFIG_VIRTIO_MMIO is not set
+
+#
+# 1-Wire support
+#
+# CONFIG_W1 is not set
+
+#
+# 1-wire EEPROM support
+#
+# CONFIG_W1_EEPROM is not set
+
+#
+# Watchdog Timer Support
+#
+# CONFIG_WATCHDOG is not set
+# CONFIG_WATCHDOG_RESET_DISABLE is not set
+# CONFIG_IMX_WATCHDOG is not set
+# CONFIG_ULP_WATCHDOG is not set
+# CONFIG_WDT is not set
+# CONFIG_PHYS_TO_BUS is not set
+
+#
+# File systems
+#
+# CONFIG_FS_BTRFS is not set
+# CONFIG_FS_CBFS is not set
+# CONFIG_SPL_FS_CBFS is not set
+CONFIG_FS_EXT4=y
+CONFIG_EXT4_WRITE=y
+CONFIG_FS_FAT=y
+CONFIG_FAT_WRITE=y
+CONFIG_FS_FAT_MAX_CLUSTSIZE=65536
+# CONFIG_FS_JFFS2 is not set
+# CONFIG_UBIFS_SILENCE_MSG is not set
+# CONFIG_FS_CRAMFS is not set
+# CONFIG_YAFFS2 is not set
+
+#
+# Library routines
+#
+# CONFIG_BCH is not set
+# CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED is not set
+# CONFIG_DYNAMIC_CRC_TABLE is not set
+CONFIG_HAVE_PRIVATE_LIBGCC=y
+CONFIG_LIB_UUID=y
+CONFIG_PRINTF=y
+CONFIG_SPL_PRINTF=y
+CONFIG_SPRINTF=y
+CONFIG_SPL_SPRINTF=y
+CONFIG_STRTO=y
+CONFIG_SPL_STRTO=y
+CONFIG_USE_PRIVATE_LIBGCC=y
+CONFIG_SYS_HZ=1000
+CONFIG_USE_TINY_PRINTF=y
+# CONFIG_PANIC_HANG is not set
+CONFIG_REGEX=y
+CONFIG_LIB_RAND=y
+# CONFIG_LIB_HW_RAND is not set
+# CONFIG_SPL_TINY_MEMSET is not set
+# CONFIG_TPL_TINY_MEMSET is not set
+# CONFIG_BITREVERSE is not set
+# CONFIG_TRACE is not set
+# CONFIG_CMD_DHRYSTONE is not set
+
+#
+# Security support
+#
+# CONFIG_AES is not set
+# CONFIG_RSA is not set
+# CONFIG_TPM is not set
+
+#
+# Android Verified Boot
+#
+
+#
+# Hashing Support
+#
+CONFIG_SHA1=y
+CONFIG_SHA256=y
+# CONFIG_SHA_HW_ACCEL is not set
+CONFIG_MD5=y
+
+#
+# Compression Support
+#
+# CONFIG_LZ4 is not set
+# CONFIG_LZMA is not set
+# CONFIG_LZO is not set
+CONFIG_GZIP=y
+CONFIG_ZLIB=y
+# CONFIG_ZSTD is not set
+# CONFIG_SPL_LZ4 is not set
+# CONFIG_SPL_LZO is not set
+# CONFIG_SPL_GZIP is not set
+# CONFIG_SPL_ZSTD is not set
+# CONFIG_ERRNO_STR is not set
+CONFIG_HEXDUMP=y
+CONFIG_OF_LIBFDT=y
+CONFIG_OF_LIBFDT_OVERLAY=y
+# CONFIG_SPL_OF_LIBFDT is not set
+# CONFIG_TPL_OF_LIBFDT is not set
+
+#
+# System tables
+#
+CONFIG_GENERATE_SMBIOS_TABLE=y
+CONFIG_SMBIOS_MANUFACTURER=""
+CONFIG_EFI_LOADER=y
+CONFIG_EFI_DEVICE_PATH_TO_TEXT=y
+CONFIG_EFI_LOADER_HII=y
+CONFIG_EFI_UNICODE_COLLATION_PROTOCOL2=y
+CONFIG_EFI_UNICODE_CAPITALIZATION=y
+# CONFIG_EFI_UNICODE_COLLATION_PROTOCOL is not set
+CONFIG_EFI_PLATFORM_LANG_CODES="en-US"
+CONFIG_EFI_GRUB_ARM32_WORKAROUND=y
+# CONFIG_TEST_FDTDEC is not set
+# CONFIG_UNIT_TEST is not set
diff --git a/platforms/bananaPro/boot.cmd b/platforms/bananaPro/boot.cmd
new file mode 100644
index 0000000..c91cefb
--- /dev/null
+++ b/platforms/bananaPro/boot.cmd
@@ -0,0 +1,17 @@
+setenv KERNEL_FILE /boot/uvmlinuz
+setenv DTB_FILE /boot/u-boot.dtb
+setenv INIT_FILE /boot/initrd
+
+setenv KERNEL_ADDR 0x40008000
+setenv DTB_ADDR 0x45000000
+setenv INIT_ADDR 0x48000000
+setenv INIT_ADDR -
+
+ext4load mmc 0:1 ${KERNEL_ADDR} ${KERNEL_FILE}
+ext4load mmc 0:1 ${DTB_ADDR} ${DTB_FILE}
+#ext4load mmc 0:1 ${INIT_ADDR} ${INIT_FILE}
+
+setenv bootargs console=ttyS0,115200 disp.screen0_output_mode=EDID:1024x768p50 hdmi.audio=EDID:0 root=/dev/mmcblk0p1 rootfstype=ext4 elevator=deadline rootwait
+
+#printenv
+bootz ${KERNEL_ADDR} ${INIT_ADDR} ${DTB_ADDR}
diff --git a/platforms/bananaPro/mageia4arm.cfg b/platforms/bananaPro/mageia4arm.cfg
new file mode 100644
index 0000000..cb1925b
--- /dev/null
+++ b/platforms/bananaPro/mageia4arm.cfg
@@ -0,0 +1,75 @@
+
+# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+#BananaPro informations : http://wiki.lemaker.org/BananaPro/Pi:Building_u-boot,_script.bin_and_linux-kernel#Installation
+#BananaPro sources : https://github.com/LeMaker/lemaker-bsp
+# Kernel : https://github.com/LeMaker/linux-sunxi
+# FEX (DTS) : https://github.com/LeMaker/sunxi-boards
+
+# Mageia version 7 or later, cauldron.
+# TO MODIFY
+MAGEIA_VERSION="7"
+# Arm version armv7hl, aarch64
+# TO MODIFY
+ARM_VERSION="armv7hl"
+
+# Target plateform (odroid or rpi)
+# TO MODIFY
+TARGET="bananaPro"
+# Target version (0,2,3 for raspi, 3 or 4 for odroid)
+#TO MODIFY
+TARGET_VERSION="1"
+
+# URL of the Mageia mirror used to install ( see mirrors.mageia.org )
+MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/${MAGEIA_VERSION}/${ARM_VERSION}"
+
+# image will be created here
+# TO MODIFY
+# INSTALL_PATH="./${TARGET}"
+# Should not be in this configuration file, it isn't related to the configuration but to the build platform.
+
+# Build directory will be created here
+BUILD_PATH="${INSTALL_PATH}/build"
+
+#name of the image
+IMAGE="Mageia-${MAGEIA_VERSION}-${TARGET}.img"
+
+#Mount point of image's partitions
+BOOT="/mnt/boot"
+ROOT="/mnt/root"
+
+# Default user
+# TO MODIFY
+ID_USER="banana"
+PASSWORD="bananaPro"
+
+#root password
+ROOT_PWD="ProR00t"
+
+#Hostname
+HOSTNAME="${TARGET}.${ID_USER}"
+
+#Filesystem of boot partitions (default ext4 raspberry pi need vfat)
+SEPARATE_BOOT_PARTITION=0
+BOOTFS="ext4"
+
+#kernel package to install
+KERNEL="kernel-desktop"
+
+#Path where the raspberry pi firmware is/will be installed ( just needed for raspberry pi )
+FIRMWARE_PATH="${INSTALL_PATH}/"
+#FIRMWARE_DIR="firmware-stable"
+#FIRMWARE_DOWNLOAD_URL="https://github.com/raspberrypi/firmware/archive/stable.zip"
diff --git a/platforms/bananaPro/second_stage_install.sh b/platforms/bananaPro/second_stage_install.sh
new file mode 100644
index 0000000..0dba4cc
--- /dev/null
+++ b/platforms/bananaPro/second_stage_install.sh
@@ -0,0 +1,101 @@
+#!/bin/bash -x
+
+# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
+#
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+export ARCH=arm
+
+/usr/bin/chown :shadow /etc/shadow /etc/gshadow /etc/login.defs /etc/pam.d/chage-chfn-chsh /etc/pam.d/chpasswd-newusers /etc/pam.d/system-auth /etc/pam.d/user-group-mod /bin/passwd /bin/chage
+
+/usr/bin/chown :systemd-journal -R /var/log/journal
+
+#Install all packages you need
+/usr/sbin/urpmi --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 0 basesystem chrony polkit lockdev rng-tools man openssh-server rfkill wireless-tools bluez wpa_supplicant make rsync binutils ldetect usbutils #kernel-desktop-latest # systemd-bootchart libcap-utils keyutils mindi-busybox plymouth-scripts lvm2 #dmsetup
+
+#For dracut :
+# /usr/sbin/urpmi --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 0 u-boot-tools mindi-busybox plymouth-scripts #systemd-bootchart libcap-utils keyutils lvm2 #dmsetup
+
+# ############################
+# ## For compiling a module ##
+# ############################
+# /usr/sbin/urpmi --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 0 kernel-source-latest
+# #See if it is a Server or Desktop kernel :
+# rpm -q kernel-serveur-latest
+# if [ 0 -ne ${?} ]; then
+# K_INST_VERSION=$(rpm -q kernel-desktop-latest | sed -e 's/kernel-\([[:alnum:]]*\)-latest-\([\.[:digit:]]*\)-\([\.[:alnum:]]*\).*$/\2-\1-\3/' )
+# else
+# K_INST_VERSION=$(rpm -q kernel-serveur-latest | sed -e 's/kernel-\([[:alnum:]]*\)-latest-\([\.[:digit:]]*\)-\([\.[:alnum:]]*\).*$/\2-\1-\3/' )
+# fi
+# #Recover the kernel module path :
+# K_MOD_PATH=$(urpmf "modules/${K_INST_VERSION}$" | cut -d ':' -f 2)
+# #Recover the source version :
+# K_SRC_VERSION=$(rpm -q kernel-source-latest | sed -e 's/kernel-source-latest-\([\.[:digit:]]*\)-\([\.[:alnum:]]*\).*$/\1-\2/' )
+# #Recover the source path :
+# K_SRC_PATH=$(urpmf "src/kernel-${K_SRC_VERSION}$" | cut -d ':' -f 2)
+# #Set the default Mageia's configuration file into the source path :
+# cp /boot/config-${K_INST_VERSION} ${K_SRC_PATH}/.config
+# ## Can't go further... Make does not like to build inside chroot. It doesn't find tools.
+# ## Impossible to build any module there.
+
+
+# ####################################################
+# ## To embed a module inside the early boot initrd ##
+# ####################################################
+# #Set the kernel name :
+# KERNELVERSION="5.3.7-desktop-4.mga7"
+# #Set the list of added modules and omitted modules :
+# DRIVER_ADD_LIST="8250_dw"
+# DRIVER_OMI_LIST="drm"
+# #Create a configuration file inside the FS, it will be used by dracut for all kernel update
+# echo -e "# Omiting drm as it failed for arm :\nomit_dracutmodules+=\" ${DRIVER_OMI_LIST} \"\n\n# Driver to add for banana Pro (serial) :\nadd_drivers+=\" ${DRIVER_ADD_LIST} \"\n" > /etc/dracut.conf.d/30-bananapro.conf
+# #Generate the initrd :
+# OUTPUT=$(ARCH=arm CROSS_COMPILE=arm-linux-gnu- dracut --no-compress --force --no-hostonly --local --no-early-microcode --confdir "/etc/dracut.conf.d" --kmoddir="/lib/modules/${KERNELVERSION}" --xz --printsize --kernel-image /boot/vmlinuz --fstab initrd-${KERNELVERSION}.img ${KERNELVERSION} 2>&1 | tee /dev/tty )
+# #Add the uboot header to the initrd file, first, find the file :
+# INITRD_FILE="$(echo "${OUTPUT}" | grep "Creating initramfs image file" | sed -e "s/^[*:[:space:][:alnum:]]*'//" -e "s/'.*$//" )"
+# #Add the uboot header, the result file will contain a 'u' as prefix-name.
+# mkimage -A arm -T ramdisk -C lzma -n initrd -d ${INITRD_FILE} "$(dirname "${INITRD_FILE}")/u$(basename "${INITRD_FILE}")"
+# #generate a symlink relative r and symbolic s :
+# rm -f /boot/initrd
+# ln -r -s "$(dirname "${INITRD_FILE}")/u$(basename "${INITRD_FILE}")" /boot/initrd
+
+###########################################
+## Install a package from testing repo : ##
+###########################################
+urpmi.update Testing
+urpmi --auto --media Testing kernel-desktop-latest
+
+###############################################
+## Create a symlink for the lastest kernel : ##
+###############################################
+# #Last rpm package :
+# KERNELRPM=$(rpm -qa --last | grep "^kernel-[sd]e[[:alpha:]]*-[[:digit:]]" | head -n 1 | cut -d ' ' -f 1 | sed -e 's/\(kernel-[[:alnum:]]*-[\.[:digit:]]*-[\.[:alnum:]]*\)-.*/\1/' )
+# #Get the vmlinuz file :
+# VMLINUZ=$(urpmf ${KERNELRPM} | grep "boot/vmlinuz" | cut -d ':' -f 2)
+#Get the vmlinuz file :
+VMLINUZ=$(ls --sort=time -1 /boot/vmlinuz-[[:digit:]]* | head -n 1)
+rm -f /boot/uvmlinuz
+ln -r -s "${VMLINUZ}" /boot/uvmlinuz
+
+
+/usr/bin/chown :chrony -R /etc/chrony.keys /var/log/chrony
+/usr/bin/chown :daemon /etc/wpa_supplicant.conf
+/usr/bin/chown :tty /bin/write /bin/wall
+/usr/bin/chown :lock /sbin/lockdev
+/usr/bin/chown :bin /sbin/traceroute
+/usr/bin/chown polkitd /etc/polkit-1/rules.d
+
+# sleep 5s
+#DO NOT EXIT THE SCRIPT. A second part is automatically added in this script during the process in order to create the default user and set root password.
diff --git a/platforms/bananaPro/specialFunctions.sh b/platforms/bananaPro/specialFunctions.sh
new file mode 100755
index 0000000..dfa67c9
--- /dev/null
+++ b/platforms/bananaPro/specialFunctions.sh
@@ -0,0 +1,70 @@
+#!/bin/bash
+
+#Fdisk partitionment commands :
+DEFAULT=""
+NEW_DOSTAB="o"
+NEW_PART="n"
+PRIMARY="p"
+CHANGE_TYPE="t"
+TYPE_FAT32LBA="c"
+CHANGE_BOOTFLAG="a"
+APPLY="w"
+
+# PART_BOOT=1
+# PART_BOOT_FIRST_SECTOR=${DEFAULT}
+# PART_BOOT_SIZE="+128M"
+#
+# PART_ROOT=2
+# PART_ROOT_FIRST_SECTOR=${DEFAULT}
+# PART_ROOT_SIZE=${DEFAULT}
+
+PART_BOOTandROOT="1"
+PART_BOOTandROOT_FIRST_SECTOR="${DEFAULT}"
+PART_BOOTandROOT_SIZE="${DEFAULT}"
+
+
+FDISK_SCRIPT="${NEW_PART}\n${PRIMARY}\n${PART_BOOTandROOT}\n${PART_BOOT_FIRST_SECTOR}\n${PART_BOOTandROOT_SIZE}\n${CHANGE_BOOTFLAG}\n${APPLY}\n"
+# FDISK_SCRIPT="${NEW_PART}\n${PRIMARY}\n${PART_BOOT}\n${PART_BOOT_FIRST_SECTOR}\n${PART_BOOT_SIZE}\n${CHANGE_TYPE}\n${TYPE_FAT32LBA}\n${NEW_PART}\n${PRIMARY}\n${PART_ROOT}\n${PART_ROOT_FIRST_SECTOR}\n${PART_ROOT_SIZE}\n${CHANGE_BOOTFLAG}\n${PART_BOOT}\n${CHANGE_BOOTFLAG}\n${PART_ROOT}\n${APPLY}\n"
+
+
+function preImgCreation()
+{
+ title "Creating Banana Pro image"
+ #Nothing to download.
+ return 0
+}
+
+
+function postPrepareChroot()
+{
+# info "copying kernel-desktop, dtb, boot.scr and vmlinuz symlink in ${BUILD_PATH}/boot"
+ info "copying dtb and boot.scr in ${BUILD_PATH}/boot"
+ #Generating uboot autoboot script :
+ mkimage -C none -A arm -T script -d "${CONFIG_PATH}/boot.cmd" "${BUILD_PATH}/boot/boot.scr"
+ /usr/bin/cp --preserve=mode "${CONFIG_PATH}/u-boot.dtb" "${BUILD_PATH}/boot/"
+# /usr/bin/cp --preserve=mode "${CONFIG_PATH}/sun7i-a20-bananapro.dtb" "${BUILD_PATH}/boot/"
+# /usr/bin/cp --preserve=mode -d "${CONFIG_PATH}/vmlinuz" "${BUILD_PATH}/boot/"
+# /usr/bin/cp --preserve=mode -r "${CONFIG_PATH}/lib" "${BUILD_PATH}/"
+ return 0
+}
+
+function bunrningBootloader()
+{
+ # DEVICE is set just before this function and looped.
+ title "Burning the bootloader..."
+ dd if=${CONFIG_PATH}/u-boot-sunxi-with-spl.bin of=${DEVICE} bs=1024 seek=8
+ return 0
+}
+
+function copyingCustomSystem()
+{
+ #${BOOT} defined to the path to the mounted boot partition.
+# /usr/bin/cp --preserve=mode "${CONFIG_PATH}/vmlinuz-5.3.1-desktop-2.mga7" "${BOOT}"
+# /usr/bin/cp --preserve=mode "${CONFIG_PATH}/sun7i-a20-bananapro.dtb" "${BOOT}"
+# /usr/bin/cp --preserve=mode "${CONFIG_PATH}/boot.scr" "${BOOT}/"
+# /usr/bin/cp --preserve=mode "${CONFIG_PATH}/uboot.env" "${BOOT}/"
+# /usr/bin/cp --preserve=mode "${CONFIG_PATH}/uEnv.txt" "${BOOT}/"
+# /usr/bin/cp --preserve=mode -d "${CONFIG_PATH}/vmlinuz" "${BOOT}/"
+# cp --preserve=mode -R "${BUILD_PATH}/boot/extlinux" "${BOOT}/"
+ return 0
+}
diff --git a/platforms/bananaPro/u-boot-sunxi-with-spl.bin b/platforms/bananaPro/u-boot-sunxi-with-spl.bin
new file mode 100644
index 0000000..803a4c2
--- /dev/null
+++ b/platforms/bananaPro/u-boot-sunxi-with-spl.bin
Binary files differ
diff --git a/platforms/bananaPro/u-boot.dtb b/platforms/bananaPro/u-boot.dtb
new file mode 100644
index 0000000..12a21ef
--- /dev/null
+++ b/platforms/bananaPro/u-boot.dtb
Binary files differ
diff --git a/platforms/rpi1/mageia4arm.cfg~ b/platforms/rpi1/mageia4arm.cfg~
deleted file mode 100644
index e093329..0000000
--- a/platforms/rpi1/mageia4arm.cfg~
+++ /dev/null
@@ -1,57 +0,0 @@
-
-# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-MAGEIA_VERSION="7"
-ARM_VERSION="armv7hl"
-
-#target plateform (xu3-4 or rpi)
-TARGET="rpi"
-TARGET_VERSION="3"
-
-# URL of the Mageia mirror used to install ( see mirrors.mageia.org )
-MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/$MAGEIA_VERSION/$ARM_VERSION"
-#MIRROR="/mnt/STOCK/mageia/distrib/$MAGEIA_VERSION/$ARM_VERSION"
-# image will be created here
-
-INSTALL_PATH="/mnt/perso/raspi-test"
-
-# Build directory will be created here
-BUILD_PATH="$INSTALL_PATH/build"
-
-#name of the image
-IMAGE="Mageia-${MAGEIA_VERSION}-$TARGET.img"
-
-#Mount point of image's partitions
-BOOT="/mnt/boot"
-ROOT="/mnt/root"
-
-#Default user
-ID_USER="pi"
-PASSWORD="raspberry"
-
-#root password
-ROOT_PWD="piroot"
-
-#Hostname
-HOSTNAME="$TARGET.$ID_USER"
-
-#Filesystem of boot partitions (default ext4 raspberry pi need vfat)
-BOOTFS="vfat"
-
-#Path where the raspberry pi firmware is/will be installed
-FIRMWARE_PATH="$INSTALL_PATH"
-FIRMWARE_DIR="firmware-stable"
diff --git a/platforms/rpi1/specialFunctions.sh b/platforms/rpi1/specialFunctions.sh
new file mode 100755
index 0000000..71d75b0
--- /dev/null
+++ b/platforms/rpi1/specialFunctions.sh
@@ -0,0 +1,130 @@
+#!/bin/bash
+
+#RPI partitionning :
+DEFAULT=""
+NEW_PART=n
+PRIMARY=p
+CHANGE_TYPE=t
+CHANGE_BOOTFLAG=a
+APPLY=w
+
+PART_BOOT=1
+PART_BOOT_FIRST_SECTOR=${DEFAULT}
+PART_BOOT_SIZE="+128M"
+
+PART_ROOT=2
+PART_ROOT_FIRST_SECTOR=${DEFAULT}
+PART_ROOT_SIZE=${DEFAULT}
+
+TYPE_FAT32LBA=c
+
+FDISK_SCRIPT="${NEW_PART}\n${PRIMARY}\n${PART_BOOT}\n${PART_BOOT_FIRST_SECTOR}\n${PART_BOOT_SIZE}\n${CHANGE_TYPE}\n${TYPE_FAT32LBA}\n${NEW_PART}\n${PRIMARY}\n${PART_ROOT}\n${PART_ROOT_FIRST_SECTOR}\n${PART_ROOT_SIZE}\n${CHANGE_BOOTFLAG}\n${PART_BOOT}\n${CHANGE_BOOTFLAG}\n${PART_ROOT}\n${APPLY}\n"
+
+
+function preImgCreation()
+{
+ title "Creating Pi image"
+
+ if ! [ -d "${FIRMWARE_PATH}/${FIRMWARE_DIR}" ]; then # the firmware directory does not exists
+ echo "$(ls *.zip| wc -l)"
+ if [ "$(ls *.zip| wc -l)" -eq 0 ]; then # the firmware archive does not exists
+ warning "The raspberry pi firmware need to be downloaded"
+ info "Downloading FIRMWARE_FILENAME"
+ wget ${FIRMWARE_DOWNLOAD_URL}
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error downloading raspberry firmware at ${FIRMWARE_DOWNLOAD_URL}: exiting"
+ exit 1
+ fi
+ fi
+ info "extracting firmware"
+ unzip -d "${FIRMWARE_PATH}" *.zip
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error unzipping ${FIRMWARE_PATH} : exiting"
+ exit 1
+ fi
+ fi
+
+ title "Making raspberry pi image"
+ return 0
+}
+
+
+function postPrepareChroot()
+{
+ #Nothing to do. (Except replacing default function.)
+ return 0
+}
+
+function bunrningBootloader()
+{
+ #Nothing to do. (Except replacing default function.)
+ return 0
+}
+
+
+function copyingCustomSystem()
+{
+ info "copying 10-vchiq-permissions.rules"
+ cp --preserve=mode "${CONFIG_PATH}/10-vchiq-permissions.rules" "${BUILD_PATH}/etc/udev/rules.d/"
+ info "Making /etc/modules"
+ echo -e "vchiq\nsnd_bcm2835\nvc4\nbrcmfmac" >> "${BUILD_PATH}"/etc/modules
+
+ ARM_BOOT="${BUILD_PATH}/mnt/arm_boot"
+ if ! [ -d "${ARM_BOOT}" ]; then
+ mkdir -p "${ARM_BOOT}"
+ fi
+ info "copying modprobe.conf"
+ /usr/bin/cp -v --preserve=mode "${CONFIG_PATH}/modprobe.conf" "${BUILD_PATH}/etc/"
+ chown root:root "${BUILD_PATH}/etc/modprobe.conf"
+
+ info "copying firmware, overlays in rpi boot partition"
+# cp -v --preserve=mode "${BUILD_PATH}/usr/lib/linux-"* "${BOOT}/dtb"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/start"* "${ARM_BOOT}/"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/fixup"* "${ARM_BOOT}/"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/bootcode.bin"* "${ARM_BOOT}/"
+ cp -vR --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/overlays" "${ARM_BOOT}/"
+
+ info "copying u-boot binary to ${ARM_BOOT}"
+ case ${TARGET_VERSION} in
+ "0")
+ info "copying u-boot for ${TARGET} 0"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_0_w/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "1")
+ info "copying u-boot for ${TARGET} 1"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "2")
+ info "copying u-boot for ${TARGET} 2"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_2/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "3_32")
+ info "copying u-boot for ${TARGET} 3 32 bits"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "3+")
+ info "copying u-boot for ${TARGET} 3b+ 32 bits"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ esac
+
+# info "copying raspberry optionals files in opt"
+# /bin/rsync -rlptDH "${FIRMWARE_PATH}/${FIRMWARE_DIR}/opt/" "${BUILD_PATH}/opt/"
+
+ info "copying wifi firmware file missing in kernel-firmware-nonfree"
+ if ! [ -d "${ROOT}/usr/lib/firmware/brcm/" ]; then
+ /bin/mkdir -p "${ROOT}/usr/lib/firmware/brcm/"
+ fi
+ if ! [ -f "${ROOT}/usr/lib/firmware/brcm/brcmfmac434"* ]; then
+ /bin/cp --preserve=mode "${CONFIG_PATH}/brcmfmac434"* "${ROOT}/usr/lib/firmware/brcm/"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error copying wifi firmware in ${ROOTP}/usr/lib/firmware/brcm/ : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+
+ info "copying Mageia image to root partition"
+ /bin/rsync -rlptogDH --exclude "${ARM_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/"
+ /bin/rsync -rlptogDH "${ARM_BOOT}/" "${BOOT}/"
+ return 0
+}
diff --git a/platforms/rpi2/mageia4arm.cfg~ b/platforms/rpi2/mageia4arm.cfg~
deleted file mode 100644
index e093329..0000000
--- a/platforms/rpi2/mageia4arm.cfg~
+++ /dev/null
@@ -1,57 +0,0 @@
-
-# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-MAGEIA_VERSION="7"
-ARM_VERSION="armv7hl"
-
-#target plateform (xu3-4 or rpi)
-TARGET="rpi"
-TARGET_VERSION="3"
-
-# URL of the Mageia mirror used to install ( see mirrors.mageia.org )
-MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/$MAGEIA_VERSION/$ARM_VERSION"
-#MIRROR="/mnt/STOCK/mageia/distrib/$MAGEIA_VERSION/$ARM_VERSION"
-# image will be created here
-
-INSTALL_PATH="/mnt/perso/raspi-test"
-
-# Build directory will be created here
-BUILD_PATH="$INSTALL_PATH/build"
-
-#name of the image
-IMAGE="Mageia-${MAGEIA_VERSION}-$TARGET.img"
-
-#Mount point of image's partitions
-BOOT="/mnt/boot"
-ROOT="/mnt/root"
-
-#Default user
-ID_USER="pi"
-PASSWORD="raspberry"
-
-#root password
-ROOT_PWD="piroot"
-
-#Hostname
-HOSTNAME="$TARGET.$ID_USER"
-
-#Filesystem of boot partitions (default ext4 raspberry pi need vfat)
-BOOTFS="vfat"
-
-#Path where the raspberry pi firmware is/will be installed
-FIRMWARE_PATH="$INSTALL_PATH"
-FIRMWARE_DIR="firmware-stable"
diff --git a/platforms/rpi2/specialFunctions.sh b/platforms/rpi2/specialFunctions.sh
new file mode 100755
index 0000000..97e25d4
--- /dev/null
+++ b/platforms/rpi2/specialFunctions.sh
@@ -0,0 +1,129 @@
+#!/bin/bash
+
+#RPI partitionning :
+DEFAULT=""
+NEW_PART=n
+PRIMARY=p
+CHANGE_TYPE=t
+CHANGE_BOOTFLAG=a
+APPLY=w
+
+PART_BOOT=1
+PART_BOOT_FIRST_SECTOR=${DEFAULT}
+PART_BOOT_SIZE="+128M"
+
+PART_ROOT=2
+PART_ROOT_FIRST_SECTOR=${DEFAULT}
+PART_ROOT_SIZE=${DEFAULT}
+
+TYPE_FAT32LBA=c
+
+FDISK_SCRIPT="${NEW_PART}\n${PRIMARY}\n${PART_BOOT}\n${PART_BOOT_FIRST_SECTOR}\n${PART_BOOT_SIZE}\n${CHANGE_TYPE}\n${TYPE_FAT32LBA}\n${NEW_PART}\n${PRIMARY}\n${PART_ROOT}\n${PART_ROOT_FIRST_SECTOR}\n${PART_ROOT_SIZE}\n${CHANGE_BOOTFLAG}\n${PART_BOOT}\n${CHANGE_BOOTFLAG}\n${PART_ROOT}\n${APPLY}\n"
+
+
+function preImgCreation()
+{
+ title "Creating Pi image"
+
+ if ! [ -d "${FIRMWARE_PATH}/${FIRMWARE_DIR}" ]; then # the firmware directory does not exists
+ echo "$(ls *.zip| wc -l)"
+ if [ "$(ls *.zip| wc -l)" -eq 0 ]; then # the firmware archive does not exists
+ warning "The raspberry pi firmware need to be downloaded"
+ info "Downloading FIRMWARE_FILENAME"
+ wget ${FIRMWARE_DOWNLOAD_URL}
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error downloading raspberry firmware at ${FIRMWARE_DOWNLOAD_URL}: exiting"
+ exit 1
+ fi
+ fi
+ info "extracting firmware"
+ unzip -d "${FIRMWARE_PATH}" *.zip
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error unzipping ${FIRMWARE_PATH} : exiting"
+ exit 1
+ fi
+ fi
+
+ title "Making raspberry pi image"
+ return 0
+}
+
+function postPrepareChroot()
+{
+ #Nothing to do. (Except replacing default function.)
+ return 0
+}
+
+function bunrningBootloader()
+{
+ #Nothing to do. (Except replacing default function.)
+ return 0
+}
+
+
+function copyingCustomSystem()
+{
+ info "copying 10-vchiq-permissions.rules"
+ cp --preserve=mode "${CONFIG_PATH}/10-vchiq-permissions.rules" "${BUILD_PATH}/etc/udev/rules.d/"
+ info "Making /etc/modules"
+ echo -e "vchiq\nsnd_bcm2835\nvc4\nbrcmfmac" >> "${BUILD_PATH}"/etc/modules
+
+ ARM_BOOT="${BUILD_PATH}/mnt/arm_boot"
+ if ! [ -d "${ARM_BOOT}" ]; then
+ mkdir -p "${ARM_BOOT}"
+ fi
+ info "copying modprobe.conf"
+ /usr/bin/cp -v --preserve=mode "${CONFIG_PATH}/modprobe.conf" "${BUILD_PATH}/etc/"
+ chown root:root "${BUILD_PATH}/etc/modprobe.conf"
+
+ info "copying firmware, overlays in rpi boot partition"
+# cp -v --preserve=mode "${BUILD_PATH}/usr/lib/linux-"* "${BOOT}/dtb"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/start"* "${ARM_BOOT}/"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/fixup"* "${ARM_BOOT}/"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/bootcode.bin"* "${ARM_BOOT}/"
+ cp -vR --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/overlays" "${ARM_BOOT}/"
+
+ info "copying u-boot binary to ${ARM_BOOT}"
+ case ${TARGET_VERSION} in
+ "0")
+ info "copying u-boot for ${TARGET} 0"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_0_w/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "1")
+ info "copying u-boot for ${TARGET} 1"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "2")
+ info "copying u-boot for ${TARGET} 2"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_2/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "3_32")
+ info "copying u-boot for ${TARGET} 3 32 bits"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "3+")
+ info "copying u-boot for ${TARGET} 3b+ 32 bits"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ esac
+
+# info "copying raspberry optionals files in opt"
+# /bin/rsync -rlptDH "${FIRMWARE_PATH}/${FIRMWARE_DIR}/opt/" "${BUILD_PATH}/opt/"
+
+ info "copying wifi firmware file missing in kernel-firmware-nonfree"
+ if ! [ -d "${ROOT}/usr/lib/firmware/brcm/" ]; then
+ /bin/mkdir -p "${ROOT}/usr/lib/firmware/brcm/"
+ fi
+ if ! [ -f "${ROOT}/usr/lib/firmware/brcm/brcmfmac434"* ]; then
+ /bin/cp --preserve=mode "${CONFIG_PATH}/brcmfmac434"* "${ROOT}/usr/lib/firmware/brcm/"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error copying wifi firmware in ${ROOTP}/usr/lib/firmware/brcm/ : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+
+ info "copying Mageia image to root partition"
+ /bin/rsync -rlptogDH --exclude "${ARM_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/"
+ /bin/rsync -rlptogDH "${ARM_BOOT}/" "${BOOT}/"
+ return 0
+}
diff --git a/platforms/rpi3+/mageia4arm.cfg~ b/platforms/rpi3+/mageia4arm.cfg~
deleted file mode 100644
index e093329..0000000
--- a/platforms/rpi3+/mageia4arm.cfg~
+++ /dev/null
@@ -1,57 +0,0 @@
-
-# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-MAGEIA_VERSION="7"
-ARM_VERSION="armv7hl"
-
-#target plateform (xu3-4 or rpi)
-TARGET="rpi"
-TARGET_VERSION="3"
-
-# URL of the Mageia mirror used to install ( see mirrors.mageia.org )
-MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/$MAGEIA_VERSION/$ARM_VERSION"
-#MIRROR="/mnt/STOCK/mageia/distrib/$MAGEIA_VERSION/$ARM_VERSION"
-# image will be created here
-
-INSTALL_PATH="/mnt/perso/raspi-test"
-
-# Build directory will be created here
-BUILD_PATH="$INSTALL_PATH/build"
-
-#name of the image
-IMAGE="Mageia-${MAGEIA_VERSION}-$TARGET.img"
-
-#Mount point of image's partitions
-BOOT="/mnt/boot"
-ROOT="/mnt/root"
-
-#Default user
-ID_USER="pi"
-PASSWORD="raspberry"
-
-#root password
-ROOT_PWD="piroot"
-
-#Hostname
-HOSTNAME="$TARGET.$ID_USER"
-
-#Filesystem of boot partitions (default ext4 raspberry pi need vfat)
-BOOTFS="vfat"
-
-#Path where the raspberry pi firmware is/will be installed
-FIRMWARE_PATH="$INSTALL_PATH"
-FIRMWARE_DIR="firmware-stable"
diff --git a/platforms/rpi3+/specialFunctions.sh b/platforms/rpi3+/specialFunctions.sh
new file mode 100755
index 0000000..34805d5
--- /dev/null
+++ b/platforms/rpi3+/specialFunctions.sh
@@ -0,0 +1,130 @@
+#!/bin/bash
+
+#RPI partitionning :
+DEFAULT=""
+NEW_PART=n
+PRIMARY=p
+CHANGE_TYPE=t
+CHANGE_BOOTFLAG=a
+APPLY=w
+
+PART_BOOT=1
+PART_BOOT_FIRST_SECTOR=${DEFAULT}
+PART_BOOT_SIZE="+128M"
+
+PART_ROOT=2
+PART_ROOT_FIRST_SECTOR=${DEFAULT}
+PART_ROOT_SIZE=${DEFAULT}
+
+TYPE_FAT32LBA=c
+
+FDISK_SCRIPT="${NEW_PART}\n${PRIMARY}\n${PART_BOOT}\n${PART_BOOT_FIRST_SECTOR}\n${PART_BOOT_SIZE}\n${CHANGE_TYPE}\n${TYPE_FAT32LBA}\n${NEW_PART}\n${PRIMARY}\n${PART_ROOT}\n${PART_ROOT_FIRST_SECTOR}\n${PART_ROOT_SIZE}\n${CHANGE_BOOTFLAG}\n${PART_BOOT}\n${CHANGE_BOOTFLAG}\n${PART_ROOT}\n${APPLY}\n"
+
+
+function preImgCreation()
+{
+ title "Creating Pi image"
+
+ if ! [ -d "${FIRMWARE_PATH}/${FIRMWARE_DIR}" ]; then # the firmware directory does not exists
+ echo "$(ls *.zip| wc -l)"
+ if [ "$(ls *.zip| wc -l)" -eq 0 ]; then # the firmware archive does not exists
+ warning "The raspberry pi firmware need to be downloaded"
+ info "Downloading FIRMWARE_FILENAME"
+ wget ${FIRMWARE_DOWNLOAD_URL}
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error downloading raspberry firmware at ${FIRMWARE_DOWNLOAD_URL}: exiting"
+ exit 1
+ fi
+ fi
+ info "extracting firmware"
+ unzip -d "${FIRMWARE_PATH}" *.zip
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error unzipping ${FIRMWARE_PATH} : exiting"
+ exit 1
+ fi
+ fi
+
+ title "Making raspberry pi image"
+ return 0
+}
+
+function postPrepareChroot()
+{
+ #Nothing to do. (Except replacing default function.)
+ return 0
+}
+
+
+function bunrningBootloader()
+{
+ #Nothing to do. (Except replacing default function.)
+ return 0
+}
+
+
+function copyingCustomSystem()
+{
+ info "copying 10-vchiq-permissions.rules"
+ cp --preserve=mode "${CONFIG_PATH}/10-vchiq-permissions.rules" "${BUILD_PATH}/etc/udev/rules.d/"
+ info "Making /etc/modules"
+ echo -e "vchiq\nsnd_bcm2835\nvc4\nbrcmfmac" >> "${BUILD_PATH}"/etc/modules
+
+ ARM_BOOT="${BUILD_PATH}/mnt/arm_boot"
+ if ! [ -d "${ARM_BOOT}" ]; then
+ mkdir -p "${ARM_BOOT}"
+ fi
+ info "copying modprobe.conf"
+ /usr/bin/cp -v --preserve=mode "${CONFIG_PATH}/modprobe.conf" "${BUILD_PATH}/etc/"
+ chown root:root "${BUILD_PATH}/etc/modprobe.conf"
+
+ info "copying firmware, overlays in rpi boot partition"
+# cp -v --preserve=mode "${BUILD_PATH}/usr/lib/linux-"* "${BOOT}/dtb"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/start"* "${ARM_BOOT}/"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/fixup"* "${ARM_BOOT}/"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/bootcode.bin"* "${ARM_BOOT}/"
+ cp -vR --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/overlays" "${ARM_BOOT}/"
+
+ info "copying u-boot binary to ${ARM_BOOT}"
+ case ${TARGET_VERSION} in
+ "0")
+ info "copying u-boot for ${TARGET} 0"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_0_w/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "1")
+ info "copying u-boot for ${TARGET} 1"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "2")
+ info "copying u-boot for ${TARGET} 2"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_2/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "3_32")
+ info "copying u-boot for ${TARGET} 3 32 bits"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "3+")
+ info "copying u-boot for ${TARGET} 3b+ 32 bits"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ esac
+
+# info "copying raspberry optionals files in opt"
+# /bin/rsync -rlptDH "${FIRMWARE_PATH}/${FIRMWARE_DIR}/opt/" "${BUILD_PATH}/opt/"
+
+ info "copying wifi firmware file missing in kernel-firmware-nonfree"
+ if ! [ -d "${ROOT}/usr/lib/firmware/brcm/" ]; then
+ /bin/mkdir -p "${ROOT}/usr/lib/firmware/brcm/"
+ fi
+ if ! [ -f "${ROOT}/usr/lib/firmware/brcm/brcmfmac434"* ]; then
+ /bin/cp --preserve=mode "${CONFIG_PATH}/brcmfmac434"* "${ROOT}/usr/lib/firmware/brcm/"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error copying wifi firmware in ${ROOTP}/usr/lib/firmware/brcm/ : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+
+ info "copying Mageia image to root partition"
+ /bin/rsync -rlptogDH --exclude "${ARM_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/"
+ /bin/rsync -rlptogDH "${ARM_BOOT}/" "${BOOT}/"
+ return 0
+}
diff --git a/platforms/rpi3/mageia4arm.cfg~ b/platforms/rpi3/mageia4arm.cfg~
deleted file mode 100644
index e093329..0000000
--- a/platforms/rpi3/mageia4arm.cfg~
+++ /dev/null
@@ -1,57 +0,0 @@
-
-# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-MAGEIA_VERSION="7"
-ARM_VERSION="armv7hl"
-
-#target plateform (xu3-4 or rpi)
-TARGET="rpi"
-TARGET_VERSION="3"
-
-# URL of the Mageia mirror used to install ( see mirrors.mageia.org )
-MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/$MAGEIA_VERSION/$ARM_VERSION"
-#MIRROR="/mnt/STOCK/mageia/distrib/$MAGEIA_VERSION/$ARM_VERSION"
-# image will be created here
-
-INSTALL_PATH="/mnt/perso/raspi-test"
-
-# Build directory will be created here
-BUILD_PATH="$INSTALL_PATH/build"
-
-#name of the image
-IMAGE="Mageia-${MAGEIA_VERSION}-$TARGET.img"
-
-#Mount point of image's partitions
-BOOT="/mnt/boot"
-ROOT="/mnt/root"
-
-#Default user
-ID_USER="pi"
-PASSWORD="raspberry"
-
-#root password
-ROOT_PWD="piroot"
-
-#Hostname
-HOSTNAME="$TARGET.$ID_USER"
-
-#Filesystem of boot partitions (default ext4 raspberry pi need vfat)
-BOOTFS="vfat"
-
-#Path where the raspberry pi firmware is/will be installed
-FIRMWARE_PATH="$INSTALL_PATH"
-FIRMWARE_DIR="firmware-stable"
diff --git a/platforms/rpi3/specialFunctions.sh b/platforms/rpi3/specialFunctions.sh
new file mode 100755
index 0000000..97e25d4
--- /dev/null
+++ b/platforms/rpi3/specialFunctions.sh
@@ -0,0 +1,129 @@
+#!/bin/bash
+
+#RPI partitionning :
+DEFAULT=""
+NEW_PART=n
+PRIMARY=p
+CHANGE_TYPE=t
+CHANGE_BOOTFLAG=a
+APPLY=w
+
+PART_BOOT=1
+PART_BOOT_FIRST_SECTOR=${DEFAULT}
+PART_BOOT_SIZE="+128M"
+
+PART_ROOT=2
+PART_ROOT_FIRST_SECTOR=${DEFAULT}
+PART_ROOT_SIZE=${DEFAULT}
+
+TYPE_FAT32LBA=c
+
+FDISK_SCRIPT="${NEW_PART}\n${PRIMARY}\n${PART_BOOT}\n${PART_BOOT_FIRST_SECTOR}\n${PART_BOOT_SIZE}\n${CHANGE_TYPE}\n${TYPE_FAT32LBA}\n${NEW_PART}\n${PRIMARY}\n${PART_ROOT}\n${PART_ROOT_FIRST_SECTOR}\n${PART_ROOT_SIZE}\n${CHANGE_BOOTFLAG}\n${PART_BOOT}\n${CHANGE_BOOTFLAG}\n${PART_ROOT}\n${APPLY}\n"
+
+
+function preImgCreation()
+{
+ title "Creating Pi image"
+
+ if ! [ -d "${FIRMWARE_PATH}/${FIRMWARE_DIR}" ]; then # the firmware directory does not exists
+ echo "$(ls *.zip| wc -l)"
+ if [ "$(ls *.zip| wc -l)" -eq 0 ]; then # the firmware archive does not exists
+ warning "The raspberry pi firmware need to be downloaded"
+ info "Downloading FIRMWARE_FILENAME"
+ wget ${FIRMWARE_DOWNLOAD_URL}
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error downloading raspberry firmware at ${FIRMWARE_DOWNLOAD_URL}: exiting"
+ exit 1
+ fi
+ fi
+ info "extracting firmware"
+ unzip -d "${FIRMWARE_PATH}" *.zip
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error unzipping ${FIRMWARE_PATH} : exiting"
+ exit 1
+ fi
+ fi
+
+ title "Making raspberry pi image"
+ return 0
+}
+
+function postPrepareChroot()
+{
+ #Nothing to do. (Except replacing default function.)
+ return 0
+}
+
+function bunrningBootloader()
+{
+ #Nothing to do. (Except replacing default function.)
+ return 0
+}
+
+
+function copyingCustomSystem()
+{
+ info "copying 10-vchiq-permissions.rules"
+ cp --preserve=mode "${CONFIG_PATH}/10-vchiq-permissions.rules" "${BUILD_PATH}/etc/udev/rules.d/"
+ info "Making /etc/modules"
+ echo -e "vchiq\nsnd_bcm2835\nvc4\nbrcmfmac" >> "${BUILD_PATH}"/etc/modules
+
+ ARM_BOOT="${BUILD_PATH}/mnt/arm_boot"
+ if ! [ -d "${ARM_BOOT}" ]; then
+ mkdir -p "${ARM_BOOT}"
+ fi
+ info "copying modprobe.conf"
+ /usr/bin/cp -v --preserve=mode "${CONFIG_PATH}/modprobe.conf" "${BUILD_PATH}/etc/"
+ chown root:root "${BUILD_PATH}/etc/modprobe.conf"
+
+ info "copying firmware, overlays in rpi boot partition"
+# cp -v --preserve=mode "${BUILD_PATH}/usr/lib/linux-"* "${BOOT}/dtb"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/start"* "${ARM_BOOT}/"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/fixup"* "${ARM_BOOT}/"
+ cp -v --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/bootcode.bin"* "${ARM_BOOT}/"
+ cp -vR --preserve=mode "${FIRMWARE_PATH}/${FIRMWARE_DIR}/boot/overlays" "${ARM_BOOT}/"
+
+ info "copying u-boot binary to ${ARM_BOOT}"
+ case ${TARGET_VERSION} in
+ "0")
+ info "copying u-boot for ${TARGET} 0"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_0_w/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "1")
+ info "copying u-boot for ${TARGET} 1"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "2")
+ info "copying u-boot for ${TARGET} 2"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_2/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "3_32")
+ info "copying u-boot for ${TARGET} 3 32 bits"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ "3+")
+ info "copying u-boot for ${TARGET} 3b+ 32 bits"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "${ARM_BOOT}/kernel.img"
+ ;;
+ esac
+
+# info "copying raspberry optionals files in opt"
+# /bin/rsync -rlptDH "${FIRMWARE_PATH}/${FIRMWARE_DIR}/opt/" "${BUILD_PATH}/opt/"
+
+ info "copying wifi firmware file missing in kernel-firmware-nonfree"
+ if ! [ -d "${ROOT}/usr/lib/firmware/brcm/" ]; then
+ /bin/mkdir -p "${ROOT}/usr/lib/firmware/brcm/"
+ fi
+ if ! [ -f "${ROOT}/usr/lib/firmware/brcm/brcmfmac434"* ]; then
+ /bin/cp --preserve=mode "${CONFIG_PATH}/brcmfmac434"* "${ROOT}/usr/lib/firmware/brcm/"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error copying wifi firmware in ${ROOTP}/usr/lib/firmware/brcm/ : exiting"
+ exit ${ERR_1}
+ fi
+ fi
+
+ info "copying Mageia image to root partition"
+ /bin/rsync -rlptogDH --exclude "${ARM_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/"
+ /bin/rsync -rlptogDH "${ARM_BOOT}/" "${BOOT}/"
+ return 0
+}
diff --git a/platforms/xu4/mageia4arm.cfg~ b/platforms/xu4/mageia4arm.cfg~
deleted file mode 100644
index 178b1fa..0000000
--- a/platforms/xu4/mageia4arm.cfg~
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-MAGEIA_VERSION="cauldron"
-ARM_VERSION="armv7hl"
-TARGET="xu4"
-
-# URL of the Mageia mirror used to install ( see mirrors.mageia.org )
-MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/$MAGEIA_VERSION/$ARM_VERSION"
-
-# image will be created here
-INSTALL_PATH="/mnt/perso/xu4-test/"
-
-# Build directory will be created here
-BUILD_PATH="$INSTALL_PATH/build"
-
-#name of the image
-IMAGE="Mageia-${MAGEIA_VERSION}-$TARGET.img"
-
-#Mount point of image's partitions
-BOOT="/mnt/boot_xu4"
-ROOT="/mnt/root_xu4"
-
-#Default user
-ID_USER="odroid"
-PASSWORD="xu4"
-
-#root password
-ROOT_PWD="odroid"
-
-#Hostname
-HOSTNAME="xu4.odroid"
-
-#Filesystem of boot partitions (default ext4)
-BOOTFS=ext4
-
-#kernel package to install
-KERNEL=kernel-odroid
diff --git a/platforms/xu4/second_stage_install.sh~ b/platforms/xu4/second_stage_install.sh~
deleted file mode 100644
index e78de1c..0000000
--- a/platforms/xu4/second_stage_install.sh~
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
-#
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-/usr/bin/chown :shadow /etc/shadow /etc/gshadow /etc/login.defs /etc/pam.d/chage-chfn-chsh /etc/pam.d/chpasswd-newusers /etc/pam.d/system-auth /etc/pam.d/user-group-mod /bin/passwd /bin/chage
-
-/usr/bin/chown :systemd-journal -R /var/log/journal
-
-#Install all packages you need
-
-/usr/sbin/urpmi --auto --no-verify-rpm /root/kernel-odroid-4.14.y-1.armv7hl.rpm basesystem chrony rng-tools man openssh-server rfkill wireless-tools bluez wpa_supplicant make dracut u-boot-tools rsync
-#/usr/sbin/urpmi --urpmi-root "$BUILD_PATH" --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 200
-
-/usr/bin/chown :chrony -R /etc/chrony.keys /var/log/chrony
-/usr/bin/chown :daemon /etc/wpa_supplicant.conf
-/usr/bin/chown :tty /bin/write /bin/wall
-/usr/bin/chown :lock /sbin/lockdev
-/usr/bin/chown :bin /sbin/traceroute
-/usr/bin/chown polkitd /etc/polkit-1/rules.d
-
diff --git a/platforms/xu4/specialFunctions.sh b/platforms/xu4/specialFunctions.sh
new file mode 100755
index 0000000..6b205bf
--- /dev/null
+++ b/platforms/xu4/specialFunctions.sh
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+#RPI partitionning :
+DEFAULT=""
+NEW_PART=n
+PRIMARY=p
+CHANGE_TYPE=t
+CHANGE_BOOTFLAG=a
+APPLY=w
+
+PART_BOOT=1
+PART_BOOT_FIRST_SECTOR=${DEFAULT}
+PART_BOOT_SIZE="+128M"
+
+PART_ROOT=2
+PART_ROOT_FIRST_SECTOR=${DEFAULT}
+PART_ROOT_SIZE=${DEFAULT}
+
+TYPE_FAT32LBA=c
+
+FDISK_SCRIPT="${NEW_PART}\n${PRIMARY}\n${PART_BOOT}\n${PART_BOOT_FIRST_SECTOR}\n${PART_BOOT_SIZE}\n${CHANGE_TYPE}\n${TYPE_FAT32LBA}\n${NEW_PART}\n${PRIMARY}\n${PART_ROOT}\n${PART_ROOT_FIRST_SECTOR}\n${PART_ROOT_SIZE}\n${CHANGE_BOOTFLAG}\n${PART_BOOT}\n${CHANGE_BOOTFLAG}\n${PART_ROOT}\n${APPLY}\n"
+
+
+function preImgCreation()
+{
+ title "Creating Odroid XU3-XU4 image"
+ return 0
+}
+
+
+function postPrepareChroot()
+{
+ #TEMPORARY CODE
+ #copying kernel odroid not existing in mageia repos
+ info "copying kernel-odroid and u-boot rpms in ${BUILD_PATH}/root"
+ #echo "/bin/cp ${CONFIG_PATH}/kernel-odroid-4.14.y-1.armv7hl.rpm ${BUILD_PATH}/root/"
+ /usr/bin/cp --preserve=mode "${CONFIG_PATH}/kernel-odroid-4.14.y-1.armv7hl.rpm" "${BUILD_PATH}/root/"
+ #echo "/bin/cp ${CONFIG_PATH}/u-boot-20180507-3.mga7.armv7hl.rpm ${BUILD_PATH}/root/"
+ /usr/bin/cp --preserve=mode "${CONFIG_PATH}/u-boot-20180507-3.mga7.armv7hl.rpm" "${BUILD_PATH}/root/"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error copying ${CONFIG_PATH}/kernel-odroid-4.14.y-1.armv7hl.rpm : exiting"
+ exit ${ERR_1}
+ fi
+ return 0
+}
+
+
+function bunrningBootloader()
+{
+ if [ ${TARGET} = "odroid" ]; then
+ info "installing blobs"
+ pushd "${CONFIG_PATH}/sd_fuse"
+ if [ ${?} -ne 0 ]; then
+ error "line ${LINENO} error directory ${CONFIG_PATH}/sd_fuse does not exists : exiting"
+ exit ${ERR_1}
+ else
+ ./sd_fusing.sh "${DEVICE}"
+ fi
+ pushd
+ fi
+ return 0
+}
+
+function copyingCustomSystem()
+{
+<<<<<<< HEAD
+# ODROID_BOOT="${BUILD_PATH}/mnt/odroid_boot"
+# if ! [ -d "${ODROID_BOOT}" ]; then
+# rm -rf "${ODROID_BOOT}"
+# mkdir -p "${ODROID_BOOT}"
+# fi
+=======
+ ODROID_BOOT="${BUILD_PATH}/mnt/odroid_boot"
+ if ! [ -d "${ODROID_BOOT}" ]; then
+ rm -rf "${ODROID_BOOT}"
+ mkdir -p "${ODROID_BOOT}"
+ fi
+>>>>>>> d7c2376925bec483811b4bdada1c415b5a333b91
+ case ${TARGET_VERSION} in
+ "xu4")
+ info "copying u-boot for ${TARGET} ${TARGET_VERSION}"
+ cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/${TARGET}-${TARGET_VERSION}/u-boot.bin" "${ARM_BOOT}/"
+ ;;
+ esac
+ ### temporary code waiting inclusion of xu4 in Mageia kernel and u-boot
+
+ info "Copying extlinux.conf on ${ODROID_BOOT}"
+ cp --preserve=mode -R "${BUILD_PATH}/boot/extlinux" "${ODROID_BOOT}/"
+<<<<<<< HEAD
+# info "copying Mageia image to root partition"
+# /bin/rsync -rlptogDH --exclude "${ODROID_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/"
+# /bin/rsync -rlptogDH "${ODROID_BOOT}/" "${BOOT}/"
+=======
+ info "copying Mageia image to root partition"
+ /bin/rsync -rlptogDH --exclude "${ODROID_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/"
+ /bin/rsync -rlptogDH "${ODROID_BOOT}/" "${BOOT}/"
+>>>>>>> d7c2376925bec483811b4bdada1c415b5a333b91
+ return 0
+}
+
diff --git a/tools/resize_root.sh b/tools/resize_root.sh
new file mode 100755
index 0000000..99aee12
--- /dev/null
+++ b/tools/resize_root.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+DEVICE="/dev/mmcblk0"
+ROOT_PARTITION="${DEVICE}p1"
+ROOT_PARTITION="1"
+
+echo "Warning : this an early version to resize the root partition. Check the source code to ensure what you are doing."
+if [ ${1} = "force" ]; then
+ #Check dependency
+ hash growpart
+ if [ ${?} -ne 0 ]; then
+ echo "install cloud-utils-growpart first. Hint : urpmi cloud-utils-growpart"
+ exit 1
+ fi
+
+ #Check the partition :
+ e2fsck -f ${ROOT_PARTITION}
+
+ #Change the size : BUG: app doesn't support "octet".
+ LC_ALL=C growpart ${DEVICE} ${ROOT_PARTITION}
+
+ #Resize the partition with the new size :
+ resize2fs ${ROOT_PARTITION}
+
+ #Sync (just to be sure)
+ sync
+else
+ echo "If you read the source code, you should not have read that message... Exiting with out touching the partition."
+fi
+
+#Quit
+exit 0