]> git.ipfire.org Git - thirdparty/dracut.git/commit
99squash: Only start the cleaner on switch-root
authorKairui Song <kasong@redhat.com>
Tue, 6 Aug 2019 07:39:31 +0000 (15:39 +0800)
committerHarald Hoyer <harald@hoyer.xyz>
Wed, 23 Oct 2019 12:40:24 +0000 (14:40 +0200)
commit5d88809319049eb06e3472dcd11cca9c4557d8c2
tree0dee2995547b3b7c29a6094b60b7f4bbe49fc5d9
parentda36b76ab0bbf9b2853d88023dca146253c4008c
99squash: Only start the cleaner on switch-root

Currently it starts the cleaner early and do the clean up job if switch
root is called. It's better to just start the service only on switch
root to avoid any risk of service dependency failure and make is
simpler.

Signed-off-by: Kairui Song <kasong@redhat.com>
modules.d/99squash/module-setup.sh
modules.d/99squash/squash-mnt-clear.service