The OS image is created by a program called mkifs (make image filesystem), which accepts information from two main sources: its command line and a buildfile.