[barefoot][platform] Fix sonic-platform host installation (#6696)
prerm is needed for platform modules package to be properly removed. Added prerm to remove installed in postinst wheel packages. Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
This commit is contained in:
parent
d2b8b94a64
commit
3f2a493c14
6
platform/barefoot/sonic-platform-modules-bfn-montara/debian/prerm
Executable file
6
platform/barefoot/sonic-platform-modules-bfn-montara/debian/prerm
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
python2 -m pip uninstall -y sonic-platform
|
||||
python3 -m pip uninstall -y sonic-platform
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
python2 -m pip uninstall -y sonic-platform
|
||||
python3 -m pip uninstall -y sonic-platform
|
||||
|
||||
#DEBHELPER#
|
6
platform/barefoot/sonic-platform-modules-bfn/debian/prerm
Executable file
6
platform/barefoot/sonic-platform-modules-bfn/debian/prerm
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
python2 -m pip uninstall -y sonic-platform
|
||||
python3 -m pip uninstall -y sonic-platform
|
||||
|
||||
#DEBHELPER#
|
Reference in New Issue
Block a user