I managed to make some packages for Ubuntu precise with:
http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.3.5.tar.xz
http://vserver.13thfloor.at/Experimental/patch-3.3.5-vs2.3.3.3.diff
Patching with patch -p1 < patch-3.3.5-vs2.3.3.3.diff (use --dryrun first
to make sure it'll work)
Then for the kernel:
make-kpkg --rootcmd fakeroot --initrd --append-to-version=-vserver
kernel-image kernel-headers kernel-source
The downloaded the vserver utils:
http://people.linux-vserver.org/%7Edhozac/t/uv-testing/util-vserver-0.30.216-pre3034.tar.bz2
Changing line 24, debian/rules "--with-vrootdir=/home" needs a new home
(where to put vservers)
dpkg-buildpackage -rfakeroot -F
And that was it! Nice set of packages and a new kernel that installed
perfectly.
I think you need to install fakeroot or some such first, and obviously
GCC and friends.
I've had no problems with this setup. Hopefully a sage on this list can
point out if there is a mistake someplace.
Cheers
On 14/06/12 20:21, Vasiliy Molostov wrote:
> At the moment debian offers 2.6 kernels (as mentioned in vserver install docs
> - a link from here
> http://packages.debian.org/search?keywords=linux+image+vserver), and I suspect
> that these are old. I suppose that the way to test is to install required
> kernel image (as for latest is 3.4.1) with appropriate 2.3.x.x experimental
> patch, plus util-vserver package.
>
> I would be thankful if you can point to prebuild packaged binary. I plan to
> run it on ubuntu precise, but before try I am afraid of udev and modules since
> host runs lvm2 disk layout. Can be this a problem for vserver-enabled kernel
> image?
>
> On Чт, 14 июн 12 10:56:50 Ben Green wrote:
>> Which one are you testing on Debian or Ubuntu? Neither have packages
>> for kernels in their own repositories. I maintain some repositories
>> for Debian, I don't know of a repo for Ubuntu. So personally I would
>> go for Debian and my packages. The bias in this opinion should be
>> readily apparent though.
Received on Fri Jun 15 04:47:01 2012