diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh old mode 100644 new mode 100755 index 8626dfc..32c8af4 --- a/create_arm_img_urpmi.sh +++ b/create_arm_img_urpmi.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash +x # Copyright (C) 2017-2018 Daniel Tartavel-jeannot # @@ -666,8 +666,8 @@ info ${0} #fi SOURCE_PATH="$(/bin/dirname "$(readlink -f "${0}")")" -INSTALL_PATH="${SOURCE_PATH}/arm" -FILES_PATH="${SOURCE_PATH}/files" +INSTALL_PATH="$(pwd)/build" +# FILES_PATH="${SOURCE_PATH}/files" PLATFORMS_PATH="${SOURCE_PATH}/platforms" CMDNAME=$(/bin/basename "${0}") diff --git a/log/creation.log b/log/creation.log index c8138e8..9d6d3f5 100644 --- a/log/creation.log +++ b/log/creation.log @@ -1034,3 +1034,530 @@ adding medium "Tainted Backports Testing Debug" (ignored by default) 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/mageia4arm.cfg b/platforms/bananaPro/mageia4arm.cfg index 73e298f..cb1925b 100644 --- a/platforms/bananaPro/mageia4arm.cfg +++ b/platforms/bananaPro/mageia4arm.cfg @@ -38,7 +38,8 @@ MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/${MAGEIA_VERSION}/${ARM_VE # image will be created here # TO MODIFY -INSTALL_PATH="./${TARGET}" +# 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"