mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-11-17 18:51:25 +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
|
||||
-selinux-policy-minimum
|
||||
%end
|
||||
|
||||
%post
|
||||
touch $INSTALL_ROOT/home/home_preserved
|
||||
%end
|
||||
|
@ -14,3 +14,7 @@ poweroff
|
||||
%packages
|
||||
@core
|
||||
%end
|
||||
|
||||
%post
|
||||
touch $INSTALL_ROOT/home/home_preserved
|
||||
%end
|
||||
|
Loading…
Reference in New Issue
Block a user