mock chroot builds run as owner of /

Roland McGrath roland at redhat.com
Sun Aug 7 10:32:59 UTC 2005


> You could also test for running as root by comparing $(%{__id_u}) with 0

There are lots of other reasonable tests, indeed.  test -O / is what the
upstream package did, so we save pain (at least for me) by making that
particular test meet expectations.


Thanks,
Roland




More information about the fedora-extras-list mailing list