Netfilter-Devel Archive on
 help / color / Atom feed
From: Oskar Berggren <>
Subject: ipset make modules_install fails to honor INSTALL_MOD_PATH
Date: Thu, 21 May 2020 21:27:01 +0200
Message-ID: <> (raw)


In build scripts for a custom environment I have since about a decade
something like this to build ipset and package the binaries:

make modules
DESTDIR=... make install
INSTALL_MOD_PATH=... make modules_install

It was a long time since I last updated this, but this seems to have
worked for at least one of ipset 6.11 or 6.24.

However, with ipset 7.6, despite setting INSTALL_MOD_PATH, the scripts
tries to install under the real /lib directory.

In the makefile I find this line, which seems to override whatever I


Oddly enough, this line was introduced by a commit titled "Support
chroot buildroots":

Changing the line to the following seems to make it possible for my
script to override and get the desired relocation:


Or is there a different solution I should be using?

Best regards,

             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-21 19:27 Oskar Berggren [this message]
2020-05-21 21:09 ` Jan Engelhardt
2020-05-21 22:05   ` Oskar Berggren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Netfilter-Devel Archive on

Archives are clonable:
	git clone --mirror netfilter-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netfilter-devel netfilter-devel/ \
	public-inbox-index netfilter-devel

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone