sys-apps/calculate-toolkit: fix copy

pull/2/head^2 2916
Alexander Tratsevskiy 2 years ago
parent adf951124a
commit 208c31d74d

@ -32,4 +32,5 @@ PATCHES=(
"${FILESDIR}"/${P}-fix-ccg.patch
"${FILESDIR}"/${P}-check_mkdir.patch
"${FILESDIR}"/${P}-ssh_keys.patch
"${FILESDIR}"/${P}-check_files.patch
)

@ -0,0 +1,13 @@
diff --git a/cl-lxc b/cl-lxc
index 8c29bde..4fc3ac1 100755
--- a/cl-lxc
+++ b/cl-lxc
@@ -616,7 +616,7 @@ upgrade_lxc() {
ebegin $"Copying ssh keys"
cp $path_work/$name_upgrading/rootfs$num_cur/etc/ssh/*_key* \
- $path_work/$name_upgrading/rootfs$num_next/etc/ssh
+ $path_work/$name_upgrading/rootfs$num_next/etc/ssh 2>/dev/null | true
eend
ebegin $"Preparing first boot setup script"
Loading…
Cancel
Save