diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-31 22:41:25 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-31 22:41:49 -0500 |
commit | f117c7aac438c4d3219abee57112cdef04258433 (patch) | |
tree | 4e4d8b0f8b7f9a1844380d3de9fb1ffaa6cbb143 | |
parent | 27f1e6d6763a8a322070c9bdf377bb347896188d (diff) |
The move from $workdir/etc to $workdir/chroot/etc confused old installs.
1. It left the old directory around.
2. etc.git has a post-install hook that has the directory hard-coded.
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | drain | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ # as published by Sam Hocevar. See the COPYING file for more details. PACKAGE = pristine-etc-keeper -VERSION = 20170128 +VERSION = 20170131 topsrcdir = . topoutdir = . @@ -43,6 +43,7 @@ commit() ( (cd chroot/etc && etckeeper init -d "$PWD") mv chroot/etc/.git etc.git fi + rm -rf etc; ln -sfT chroot/etc etc # for compatibility with old installs rm -rf chroot mkdir chroot cd chroot |