BelaPlatform / bela-image-builder

Scripts to build a Bela image from scratch
MIT License
37 stars 16 forks source link

The `build_bela.sh` script requires `root` privileges #20

Closed giuliomoro closed 7 years ago

giuliomoro commented 7 years ago

... which is pretty annoying. For instance, it creates all the files in downloads/ with root as the owner ... What does it need sudo for?

LBDonovan commented 7 years ago

It needs it for a bunch of things: debootstrap, chroot, copying stuff into the chroot, creating the image, mounting the image, editing the image etc etc etc. If you run it not as root it will ask you for the root password at least three times so you have to sit there and watch it, which is more annoying imo.

giuliomoro commented 7 years ago

Probably closed by https://github.com/BelaPlatform/bela-image-builder/commit/ce04cf07351775f3ddb5baad68d2cb84065c0285.