代码拉取完成,页面将自动刷新
同步操作将从 RockChipMirror/libmali 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/sh
# Generate targets and packages
find lib -type f | sed 's,^lib/,,' > debian/targets
TARGETS=$(cat debian/targets)
PACKAGES=$(cat debian/targets | sed "s/.*\(libmali.*\).so/\1/" | sort | uniq)
rm -f control.*
# NOTE: Assuming multiarch packages could share debian files
for target in $TARGETS; do
export $(./parse_name.sh $target)
package=$name
control=control.$package
if echo $target | grep -q aarch64; then
arch=arm64
else
arch=armhf
fi
# Handle multiarch packages
if [ -e $control ]; then
sed -i "s/\(Architecture:\).*/\1 armhf arm64/" $control
continue
fi
# Generate control files
conflicts="$(echo $PACKAGES | xargs -n 1 | grep -v "$package$")"
cat << EOF > $control
Package: $package
Architecture: $arch
Conflicts: $(echo $conflicts | sed "s/ /, /g")
Depends: \${shlibs:Depends}, \${misc:Depends}
Description: Mali GPU User-Space Binary Drivers
EOF
done
# Generate control
cat debian/control.in control.* > debian/control
rm -f control.*
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。