The Mass-Luminosity relationship, interestingly enough, can be roughly dervied without specifying how stars generate energy! It turns out that the form of the Mass-Luminosity relation depends upon how energy is moved around inside of a star, i.e., it depends upon how easily energy can flow from the core of the star to the surface of the star. To get a feel for why this comes about, we will perform a rough and ready analysis of the energy flow between regions of differing temperatures.
energy flows from Region 1 ===> Region 2
Now note that:
We assumed that the star only produces energy near its center from where the energy then simply works its way outward to the surface of the star.
So that we have
L ~ M**3/opacity !!!!
We arrived at this relation without having to specify how the star produced energy, we only required that the star produce energy the bulk of its luminosity in its core.