debug ${INSTALL_PATH}
This commit is contained in:
parent
eeda4f38f5
commit
7759ecc296
6
create_arm_img_urpmi.sh
Normal file → Executable file
6
create_arm_img_urpmi.sh
Normal file → Executable file
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash +x
|
||||||
|
|
||||||
# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
|
# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
|
||||||
#
|
#
|
||||||
@ -666,8 +666,8 @@ info ${0}
|
|||||||
#fi
|
#fi
|
||||||
|
|
||||||
SOURCE_PATH="$(/bin/dirname "$(readlink -f "${0}")")"
|
SOURCE_PATH="$(/bin/dirname "$(readlink -f "${0}")")"
|
||||||
INSTALL_PATH="${SOURCE_PATH}/arm"
|
INSTALL_PATH="$(pwd)/build"
|
||||||
FILES_PATH="${SOURCE_PATH}/files"
|
# FILES_PATH="${SOURCE_PATH}/files"
|
||||||
PLATFORMS_PATH="${SOURCE_PATH}/platforms"
|
PLATFORMS_PATH="${SOURCE_PATH}/platforms"
|
||||||
|
|
||||||
CMDNAME=$(/bin/basename "${0}")
|
CMDNAME=$(/bin/basename "${0}")
|
||||||
|
527
log/creation.log
527
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
|
partition: /dev/loop0p1, disk: /dev/loop0, lower: 1, upper: 1
|
||||||
/dev/loop0: partition #1 removed
|
/dev/loop0: partition #1 removed
|
||||||
loop deleted : /dev/loop0
|
loop deleted : /dev/loop0
|
||||||
|
bash: ./create_arm_img_urpmi.sh: Permission non accordée
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: ./bananaPro[0m
|
||||||
|
[36mBuild path: ./bananaPro/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : ./bananaPro/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd ./bananaPro[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
/usr/bin/df: ./bananaPro: No such file or directory
|
||||||
|
[36mFree disk space: G[0m
|
||||||
|
./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
|
||||||
|
[1;31mline 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting[0m
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: ./bananaPro[0m
|
||||||
|
[36mBuild path: ./bananaPro/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : ./bananaPro/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd ./bananaPro[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
/usr/bin/df: ./bananaPro: No such file or directory
|
||||||
|
[36mFree disk space: G[0m
|
||||||
|
./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
|
||||||
|
[1;31mline 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting[0m
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
/home/jibz/workspaces/mageia4arm
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: ./bananaPro[0m
|
||||||
|
[36mBuild path: ./bananaPro/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : ./bananaPro/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd ./bananaPro[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
/usr/bin/df: ./bananaPro: No such file or directory
|
||||||
|
[36mFree disk space: G[0m
|
||||||
|
./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
|
||||||
|
[1;31mline 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting[0m
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
/home/jibz/workspaces/mageia4arm
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: ./bananaPro[0m
|
||||||
|
[36mBuild path: ./bananaPro/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : ./bananaPro/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd ./bananaPro[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
/usr/bin/df: ./bananaPro: No such file or directory
|
||||||
|
[36mFree disk space: G[0m
|
||||||
|
./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
|
||||||
|
[1;31mline 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting[0m
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
/home/jibz/workspaces/mageia4arm
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: ./bananaPro[0m
|
||||||
|
[36mBuild path: ./bananaPro/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : ./bananaPro/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd ./bananaPro[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
/usr/bin/df: ./bananaPro: No such file or directory
|
||||||
|
[36mFree disk space: G[0m
|
||||||
|
./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
|
||||||
|
[1;31mline 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting[0m
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
/home/jibz/workspaces/mageia4arm
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: ./bananaPro[0m
|
||||||
|
[36mBuild path: ./bananaPro/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : ./bananaPro/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd ./bananaPro[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
/usr/bin/df: ./bananaPro: No such file or directory
|
||||||
|
[36mFree disk space: G[0m
|
||||||
|
./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
|
||||||
|
[1;31mline 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting[0m
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
/home/jibz/workspaces/mageia4arm
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: ./bananaPro[0m
|
||||||
|
[36mBuild path: ./bananaPro/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : ./bananaPro/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd ./bananaPro[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
/usr/bin/df: ./bananaPro: No such file or directory
|
||||||
|
[36mFree disk space: G[0m
|
||||||
|
./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
|
||||||
|
[1;31mline 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting[0m
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
/home/jibz/workspaces/mageia4arm
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: ./bananaPro[0m
|
||||||
|
[36mBuild path: ./bananaPro/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : ./bananaPro/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd ./bananaPro[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
/usr/bin/df: ./bananaPro: No such file or directory
|
||||||
|
[36mFree disk space: G[0m
|
||||||
|
./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
|
||||||
|
[1;31mline 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting[0m
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
/home/jibz/workspaces/mageia4arm
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: ./bananaPro[0m
|
||||||
|
[36mBuild path: ./bananaPro/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : ./bananaPro/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd ./bananaPro[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
/usr/bin/df: ./bananaPro: No such file or directory
|
||||||
|
[36mFree disk space: G[0m
|
||||||
|
./create_arm_img_urpmi.sh: line 73: [: -lt: unary operator expected
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
/bin/dd: failed to open './bananaPro/Mageia-7-bananaPro1.img': No such file or directory
|
||||||
|
[1;31mline 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting[0m
|
||||||
|
+ 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'
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
+++ 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'
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
+ 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'
|
||||||
|
[36mOption: all[0m
|
||||||
|
+ 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'
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
+ info 'target_version : 1'
|
||||||
|
+ echo -e '\e[36mtarget_version : 1\e[0m'
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
+ info 'source path: /home/jibz/workspaces/mageia4arm'
|
||||||
|
+ echo -e '\e[36msource path: /home/jibz/workspaces/mageia4arm\e[0m'
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
+ info 'Install path: ./bananaPro'
|
||||||
|
+ echo -e '\e[36mInstall path: ./bananaPro\e[0m'
|
||||||
|
[36mInstall path: ./bananaPro[0m
|
||||||
|
+ info 'Build path: ./bananaPro/build-bananaPro1'
|
||||||
|
+ echo -e '\e[36mBuild path: ./bananaPro/build-bananaPro1\e[0m'
|
||||||
|
[36mBuild path: ./bananaPro/build-bananaPro1[0m
|
||||||
|
+ info 'Commande : create_arm_img_urpmi.sh'
|
||||||
|
+ echo -e '\e[36mCommande : create_arm_img_urpmi.sh\e[0m'
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
+ info 'Firmware path : ./bananaPro/'
|
||||||
|
+ echo -e '\e[36mFirmware path : ./bananaPro/\e[0m'
|
||||||
|
[36mFirmware path : ./bananaPro/[0m
|
||||||
|
+ info 'Firmware dir : '
|
||||||
|
+ echo -e '\e[36mFirmware dir : \e[0m'
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
+ [[ 2 -lt 2 ]]
|
||||||
|
+ [[ 2 -gt 128 ]]
|
||||||
|
+ '[' all '!=' clean ']'
|
||||||
|
+ info 'cd ./bananaPro'
|
||||||
|
+ echo -e '\e[36mcd ./bananaPro\e[0m'
|
||||||
|
[36mcd ./bananaPro[0m
|
||||||
|
+ '[' -e ./bananaPro ']'
|
||||||
|
+ cd ./bananaPro
|
||||||
|
+ '[' -z 0 ']'
|
||||||
|
+ '[' -z all ']'
|
||||||
|
+ info 'Image size is: 2 GB'
|
||||||
|
+ echo -e '\e[36mImage size is: 2 GB\e[0m'
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
+ 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'
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
++ /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'
|
||||||
|
[36mFree disk space: G[0m
|
||||||
|
+ '[' -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'
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
+ preImgCreation
|
||||||
|
+ title 'Creating Banana Pro image'
|
||||||
|
+ echo -e '\e[1;32mCreating Banana Pro image\e[0m'
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
+ return 0
|
||||||
|
+ '[' 0 -ne 0 ']'
|
||||||
|
+ createimage
|
||||||
|
+ title ' in Mageia-7-bananaPro1.img'
|
||||||
|
+ echo -e '\e[1;32m in Mageia-7-bananaPro1.img\e[0m'
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
+ '[' -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'
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
+ /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'
|
||||||
|
[1;31mline 337 can't make image at ./bananaPro/Mageia-7-bananaPro1.img : exiting[0m
|
||||||
|
+ exit 1
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
/home/jibz/workspaces/mageia4arm
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: /home/jibz/workspaces/mageia4arm/arm[0m
|
||||||
|
[36mBuild path: /home/jibz/workspaces/mageia4arm/arm/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : /home/jibz/workspaces/mageia4arm/arm/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd /home/jibz/workspaces/mageia4arm/arm[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
[36mFree disk space: 26G[0m
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
2048+0 records in
|
||||||
|
2048+0 records out
|
||||||
|
2048000000 bytes (2.0 GB, 1.9 GiB) copied, 1.41863 s, 1.4 GB/s
|
||||||
|
[1;32mLooping image ...[0m
|
||||||
|
losetup: /home/jibz/workspaces/mageia4arm/arm/Mageia-7-bananaPro1.img: failed to set up loop device: Permission denied
|
||||||
|
[1;32mBurning the bootloader...[0m
|
||||||
|
dd: failed to open '': No such file or directory
|
||||||
|
[36mmaking partitions[0m
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
/home/jibz/workspaces/mageia4arm
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: /home/jibz/workspaces/mageia4arm/build[0m
|
||||||
|
[36mBuild path: /home/jibz/workspaces/mageia4arm/build/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : /home/jibz/workspaces/mageia4arm/build/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd /home/jibz/workspaces/mageia4arm/build[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
[36mFree disk space: 24G[0m
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
2048+0 records in
|
||||||
|
2048+0 records out
|
||||||
|
2048000000 bytes (2.0 GB, 1.9 GiB) copied, 1.41166 s, 1.5 GB/s
|
||||||
|
[1;32mLooping image ...[0m
|
||||||
|
losetup: /home/jibz/workspaces/mageia4arm/build/Mageia-7-bananaPro1.img: failed to set up loop device: Permission denied
|
||||||
|
[1;32mBurning the bootloader...[0m
|
||||||
|
dd: failed to open '': No such file or directory
|
||||||
|
[36mmaking partitions[0m
|
||||||
|
fdisk: bad usage
|
||||||
|
Try 'fdisk --help' for more information.
|
||||||
|
./create_arm_img_urpmi.sh: line 353: partx: command not found
|
||||||
|
[36mFormatting partitions[0m
|
||||||
|
[36mRoot : p1 as ext4[0m
|
||||||
|
mke2fs 1.45.4 (23-Sep-2019)
|
||||||
|
The file p1 does not exist and no size was specified.
|
||||||
|
[1;31mline 398 error formating p1 : exiting[0m
|
||||||
|
losetup: : failed to use device: No such device
|
||||||
|
[36m./create_arm_img_urpmi.sh[0m
|
||||||
|
--all --target 'bananaPro' --size '2' --tainted --nonfree --config 'bananaPro' --
|
||||||
|
[36musing /home/jibz/workspaces/mageia4arm/platforms/bananaPro/mageia4arm.cfg as config[0m
|
||||||
|
[36mOption: all[0m
|
||||||
|
/home/jibz/workspaces/mageia4arm
|
||||||
|
[36mtarget : bananaPro[0m
|
||||||
|
[36mtarget_version : 1[0m
|
||||||
|
[36msource path: /home/jibz/workspaces/mageia4arm[0m
|
||||||
|
[36mInstall path: /home/jibz/workspaces/mageia4arm/build[0m
|
||||||
|
[36mBuild path: /home/jibz/workspaces/mageia4arm/build/build-bananaPro1[0m
|
||||||
|
[36mCommande : create_arm_img_urpmi.sh[0m
|
||||||
|
[36mFirmware path : /home/jibz/workspaces/mageia4arm/build/[0m
|
||||||
|
[36mFirmware dir : [0m
|
||||||
|
[36mcd /home/jibz/workspaces/mageia4arm/build[0m
|
||||||
|
[36mImage size is: 2 GB[0m
|
||||||
|
[1;32mVerifying if there is enough space on disk to make the image[0m
|
||||||
|
[36mFree disk space: 26G[0m
|
||||||
|
[1;32mWrap image creation[0m
|
||||||
|
[1;32mCreating Banana Pro image[0m
|
||||||
|
[1;32m in Mageia-7-bananaPro1.img[0m
|
||||||
|
[1;35mplease wait until end of image creation[0m
|
||||||
|
2048+0 records in
|
||||||
|
2048+0 records out
|
||||||
|
2048000000 bytes (2.0 GB, 1.9 GiB) copied, 1.37191 s, 1.5 GB/s
|
||||||
|
[1;32mLooping image ...[0m
|
||||||
|
losetup: /home/jibz/workspaces/mageia4arm/build/Mageia-7-bananaPro1.img: failed to set up loop device: Permission denied
|
||||||
|
[1;32mBurning the bootloader...[0m
|
||||||
|
dd: failed to open '': No such file or directory
|
||||||
|
[36mmaking partitions[0m
|
||||||
|
fdisk: bad usage
|
||||||
|
Try 'fdisk --help' for more information.
|
||||||
|
./create_arm_img_urpmi.sh: line 353: partx: command not found
|
||||||
|
[36mFormatting partitions[0m
|
||||||
|
[36mRoot : p1 as ext4[0m
|
||||||
|
mke2fs 1.45.4 (23-Sep-2019)
|
||||||
|
The file p1 does not exist and no size was specified.
|
||||||
|
[1;31mline 398 error formating p1 : exiting[0m
|
||||||
|
losetup: : failed to use device: No such device
|
||||||
|
@ -38,7 +38,8 @@ MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/${MAGEIA_VERSION}/${ARM_VE
|
|||||||
|
|
||||||
# image will be created here
|
# image will be created here
|
||||||
# TO MODIFY
|
# 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 directory will be created here
|
||||||
BUILD_PATH="${INSTALL_PATH}/build"
|
BUILD_PATH="${INSTALL_PATH}/build"
|
||||||
|
Reference in New Issue
Block a user