Need to use sudo when building an image to a partition on Linux et al
|Reported by:||jessicah||Owned by:||bonefish|
|Has a Patch:||no||Platform:||All|
When defining a user build profile that writes the image to a local partition, e.g. /dev/sda57, on Linux one needs to run sudo to do so.
However, running the entire build under sudo is inadvisable. I've created a patch that would allow a user build profile to specify HAIKU_REQUIRES_SUDO = 1 such that at the image writing stage, it will invoke the build_haiku_image script using sudo.
Change History (10)
by , 6 years ago