|
Message-ID: <20111009165535.GA25752@altlinux.org>
Date: Sun, 9 Oct 2011 20:55:36 +0400
From: "Dmitry V. Levin" <ldv@...linux.org>
To: owl-dev@...ts.openwall.com
Subject: Re: hardlink
Hi,
On Sun, Oct 09, 2011 at 08:38:41PM +0400, Vasiliy Kulikov wrote:
> On Sun, Oct 09, 2011 at 20:25 +0400, Solar Designer wrote:
> > http://sisyphus.ru/en/srpm/Sisyphus/tzdata/spec
> >
> > I notice:
> >
> > # Hardlink identical files together.
> > %define __spec_install_custom_post hardlink -vc %buildroot
> >
> > which indeed would save some space. I think we should package the
> > "hardlink" tool for Owl. Here it is:
> >
> > http://pkgs.fedoraproject.org/gitweb/?p=hardlink.git;a=tree
> >
> > and here's how it is packaged in ALT Linux:
> >
> > http://sisyphus.ru/en/srpm/Sisyphus/hardlink
>
> I didn't look at hardlink usage, but does it run at RPM build stage or
> at %post?
The %__spec_install_custom_post is executed right after %install.
> If the former, it would fail in case user has divided the
> disk other way, e.g. separate /usr/ would deny hardlinking /bin/bla and
> /usr/bin/blabla. Or probably this case is somehow handled?
This is not an issue for tzdata package because its content is located in
/usr/share/zoneinfo/.
--
ldv
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.