def METHOD_NAME(dmg):
    """
    Attempt to mount a dmg file to a temporary location and return the
    location of the pkg file inside
    Args:
        dmg (str): The location of the dmg file to mount
    Returns:
        tuple: Tuple containing the results of the command along with the mount
               point
    CLI Example:
    .. code-block:: bash
        salt '*' macpackage.mount /tmp/software.dmg
    """
    temp_dir = __salt__["temp.dir"](prefix="dmg-")
    cmd = f'hdiutil attach -readonly -nobrowse -mountpoint {temp_dir} "{dmg}"'
    return __salt__["cmd.run"](cmd), temp_dir