...
- By default, yum checks if the user is root, and will refuse to install anything if it the user is not. So edit /tmp/squashfs-root/usr/share/yum-cli/yumcommands.py and change the following code and comment out the relevant code (in red)
def checkRootUID(base):
"""Verify that the program is being run by the root user.
...