Re: Recommend way to use Multistrap
Neil Williams <[email protected]> Thu, 29 Oct 2015 07:37:24 +0000
| Newsgroups | gmane.linux.debian.devel.embedded |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 29 Oct 2015 14:29:32 +1100 "Brendan Simon (eTRIX)" <[email protected]> wrote: > What is the recommended way to use Multistrap? I'm using Jessie > (Debian 8). $ sudo multistrap > multistrap is not in my user path, but it is in the path of root. I > suppose I could run multistrap as root but I presume that is not how > it is intended to be run (potentially dangerous). No. Multistrap is absolutely intended to be run as root. Always. Some attempts have been made to use things like fakeroot but that is *not* the intended use. It can be useful to use a VM when *developing* multistrap - run as root inside the VM. > How should I run it as a user? With sudo. > The manpage says Multistrap needs a chroot but chroot doesn't work > under fakeroot, so therefore fakeroot can't be used. Multistrap builds a chroot to do the work. Multistrap runs outside the chroot, hence needs to run as root. > I note there is a fakechroot package. Is it recommended to use > multistrap with fakechroot. No. multistrap is not intended to be used inside a chroot, it would have to create another chroot inside that. -- Neil Williams ============= http://www.linux.codehelp.co.uk/
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWMcy0AAoJEPFn5DyBQ7aCPegP/1y0TsV3tanSB3LthQtErxJn C7SWQVFED1eBIw3dk+OCSQ11y/gB3IkhIFRYLbcdz0wmKVQJ7HKlVAjiXCViY6At gtNfia894QJd6jYn+LpuNYlw62t+eKur0X04nxP3gYcf3qcHWLlo98OAs1k6Dwpx crMi3V3tS5y1hHvrEWg2H21+SgiZv3whnPrAvzEYQQpp2KEjuy31vxv5RwdVqWmQ aahdCa5jo8AeM72p5FQtCdad3+SvbX2LGD6Jqt7/vVJ1YGDohX9Cc0Jr74ZOfYKr bzXhdUPmTurWuKAKE1YhYlpEognZ73eup/JmoDtbBq6V6RvgFeVuRBUo+b7H5f7Y Hn7tKPZW4as8eXCQOOx2SQybRysOcd/PGOr9B6fcu/Xu2j0vlZ6YVZof1xVNUwWt Yt4Tfdr/5cNWDgmRLPQ3JYg4Z64Zniqw9Wqiq6ymFWgQ6QS+5RgJ2s5ptG6zImW4 0oXVJSzpuQ6kKIFkbA9f+C6ouPzcOpBzuTbyX1heqW+2uq8fwsmz++HGxSZ3K7rF 7jqq6Yd7x5j6mWSfNPb4odYnArG03vhJptZn8noRtEAZcFfX+WdjQuDu8lhdpl7E 3vqK0GHdW5T5AqHqgDkzQgF1DfLkS0FjdoMVfgIk1AhsHwlMYfe4+VUXCW10HN8G BOUQVKHO39KSat6KldzA =uhRk -----END PGP SIGNATURE-----