Re: [ANNOUNCE] ipset 6.28 released

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 2016-03-13 12:29, Jozsef Kadlecsik wrote:
>On Sun, 13 Mar 2016, Jan Engelhardt wrote:
>
>> By the way, there is another issue. You are calling `modinfo` when make
>> install, but you are not passing  -b ${DESTDIR}, so it, too, fails
>> inside chroot buildroots. (because /lib/modules/V/kernel is empty;
>> ipset is in $DESTDIR/lib/modules/V/...)
>
>The variable DESTDIR is not defined by default, so some other trickery is 
>required to get the chroot prefix dir path at that level, when `modinfo` 
>is called. How do you call `configure` or `make`?

./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu
--program-prefix= --disable-dependency-tracking --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking
--disable-static --with-kbuild=/usr/src/linux-obj/x86_64/default
--with-ksource=/usr/src/linux --includedir=/usr/include/ipset

make -j6 all modules

make -j6 install modules_install
DESTDIR=/home/abuild/rpmbuild/BUILDROOT/ipset-6.28-0.x86_64
INSTALL_MOD_PATH=/home/abuild/rpmbuild/BUILDROOT/ipset-6.28-0.x86_64 V=1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux