Fixup prefixing for iptables extension loading (#31)
This commit is contained in:

committed by
Pete Vander Giessen

parent
92fc5c1ec5
commit
2b0a7b1de4
@@ -761,8 +761,17 @@ parts:
|
|||||||
- libnftnl-dev
|
- libnftnl-dev
|
||||||
configflags:
|
configflags:
|
||||||
- --disable-nftables
|
- --disable-nftables
|
||||||
|
- --prefix=/snap/$SNAPCRAFT_PROJECT_NAME/current
|
||||||
install: |
|
install: |
|
||||||
cp --remove-destination $SNAPCRAFT_PART_INSTALL/sbin/xtables-multi $SNAPCRAFT_PART_INSTALL/bin/iptables-xml
|
cp --remove-destination $SNAPCRAFT_PART_INSTALL/snap/$SNAPCRAFT_PROJECT_NAME/current/sbin/xtables-multi \
|
||||||
|
$SNAPCRAFT_PART_INSTALL/snap/$SNAPCRAFT_PROJECT_NAME/current/bin/iptables-xml
|
||||||
|
organize:
|
||||||
|
# Hack to shift installed iptables back to root of snap
|
||||||
|
# required to ensure that pathing to files etc works at
|
||||||
|
# runtime
|
||||||
|
# * is not used to avoid directory merge conflicts
|
||||||
|
snap/microstack/current/: ./
|
||||||
|
|
||||||
ipset:
|
ipset:
|
||||||
source: http://ipset.netfilter.org/ipset-6.30.tar.bz2
|
source: http://ipset.netfilter.org/ipset-6.30.tar.bz2
|
||||||
plugin: autotools
|
plugin: autotools
|
||||||
|
Reference in New Issue
Block a user