From 461af035acd1e065f98f1ae81fd9bebfa5bc5431 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Tue, 26 Jan 2021 12:05:19 +0100 Subject: [PATCH 1/2] Update c-lightning to 0.9.3 --- site-cookbooks/kosmos-bitcoin/attributes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-cookbooks/kosmos-bitcoin/attributes/default.rb b/site-cookbooks/kosmos-bitcoin/attributes/default.rb index b595fb7..a270116 100644 --- a/site-cookbooks/kosmos-bitcoin/attributes/default.rb +++ b/site-cookbooks/kosmos-bitcoin/attributes/default.rb @@ -26,7 +26,7 @@ node.default['bitcoin']['conf'] = { } node.default['c-lightning']['repo'] = 'https://github.com/ElementsProject/lightning' -node.default['c-lightning']['revision'] = 'v0.9.2' +node.default['c-lightning']['revision'] = 'v0.9.3' node.default['c-lightning']['source_dir'] = '/opt/c-lightning' node.default['c-lightning']['lightning_dir'] = "/home/#{node['bitcoin']['username']}/.lightning" node.default['c-lightning']['alias'] = 'ln3.kosmos.org' From c3256a07cc24a3e95abb1ca8bba77db507e4fbd6 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Tue, 26 Jan 2021 12:05:29 +0100 Subject: [PATCH 2/2] Fix c-lightning configure not finding python Broke in the latest release. --- site-cookbooks/kosmos-bitcoin/recipes/c-lightning.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/site-cookbooks/kosmos-bitcoin/recipes/c-lightning.rb b/site-cookbooks/kosmos-bitcoin/recipes/c-lightning.rb index b8f2865..5eedd82 100644 --- a/site-cookbooks/kosmos-bitcoin/recipes/c-lightning.rb +++ b/site-cookbooks/kosmos-bitcoin/recipes/c-lightning.rb @@ -28,6 +28,7 @@ bash "compile_c-lightning" do make make install EOH + environment "PYTHON_VERSION" => "3" action :nothing notifies :restart, "systemd_unit[lightningd.service]", :delayed end