]> git.openstreetmap.org Git - chef.git/commitdiff
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 739901cf0fab2fc79a3bb12ef4398b8128971b59..b74d4235ab71045fd62576c7069b70dbb4cf3c7b 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