NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/50846 (etcupdate -a doesn't handle destdir properly)



The following reply was made to PR install/50846; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: install/50846 (etcupdate -a doesn't handle destdir properly)
Date: Wed, 19 Jun 2019 15:30:06 +0300

 Ugh, I completely forgot all the details.  However we seem to have the
 code that does this at the very end of install_checksum(), fixing up
 md5 output with sed.
 
 So the problem seems to be that we do compute the wrong file checksum
 before calling install_checksum() but then we would compute the right
 file checksum in install_checksum() itself.
 
 Come to think of it, one thing that always kinda annoyed me about it
 is that etcupdate always overwrite the checksum file even if the old
 one is the same.  Since this is exactly the place where it happens, we
 might want to fix this in one swoop.
 
 -uwe
 


Home | Main Index | Thread Index | Old Index