Allow nonempty root directories #20
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
mmdebstrap does not allow for nonempty root directories to bootstap into.
The mentioned rationale is https://bugs.debian.org/833525.
But there should be at least a possibility to override this behaviour by a command line switch or something alike.
One use case for a nonempty root directory would be a setup splitted over multiple disks/partitions.
This can be the case when setting up e.g. a VM with a root partition and a separate /usr and or /var partition.
But such a setup is impossible to accomodate with the current code.
Such a setup has to be fixed afterwards instead of the possibility to set it up correctly from the beginning.
To prevent scenarios like the one in first post, a command line switch like "--allow-nonempty-rootdir" or something alike would be enough.
Does running mmdebstrap with
--skip=check/empty
fix this for you?Yes, indeed. The introduction of this flag is everything I needed. Apparently I didn't catch that at first.
If you think that the issue is resolved, please close it.