Version 2.8.5, configure "preuninstall" parameter in buildkit.conf, build one kit using buildkit command, but the built kit did not include the appointed script file and the provision preuninstall scripts did not work.
For example:
The part content of buildkit.conf
[root@xxx kit-mellanox-ofed-template]# vim buildkit.conf
kitcomponent:
........
preuninstall=kit_mlnx_ofed_uninstall.sh
........
But there is nothing script using rpm to query.
[root@xxx kit-mellanox-OFED-2.3-1.0.1.1-kernel-3.10.0-123.el7.x86_64-1.0-rhels-7.0-x86_64]# pwd
/install/kits/kit-mellanox-OFED-2.3-1.0.1.1-kernel-3.10.0-123.el7.x86_64-1.0/repos/kit-mellanox-OFED-2.3-1.0.1.1-kernel-3.10.0-123.el7.x86_64-1.0-rhels-7.0-x86_64
[root@xxx kit-mellanox-OFED-2.3-1.0.1.1-kernel-3.10.0-123.el7.x86_64-1.0-rhels-7.0-x86_64]# rpm -qp --scripts component-mellanox-OFED-1.0-2.noarch.rpm
preinstall program: /bin/sh
postinstall program: /bin/sh
preuninstall program: /bin/sh
postuninstall program: /bin/sh
ccfa800..cc618dc 2.8.5-pcm -> 2.8.5-pcm