This thing works on debian, but you need to change /usr/bin/bash to /bin/bash.
I'll change this to just bash.
You need to take out the check for read in the python script, as that is built into debian.
Which read?
I ran into some problems with yum though:
Which xml template are you using? Which version of yum do you have? Which Debian version are you using?
[INFO ] GROUP_INSTALL_ERROR: Error Installing Some Package Groups Retry (y/n)?
What happens if you answer no here?
I'll generate an image right now for beaglebone and test if it builds correctly.