[arch-general] How to build package in "clean chroot" using the "-U" parameter?

Óscar García Amor ogarcia at moire.org
Fri Dec 22 13:16:33 UTC 2017


2017-12-22 14:02 GMT+01:00 Manuel Reimer <Manuel.Spam at nurfuerspam.de>:
> Hello,

Hi!

> I [..] was:
>
> # makechrootpkg -c -U build -r /var/cache/PATH_TO_MY_CHROOT

You can do the following:

# su - user -c "command"

In this case:

# su - user -c "makechrootpkg -c -r /var/cache/PATH_TO_MY_CHROOT"

Greetings

-- 
Óscar García Amor | ogarcia at moire.org | http://ogarcia.me


More information about the arch-general mailing list