241cdfdd01
- Symlink creation is corrected only for deb packages - It is follow up package of http://git.amd.com:8080/c/hsa/ec/hsa-runtime/+/334403 - configure_file() is called to update the scripts with proper cmake variable values Signed-off-by: Pruthvi Madugundu <pruthvi.madugundu@amd.com> Change-Id: I0e833ead265166411e83593fd57265a9ab356904
21 rinda
254 B
Bash
21 rinda
254 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
rm_ldconfig() {
|
|
rm -f /etc/ld.so.conf.d/hsa-rocr-dev.conf && ldconfig
|
|
}
|
|
|
|
case "$1" in
|
|
remove)
|
|
rm_ldconfig
|
|
rm -rf @CPACK_PACKAGING_INSTALL_PREFIX@/include/hsa
|
|
;;
|
|
purge)
|
|
;;
|
|
*)
|
|
exit 0
|
|
;;
|
|
esac
|
|
|