mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Cryptodome: add alternative namespace support
This commit is contained in:
parent
2bc7b5c80e
commit
a373f372ca
@ -48,6 +48,9 @@ makeinstall_target() {
|
|||||||
# Remove SelfTest bloat
|
# Remove SelfTest bloat
|
||||||
find $INSTALL -type d -name SelfTest -exec rm -fr "{}" \; 2>/dev/null || true
|
find $INSTALL -type d -name SelfTest -exec rm -fr "{}" \; 2>/dev/null || true
|
||||||
find $INSTALL -name SOURCES.txt -exec sed -i "/\/SelfTest\//d;" "{}" \;
|
find $INSTALL -name SOURCES.txt -exec sed -i "/\/SelfTest\//d;" "{}" \;
|
||||||
|
|
||||||
|
# Create Cryptodome as an alternative namespace to Crypto (Kodi addons may use either)
|
||||||
|
ln -sf /usr/lib/python2.7/site-packages/Crypto $INSTALL/usr/lib/python2.7/site-packages/Cryptodome
|
||||||
}
|
}
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user