blob: d32dd401a6e406396063e8308df464c79b2fa026 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
post_install() {
echo "Installed MESA SDK to /opt/mesasdk"
# we know this is an OK arch and has the prereqs
touch opt/mesasdk/etc/check_arch.done
touch opt/mesasdk/etc/check_preq.done
GCC_VERSION=$(/opt/mesasdk/bin/gcc -dumpversion)
/opt/mesasdk/libexec/gcc/x86_64-pc-linux-gnu/${GCC_VERSION}/install-tools/mkheaders /opt/mesasdk
touch /opt/mesasdk/etc/regen_headers.done
echo "Regenerated headers"
}
post_upgrade() {
post_install
}
|