I managed to make some packages for Ubuntu precise with:
Patching with patch -p1 < patch-3.3.5-vs188.8.131.52.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:
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
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.
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
> 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