{"action":"opened","issue":{"url":"https://api.github.com/repos/spartacus06/rpi2-fedora-image-builder/issues/10","labels_url":"https://api.github.com/repos/spartacus06/rpi2-fedora-image-builder/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/spartacus06/rpi2-fedora-image-builder/issues/10/comments","events_url":"https://api.github.com/repos/spartacus06/rpi2-fedora-image-builder/issues/10/events","html_url":"https://github.com/spartacus06/rpi2-fedora-image-builder/issues/10","id":90494902,"number":10,"title":"uuid file not found","user":{"login":"scud4b","id":13021014,"avatar_url":"https://avatars.githubusercontent.com/u/13021014?v=3","gravatar_id":"","url":"https://api.github.com/users/scud4b","html_url":"https://github.com/scud4b","followers_url":"https://api.github.com/users/scud4b/followers","following_url":"https://api.github.com/users/scud4b/following{/other_user}","gists_url":"https://api.github.com/users/scud4b/gists{/gist_id}","starred_url":"https://api.github.com/users/scud4b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scud4b/subscriptions","organizations_url":"https://api.github.com/users/scud4b/orgs","repos_url":"https://api.github.com/users/scud4b/repos","events_url":"https://api.github.com/users/scud4b/events{/privacy}","received_events_url":"https://api.github.com/users/scud4b/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-23T21:28:50Z","updated_at":"2015-06-23T21:28:50Z","closed_at":null,"body":"hello spartacus06,\r\n\r\nFirst of all thank you for this script and the job you've done around, Fedora needs this one specially for no technical person like me , for sure :)\r\n\r\nSo actually i get an error during the mkimage.sh's script saying that the file uuid can't be found although it's there :/\r\nSince i don't find the reason i decided to sign up to Git and report the bug, or may be the problem comes from me but i don't know what i am doing wrong, i hope you can me a clue .\r\n\r\nSee what i've got when i run the mkimage.sh script with the -x argument :\r\n\r\n-->> rpi2-fedora-image-builder\r\n> ls\r\nsample-resources/  scripts/  clean.sh*  Fedora-Minimal-armhfp-22-3-sda.raw.xz  LICENSE  mkimage.sh*  README.md  settings.conf.example\r\n-->> rpi2-fedora-image-builder\r\n> sudo sh -x mkimage.sh \r\n[sudo] password for scud4b: \r\n+ set -u\r\n+++ readlink -f mkimage.sh\r\n++ dirname /home/scud4b/git/rpi2-fedora-image-builder/mkimage.sh\r\n+ SCRIPTDIR=/home/scud4b/git/rpi2-fedora-image-builder\r\n+ export RESOURCEDIR=/home/scud4b/git/rpi2-fedora-image-builder/resources\r\n+ RESOURCEDIR=/home/scud4b/git/rpi2-fedora-image-builder/resources\r\n+ export MNTDIR=/home/scud4b/git/rpi2-fedora-image-builder/mnt\r\n+ MNTDIR=/home/scud4b/git/rpi2-fedora-image-builder/mnt\r\n+ [[ -d /home/scud4b/git/rpi2-fedora-image-builder/resources ]]\r\n+ mkdir /home/scud4b/git/rpi2-fedora-image-builder/resources\r\n+ [[ -d /home/scud4b/git/rpi2-fedora-image-builder/mnt ]]\r\n+ mkdir /home/scud4b/git/rpi2-fedora-image-builder/mnt\r\n+ IMAGEURL=http://mirror.pnl.gov/fedora/linux/releases/22/Images/armhfp/Fedora-Minimal-armhfp-22-3-sda.raw.xz\r\n+ BOOTSIZE=100\r\n+ ROOTSIZE=1800\r\n+ COMPRESS=0\r\n+ [[ ! -f settings.conf ]]\r\n+ echo 'No settings.conf found, using defaults'\r\nNo settings.conf found, using defaults\r\n+ IMAGEFILE=Fedora-Minimal-armhfp-22-3-sda.raw.xz\r\n+ IMAGEFILE=Fedora-Minimal-armhfp-22-3-sda.raw\r\n+ echo 'BOOTSIZE is 100 MB'\r\nBOOTSIZE is 100 MB\r\n+ echo 'ROOTSIZE is 1800 MB'\r\nROOTSIZE is 1800 MB\r\n+ echo 'IMAGEFILE is Fedora-Minimal-armhfp-22-3-sda.raw'\r\nIMAGEFILE is Fedora-Minimal-armhfp-22-3-sda.raw\r\n+ rm -f root.img boot.img Fedora-Minimal-armhfp-22-3-sda.raw.img\r\n+ [[ ! -f Fedora-Minimal-armhfp-22-3-sda.raw.xz ]]\r\n+ [[ ! -f Fedora-Minimal-armhfp-22-3-sda.raw ]]\r\n+ echo 'Extracting image...'\r\nExtracting image...\r\n+ xzdec Fedora-Minimal-armhfp-22-3-sda.raw.xz\r\n++ tail -n 1\r\n++ partx --show Fedora-Minimal-armhfp-22-3-sda.raw\r\n++ awk '{print $2}'\r\n+ ROOTOFFSET=1087488\r\n+ echo 'Extracting rootfs...'\r\nExtracting rootfs...\r\n+ dd if=Fedora-Minimal-armhfp-22-3-sda.raw bs=512 skip=1087488 of=root.img\r\n+ echo 'Creating boot partition...'\r\nCreating boot partition...\r\n+ BOOTSIZE_MB=100M\r\n+ truncate -s 100M boot.img\r\n+ mkfs.vfat boot.img\r\n+ echo 'Mounting boot filesystem...'\r\nMounting boot filesystem...\r\n+ sudo mount boot.img /home/scud4b/git/rpi2-fedora-image-builder/mnt\r\n+ echo 'Calling boot scripts...'\r\nCalling boot scripts...\r\n+ for i in 'scripts/boot/*.sh'\r\n+ [[ -x scripts/boot/10_firmware.sh ]]\r\n+ echo scripts/boot/10_firmware.sh\r\nscripts/boot/10_firmware.sh\r\n+ bash scripts/boot/10_firmware.sh\r\nCloning firmware repo...\r\nClonage dans 'firmware'...\r\nremote: Counting objects: 3916, done.\r\nremote: Compressing objects: 100% (2098/2098), done.\r\nremote: Total 3916 (delta 1657), reused 2332 (delta 1537), pack-reused 0\r\nRéception d'objets: 100% (3916/3916), 74.05 MiB | 1.39 MiB/s, fait.\r\nRésolution des deltas: 100% (1657/1657), fait.\r\nVérification de la connectivité... fait.\r\nExtraction des fichiers: 100% (3654/3654), fait.\r\nCopying boot files...\r\n+ RET=0\r\n+ [[ 0 -ne 0 ]]\r\n+ for i in 'scripts/boot/*.sh'\r\n+ [[ -x scripts/boot/20_config.sh ]]\r\n+ echo scripts/boot/20_config.sh\r\nscripts/boot/20_config.sh\r\n+ bash scripts/boot/20_config.sh\r\n+ RET=0\r\n+ [[ 0 -ne 0 ]]\r\n+ [[ 0 -ne 0 ]]\r\n+ echo 'Unmounting boot filesystem...'\r\nUnmounting boot filesystem...\r\n+ sudo umount /home/scud4b/git/rpi2-fedora-image-builder/mnt\r\n+ echo 'Preparing root partition...'\r\nPreparing root partition...\r\n+ grep XFS\r\n+ file root.img\r\n+ e2fsck -fp root.img\r\n+ ROOTSIZE_MB=1800M\r\n+ resize2fs root.img 1800M\r\nresize2fs 1.42.12 (29-Aug-2014)\r\n+ truncate -s 1800M root.img\r\n+ echo 'Mounting root filesystem...'\r\nMounting root filesystem...\r\n+ sudo mount root.img /home/scud4b/git/rpi2-fedora-image-builder/mnt\r\n+ blkid -o export root.img\r\n+ . uuid\r\nmkimage.sh: ligne 91 : .: uuid : fichier introuvable (meaning file not found in english)\r\n\r\n\r\nBut as you can see the file uuid is here: \r\n-->> rpi2-fedora-image-builder\r\n> ls\r\nmnt/        sample-resources/  boot.img   Fedora-Minimal-armhfp-22-3-sda.raw     LICENSE      README.md  settings.conf.example\r\nresources/  scripts/           clean.sh*  Fedora-Minimal-armhfp-22-3-sda.raw.xz  mkimage.sh*  root.img   uuid\r\n->> rpi2-fedora-image-builder\r\n> ls -lh\r\ntotal 3,2G\r\ndrwxr-xr-x. 2 root    root    4,0K 23.06.2015 18:42 mnt/\r\ndrwxr-xr-x. 3 root    root    4,0K 23.06.2015 18:43 resources/\r\ndrwxrwxr-x. 2 scud4b scud4b 4,0K 23.06.2015 18:37 sample-resources/\r\ndrwxrwxr-x. 4 scud4b scud4b 4,0K 23.06.2015 18:37 scripts/\r\n-rw-r--r--. 1 root    root    100M 23.06.2015 18:44 boot.img\r\n-rwxrwxr-x. 1 scud4b scud4b   69 23.06.2015 18:37 clean.sh*\r\n-rw-r--r--. 1 root    root    1,8G 23.06.2015 18:43 Fedora-Minimal-armhfp-22-3-sda.raw\r\n-rw-rw-r--. 1 scud4b scud4b 288M 21.06.2015 22:34 Fedora-Minimal-armhfp-22-3-sda.raw.xz\r\n-rw-rw-r--. 1 scud4b scud4b 1,1K 23.06.2015 18:37 LICENSE\r\n-rwxrwxr-x. 1 scud4b scud4b 3,5K 23.06.2015 18:37 mkimage.sh*\r\n-rw-rw-r--. 1 scud4b scud4b 2,5K 23.06.2015 18:37 README.md\r\n-rw-r--r--. 1 root    root    1,8G 23.06.2015 19:58 root.img\r\n-rw-rw-r--. 1 scud4b scud4b  161 23.06.2015 18:37 settings.conf.example\r\n-rw-r--r--. 1 root    root      78 23.06.2015 18:44 uuid\r\n-->> rpi2-fedora-image-builder\r\n> df -h\r\nSys. de fichiers Taille Utilisé Dispo Uti% Monté sur\r\ndevtmpfs           1,5G       0  1,5G   0% /dev\r\ntmpfs              1,5G     72K  1,5G   1% /dev/shm\r\ntmpfs              1,5G    1,1M  1,5G   1% /run\r\ntmpfs              1,5G       0  1,5G   0% /sys/fs/cgroup\r\n/dev/sda7           20G     15G  3,2G  83% /\r\ntmpfs              1,5G    2,6M  1,5G   1% /tmp\r\ntmpfs              303M       0  303M   0% /run/user/991\r\ntmpfs              303M     12K  303M   1% /run/user/1000\r\n/dev/loop0         1,7G    761M  944M  45% /home/scud4b/git/rpi2-fedora-image-builder/mnt\r\n-->> rpi2-fedora-image-builder\r\n> cat uuid \r\nDEVNAME=root.img\r\nLABEL=_/\r\nUUID=7c321d6b-f2b0-4783-9576-e3dfe657f9b3\r\nTYPE=ext4\r\n\r\n### Info system ###\r\n-->> rpi2-fedora-image-builder\r\n> groups\r\nscud4b wheel\r\n-->> rpi2-fedora-image-builder\r\n> inxi -S -! 31\r\nSystem:    Kernel: 4.0.5-300.fc22.i686 i686 (32 bit) Desktop: Xfce 4.12.2 Distro: Fedora release 22 (Twenty Two)\r\n\r\nThanks by advance for your help"}}