In addition to the changes from #6933 this handles cases that could be matched with the included cocci file.
v2: - also mention m4
This adds a generator and a small service that will look for "roothash=" on the kernel command line and use it for setting up a very partition for the root device. This provides similar functionality to nspawn's existing --roothash= switch.