mkrootfs: added -b, -c and -r options to set system pkg, cachedir and repos respectively.