forked from systemd/mkosi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use --keep-directory-symlink from cp 9.5 onwards
--keep-directory-symlink instructs cp to not fail when trying to copy a directory onto a symlink but to follow the symlink instead. The patch to introduce it was merged into coreutils and will be available from coreutils 9.5 onwards. --copy-contents has to be added as well to make --keep-directory-symlink work. --copy-contents is generally harmless for our use cases and won't change anything. We also make sure gpg creates its sockets in /run instead of the gpg homedir so they don't become part of the image. gpg automatically uses /run if /run/user/uid exists so we create /run/user/0 to satisfy that check. Fixes systemd#2168
- Loading branch information
1 parent
814f828
commit aedcd51
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters