1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-11-25 08:13:07 +00:00

Add a postinstall section to leave a trace in the home directory.

This PR adds the post-installation section that adds a file
in the /home space, which then can be checked by a `preserve_home`
post-installation test and prove that it was possible to
preserve home on btrfs layouts.
This commit is contained in:
Lukáš Růžička 2020-12-04 15:04:29 +01:00
parent f9dd6ed212
commit d982ca73e7
2 changed files with 8 additions and 0 deletions

View File

@ -20,3 +20,7 @@ poweroff
@^workstation-product-environment
-selinux-policy-minimum
%end
%post
touch $INSTALL_ROOT/home/home_preserved
%end

View File

@ -14,3 +14,7 @@ poweroff
%packages
@core
%end
%post
touch $INSTALL_ROOT/home/home_preserved
%end