[Linux-HA] Colocation confusion

Christian Rishøj christian at rishoj.net
Mon Jun 18 06:34:54 MDT 2007


On 6/18/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> On 6/18/07, Christian Rishøj <christian at rishoj.net> wrote:
> > On 6/18/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> > > On 6/18/07, Christian Rishøj <christian at rishoj.net> wrote:
> > > > On 6/18/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> > > > > > > you might want to try the packages available at:
> > > > > > >     http://software.opensuse.org/download/server:/ha-clustering/
> > > > > >
> > > > > > Running Ubuntu, so I'm afraid the Suse packages is not an option.
> > > > >
> > > > > if you clicked the link you'd see there are also fedora, ubuntu,
> > > > > debian and mandriva packages there
> > > >
> > > > I see. Thanks for stressing this. However, the site only provides
> > > > packages for i386. I'm a little worries running these on amd64.
> > >
> > > isnt there a way to rebuild .debs?
> > > only the arch would change and all the control files are there -
> > > should just be a matter of turning the handle
> >
> > If the source packages (orig.tar.gz + diff.gz) are available, it's as easy as:
> >
> > % dpkg-buildpackage -us -uc -rfakeroot
>
> is there some special debian command/option for creating this?
> (i'm not deliberatly not creating one)

I am not an expert on this, but given that the patched sources from
which the package was built is available in a directory, dpkg-source
with -b option should produce the source tar.gz (and diff .gz if the
original sources are specified). From the man page:

       -b     Build: pack up a source tree. One or two non-option
arguments should be sup‐
              plied. The first is taken as  the  name  of  the
directory  containing  the
              unpacked source tree. If a second argument is supplied
it should be the name
              of the original source directory or tarfile or the empty
string if the pack‐
              age is a Debian-specific one and so has no Debianisation
diffs. If no second
              argument is supplied then dpkg-source will  look  for
the  original  source
              tarfile  package_upstream-version.orig.tar.gz  or the
original source direc‐
              tory directory.orig or the empty string (no original
source, and so no diff)
              depending on the arguments.

Regards,
Christian


More information about the Linux-HA mailing list