  Computer systems used in the field of humanitarian technology are often based
on general-purpose single-board computers, such as Raspberry Pis. While these
systems offer great flexibility for developers and users, configuration and
deployment either introduces overhead by executing scripts on multiple devices
or requires deeper technical understanding when building operating system
images for such small computers from scratch. In this paper, we present PIMOD,
a software tool for configuring operating system images for single-board
computer systems. We propose a simple yet comprehensive configuration language.
In a configuration profile, called Pifile, a small set of commands is used to
describe the configuration of an operating system image. Virtualization
techniques are used during the execution of the profile in order to be
distribution and platform independent. Commands can be issued in the guest
operating system, providing access to the distribution specific tools, e.g., to
configure hardware parameters. The implementation of PIMOD is made public under
a free and open source license. PIMOD is evaluated in terms of user benefits,
performance compared to on-system configuration, and applicability across
different hardware platforms and operating systems.
