Skip to contentSkip to conversation

Problem about inst_simple()

DISCUSSION Tong Li 1 participant 1 message Dec 2, 2016

lore
Share & tools
lore

Tong Li

author
#0 lore raw

Hello Harald,

I was working on fixing the 95ssh-client issue. The code in my last pull request(#184) copies only customized UserKnownHostsFile under /root to initramfs, which fix the problem we meet in kdump process. Now I am trying to make it more general. Users may set UserKnownHostsFile to something like ~/foo, but it seems inst_simple() can't handle this kind of path well now. In my test, this issue can be handled by replacing "~" in such a variable to "${HOME}". Should we just place the checking and replacing code in 95ssh-client module, or add it to inst_simeple() in case that other modules attempt to install a file whose path is like "~/foo"? What do you think about it?

Regards,
Tong