Menu

#4394 buildkit preuninstall did not work

2.8.5
closed
BaiYuan
buildkit (5)
unknown
5
2014-12-02
2014-11-14
feng gao
No

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

Discussion

  • BaiYuan

    BaiYuan - 2014-11-14

    ccfa800..cc618dc 2.8.5-pcm -> 2.8.5-pcm

     
  • BaiYuan

    BaiYuan - 2014-11-14
    • status: open --> pending
     
  • BaiYuan

    BaiYuan - 2014-12-02
    • status: pending --> closed
     
MongoDB Logo MongoDB