I managed to build a image that boots on the pine64+. The only thing I did was as you told me. I made a profiel "pine64" with following content:
## Maintained by Strit
# Kernel and bootloader stuff
# Other device specific packages
# Video drivers
And in the functions.sh I added [[ "$DEVICE" = "pine64" ]] where also the pineboot, sopine, etc where mentioned.
I build the image, burned it to SD and it booted. I must say it only booted on my second try. The first image I build didn't boot. I don't know why. I started fresh again and did try I second time and then it worked. Maybe the first time it was just a bad flash.
Thanks for the help and your scripts. Now I will explore it some more and play a little with the profile scripts.