diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-02-23 11:58:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-23 11:58:58 -0500 |
commit | 113f855802176a4ffbe167304ab83942116a65f1 (patch) | |
tree | ed9cd62f91eee1f2a1bb04ab0086f0a55444217d /Makefile | |
parent | d3699bbce63f283a609053d4aca23e4abe7dae4d (diff) | |
parent | eab5a4cfb7b3bbb63cd2a1d9a5a69e9bc32d4cef (diff) | |
download | podman-113f855802176a4ffbe167304ab83942116a65f1.tar.gz podman-113f855802176a4ffbe167304ab83942116a65f1.tar.bz2 podman-113f855802176a4ffbe167304ab83942116a65f1.zip |
Merge pull request #13323 from Luap99/iptables-module
Load ip_tables modules at boot
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -44,6 +44,7 @@ MANDIR ?= ${PREFIX}/share/man SHAREDIR_CONTAINERS ?= ${PREFIX}/share/containers ETCDIR ?= ${PREFIX}/etc TMPFILESDIR ?= ${PREFIX}/lib/tmpfiles.d +MODULESLOADDIR ?= ${PREFIX}/lib/modules-load.d SYSTEMDDIR ?= ${PREFIX}/lib/systemd/system USERSYSTEMDDIR ?= ${PREFIX}/lib/systemd/user REMOTETAGS ?= remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp @@ -779,6 +780,11 @@ install.bin: install ${SELINUXOPT} -m 755 -d ${DESTDIR}${TMPFILESDIR} install ${SELINUXOPT} -m 644 contrib/tmpfile/podman.conf ${DESTDIR}${TMPFILESDIR}/podman.conf +.PHONY: install.modules-load +install.modules-load: # This should only be used by distros which might use iptables-legacy, this is not needed on RHEL + install ${SELINUXOPT} -m 755 -d ${DESTDIR}${MODULESLOADDIR} + install ${SELINUXOPT} -m 644 contrib/modules-load.d/podman-iptables.conf ${DESTDIR}${MODULESLOADDIR}/podman-iptables.conf + .PHONY: install.man install.man: install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(MANDIR)/man1 |