GNU bug report logs - #47381
Atomic (fast) install

Previous Next

Package: automake;

Reported by: Дилян Палаузов <dilyan.palauzov <at> aegee.org>

Date: Thu, 25 Mar 2021 10:27:01 UTC

Severity: normal

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 47381 <at> debbugs.gnu.org (full text, mbox):

From: Peter Johansson <trojkan <at> gmail.com>
To: Дилян Палаузов
 <dilyan.palauzov <at> aegee.org>, 47381 <at> debbugs.gnu.org
Subject: Re: bug#47381: Atomic (fast) install
Date: Sat, 27 Mar 2021 19:27:21 +1000
On 25/3/21 8:24 pm, Дилян Палаузов wrote:
> • Please adjust Automake on “make install” to do (per default or with
> an option) atomic install of files, even when libtool is involved: the
> file is moved to a temporary destination first, and then rename(2)d, or
> the source is moved to the destination, disappearing from the source,
> or something like this.

As a workaround, I would write a script using the DESTDIR variable. 
First running make install DESTDIR=/some/path (please refer to the 
manual for details) and then move (rename) files from there to their 
final destination - or include the script in the Makefile if certain 
make variables are needed.

Cheers,

Peter





This bug report was last modified 4 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.