Install linux-tools as part of kernel packages
authorGrant Slater <git@firefishy.com>
Thu, 28 Feb 2019 23:33:52 +0000 (23:33 +0000)
committerGrant Slater <git@firefishy.com>
Thu, 28 Feb 2019 23:33:52 +0000 (23:33 +0000)
cookbooks/hardware/recipes/default.rb

index 739901c..b74d423 100644 (file)
@@ -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