extend updatepkgs option to work with chroot