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:
parent
f9dd6ed212
commit
d982ca73e7
@ -20,3 +20,7 @@ poweroff
|
|||||||
@^workstation-product-environment
|
@^workstation-product-environment
|
||||||
-selinux-policy-minimum
|
-selinux-policy-minimum
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
touch $INSTALL_ROOT/home/home_preserved
|
||||||
|
%end
|
||||||
|
@ -14,3 +14,7 @@ poweroff
|
|||||||
%packages
|
%packages
|
||||||
@core
|
@core
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
touch $INSTALL_ROOT/home/home_preserved
|
||||||
|
%end
|
||||||
|
Loading…
Reference in New Issue
Block a user