OSDN Git Service

Remove cow file early for non-persistent systems v36
authorChristian Hesse <mail@eworm.de>
Fri, 29 Jun 2018 09:16:19 +0000 (11:16 +0200)
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>
Fri, 29 Jun 2018 16:08:24 +0000 (13:08 -0300)
commita00ba0f49921fb19ac1fb77b50d0ed74e04ac062
tree45647a9b5115f7f68969a891922a72f4c32f9844
parentfd228a9a440eae5692a99fa289c654f68a056be0
Remove cow file early for non-persistent systems

The kernel has an open file handle after setting up the mapping. We can
remove it early to make sure it is gone on shutdown.

This helps to keep the cow_device clean for non-persistent systems where
cow_directory contains a version specific string.

Signed-off-by: Christian Hesse <mail@eworm.de>
archiso/initcpio/hooks/archiso