You are not logged in.

#1 2011-02-15 01:38:02

kmganesh
Member
Registered: 2011-02-02
Posts: 3

Maintaining a custom compiled version of glibc in multiple machines

Hi,

I am trying to maintain a custom version of glibc due to the minimum kernel version bump. I have seen the sticky topic in the forum about Updating packages compiled via ABS.

The steps which seem clear to me -

  • run

    abs core/glibc
  • Copy

    /var/abs/core/glibc

    to another path and do a couple of changes to PKGBUILD

  • run from the custom path

    makepkg -s

So, creating a custom repo and using that as the top most repo and reinstalling glibc is the way to go when multiple machines are involved ?

  • When the package is built copy it to another path and run

    repo-add
  • Put the custom repo at the top repo in

    /etc/pacman.conf
  • refresh pacman

    pacman -Sy
  • reinstall glibc using

    pacman -S glibc

Is this the way to go ?

cheers !

Last edited by kmganesh (2011-02-16 06:52:01)


OpenProtect - Anti Spam Server

Offline

#2 2011-02-15 02:39:26

andrewthomas
Member
Registered: 2010-05-08
Posts: 52

Re: Maintaining a custom compiled version of glibc in multiple machines

kmganesh wrote:

So, creating a custom repo and using that as the top most repo and reinstalling glibc is the way to go when multiple machines are involved ?

I would just, after running the abs command and copying the glibc PKGBUILD into a folder in your home directory, run

 makepkg -s

in the folder with the PKGBUILD to generate the package and then copy the package onto a USB key to distribute to other machines.

Installing with

pacman -U /path/to/package

Unless you have many machines that you want to install the package on, it is much simpler than creating a repo.

Last edited by andrewthomas (2011-02-15 02:40:52)


If this helped you, please take the time to rate the value of this post:
http://rate.affero.net/andrewthomas/

Offline

#3 2011-02-15 02:41:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,652
Website

Re: Maintaining a custom compiled version of glibc in multiple machines

Offline

#4 2011-02-15 10:02:22

schneida
Member
Registered: 2009-02-19
Posts: 76
Website

Re: Maintaining a custom compiled version of glibc in multiple machines

Hey that's exactly what I was looking for too. That means it should be possible to install ArchLinux inside my VPS running Virtuozzo with Kernel 2.6.18

Offline

#5 2011-02-16 10:19:58

kmganesh
Member
Registered: 2011-02-02
Posts: 3

Re: Maintaining a custom compiled version of glibc in multiple machines

Thanks for the responses ! Yup using

pacman -U

is the easiest for a single machine. But I am looking at many machines. Also the openvz glibc is a good idea ! but unfortunately I am looking at 2.6.15 with an additional patch https://bugzilla.redhat.com/show_bug.cgi?id=426890 sad

So I guess I am on the right track on this one ?


OpenProtect - Anti Spam Server

Offline

#6 2011-02-16 10:35:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Maintaining a custom compiled version of glibc in multiple machines

Yeah, make a repo, nothing to it.

Offline

Board footer

Powered by FluxBB