Return the release name of the distribution of the tree rooted at installroot. The function uses information from RPMDB found under the tree.
Noneif the information can not be determined (perhaps because the tree has no RPMDB).
Return base architecture of the processor based on arch type given. E.g. when arch i686 is given then the returned value will be i386.