Re: difference between arch-nspawn and mkarchroot?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Jan 16, 2014 at 11:55 PM, David C. Rankin
<drankinatty@xxxxxxxxxxxxxxxxxx> wrote:
> Devs,
>
>   DeveloperWiki:Building_in_a_Clean_Chroot notes that updating the chroot is now
> done by:
>
>   arch-nspawn $CHROOT/root pacman -Syu
>
> instead of
>
>   mkarchroot -u $CHROOT/root
>
>   Checking the help for both files I note (1) the -u option is dropped from
> mkarchroot, and (2) the help output for both arch-nspawn and mkarchroot are
> identical. So what is the difference between the two?
>
> --
> David C. Rankin, J.D.,P.E.

In the process of reorganizing the code, mkarchroot was split into two
binaries with complementing functionality.

arch-nspawn is a thin wrapper around systemd-nspawn, doing some
pacman-specific stuff like copying config from the host and binding
the cache.

mkarchroot (which now just builds the chroot instead of also providing
chrooting functionality) makes use of arch-nspawn, as do makechrootpkg
and archbuild.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux