Skip to content

Commit 2b30a0a

Browse files
committed
cmdlib.sh: copy all GPG keys into supermin VM
Currently, we're only copying files, but we want symlinks too. Follow-up to 876c466 ("build.sh: add CentOS Stream keys into `/etc/pki/rpm-gpg`").
1 parent ae0e86a commit 2b30a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmdlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ runvm() {
739739
EOF
740740

741741
# and include all GPG keys
742-
find /etc/pki/rpm-gpg/ -type f >> "${vmpreparedir}/hostfiles"
742+
echo '/etc/pki/rpm-gpg/*' >> "${vmpreparedir}/hostfiles"
743743

744744
# the reason we do a heredoc here is so that the var substition takes
745745
# place immediately instead of having to proxy them through to the VM

0 commit comments

Comments
 (0)