Cool. I'll give that a try and will see how it goes.
As stuff is compiling, I think I might know why that hack might have been needed.
When the script responsible for creating chroot-trusty is being run, it doesn't install libsystemd-daemon-dev and libsystemd-daemon0 automatically, so building one of the qubes components fails. Installing those manually in the chroot from the Trusty repositories works though, and make qubes-vm continues on to completion. (As an aside, assuming this is all being done in a Fedora VM, make install-deps fails to install PyYAML as part of the Fedora dependencies alongside rpm-build and such, so one also has to install that package manually in the build environment first as well).
However, my guess is that the same thing probably will happen during the make template stage since I commented out the hack (guess I'll find out soon when this thing is done).
After some research, I think this is all due to Ubuntu
not providing /lib/systemd/systemd binaries for anything before Utopic, even though
if you compile the base Debian package that Ubuntu uses yourself, it'll actually install the /lib/systemd/systemd binary. There is a systemd-services package, but it lacks a /lib/systemd/systemd binary.
As it stands right now, if you want the real systemd running in Trusty, you have to install it via a) a third-party ppa, b) compile it from Debian source or (what probably happened in this case) c) grab it from Utopic.
So I guess my question now is: Does the qubes-specific stuff need systemd to be installed in the template for it to run properly later on? If not, how do I get around the libsystemd-daemon-dev requirement when make qubes-vm is being run? Is it safe to remove it like I did with locales-all?
And if the qubes-specific stuff does need systemd, then how do I make it so that the build scripts pull in libsystemd-daemon-dev and libsystemd-daemon0 from the Utopic sources when it's creating chroot-trusty during the make vm stage (it'll compile fine with the Trusty versions, but I'm willing to be that's why I got the systemd conflict error later on when building the template when I realized that make template was failing because the UWaterloo mirror was down and fixed the Utopic repository entry)? I suppose I could download those packages from a Utopic repository myself and manually install them in the chroot, but it would be nice if all of this could be automated.
Thanks!