Remove dangling symlink before copying to iptables-xml
The launchpad build was failing with the following: cp: not writing through dangling symlink '/build/nova-hypervisor/parts/iptables/install/bin/iptables-xml' Update the cp command to remove existing destination file before attempting to open it. Change-Id: I50e6a1e7a1d5a558e502d5613a188f24392554e8
This commit is contained in:
parent
e580bc461d
commit
214d6b1a4d
@ -116,7 +116,7 @@ parts:
|
||||
configflags:
|
||||
- --disable-nftables
|
||||
install: |
|
||||
cp -f $SNAPCRAFT_PART_INSTALL/sbin/xtables-multi $SNAPCRAFT_PART_INSTALL/bin/iptables-xml
|
||||
cp --remove-destination $SNAPCRAFT_PART_INSTALL/sbin/xtables-multi $SNAPCRAFT_PART_INSTALL/bin/iptables-xml
|
||||
ipset:
|
||||
source: http://ipset.netfilter.org/ipset-6.30.tar.bz2
|
||||
plugin: autotools
|
||||
|
Loading…
x
Reference in New Issue
Block a user