grml-debootstrap
grml-debootstrap copied to clipboard
Location of device archive hardcoded to `/etc/debootstrap/devices.tar.gz`
Users without root/superuser privileges wanting to use grml-debootstrap cannot write to /etc.
Well, more than happy once grml-debootstrap can be executed without requiring root permissions, but currently we even explicitly check for root permissions, so I don't see the problem regarding the Users without root/superuser privileges wanting to use grml-debootstrap cannot write to /etc., tbh :)
But I'd like to get rid of the devices.tar.gz overall, probably we don't need this any longer at all? Maybe someone wants to look into this?
fakechroot fakeroot ~/src/grml-debootstrap/grml-debootstrap … already gets pretty far.
For a virtual machine image requiring a loop mount (kpartx) it aborts though.
mmdebstrap (in Debian) is a "similar" tool has lots of non-root options which might be handy for comparison.
Thank you. grml-debootstrap is able to use mmdebstrap over debootstrap already, but you need apt, which is not installed on my non-Debian system, where I use grml-debootstrap.
Since you're contributing here, I meant consider to check out mmdebstrap man page / source code for inspiration on non-root functionality. Actual use not required.