Re: [vserver] 2.6.35.2-vs2.3.0.36.31 and 0.30.216~r2842

From: Mike O'Connor <vserver_at_pineview.net>
Date: Mon 06 Sep 2010 - 05:04:27 BST
Message-ID: <4C84684B.7020504@pineview.net>

 Hi Guys
> I'll try to use a program called checkinstall, which I've used in the
> past to handle this type of packaging issue.
>
> Thanks Herbert
>
> Mike

So I tried checkinstall and after about 4 hours of playing and one patch
to checkinstall the following does work.

Install CheckInstall, download and uncompress util-vserver source

Fix checkinstall
 # Tag files in /etc to be conffiles
-find $BUILD_DIR/etc 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
+find $BUILD_DIR/etc -type f 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
     grep -v '^/etc$' > $BUILD_DIR/DEBIAN/conffiles

In util-server source run
./configure --with-initrddir=/etc/init.d --enable-release
--enable-apis=NOLEGACY --with-initscripts=sysv --prefix=/usr
--sysconfdir=/etc --localstatedir=/var

Build the source via running make

Fix the version information below and run
checkinstall --pkgname util-vserver --pkgversion 0.30.216 --pkgrelease
pre2913-1
--exclude="/etc/init.d/v_httpd,/etc/init.d/v_smb,/etc/init.d/v_named,/etc/init.d/v_sshd,/etc/init.d/v_gated,/etc/init.d/v_xinetd,/etc/init.d/v_portmap,/etc/init.d/v_sendmail"
make install install-distribution

Check the build package for issues
dpkg -c util-vserver-0.30.216_pre2913-1_i386.deb | less

Hope this can help some one else.

Mike
Received on Mon Sep 6 05:05:24 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 06 Sep 2010 - 05:05:24 BST by hypermail 2.1.8