Commit b956303f by Juha Kallioinen

[libzypp] Add workaround for tnhl

Zypper relies on /etc/rpm/platform for deciding to upgrade from plain
armv7l to higher archs. So far only armv7hl was known, this patch adds
armv7tnhl as well.

Original patch by: Islam Amer <islam.amer@jollamobile.com>
Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>
parent 6630721a
......@@ -140,6 +140,13 @@ namespace zypp
WAR << "/etc/rpm/platform contains armv7hl-: architecture upgraded to '" << architecture << "'" << endl;
break;
}
if ( str::hasPrefix( *in, "armv7tnhl-" ) )
{
architecture = Arch_armv7tnhl;
WAR << "/etc/rpm/platform contains armv7tnhl-: architecture upgraded to '" << architecture << "'" << endl;
break;
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment