From: Grant Slater Date: Thu, 28 Feb 2019 23:33:52 +0000 (+0000) Subject: Install linux-tools as part of kernel packages X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/0ead2d8fd20c3848cf6b68de2c7726358f37d5e6?hp=0208aa8cceeedcd647c2157921e9da55ad01940a Install linux-tools as part of kernel packages --- diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 739901cf0..b74d4235a 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -109,6 +109,7 @@ if node[:hardware][:grub][:kernel] package "linux-image-#{kernel_version}-generic" package "linux-image-extra-#{kernel_version}-generic" package "linux-headers-#{kernel_version}-generic" + package "linux-tools-#{kernel_version}-generic" boot_device = IO.popen(["df", "/boot"]).readlines.last.split.first boot_uuid = IO.popen(["blkid", "-o", "value", "-s", "UUID", boot_device]).readlines.first.chomp