This is an automated email from the ASF dual-hosted git repository.

iwasakims pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new f369f3941 BIGTOP-4268. Add libtirpc-dev to the toolchain for Ubuntu 
24.04. (#1304)
f369f3941 is described below

commit f369f3941ffa18deeaf0b57f151892a34bbf5bd0
Author: Kengo Seki <[email protected]>
AuthorDate: Fri Nov 22 16:26:15 2024 +0900

    BIGTOP-4268. Add libtirpc-dev to the toolchain for Ubuntu 24.04. (#1304)
---
 bigtop_toolchain/manifests/packages.pp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/bigtop_toolchain/manifests/packages.pp 
b/bigtop_toolchain/manifests/packages.pp
index 3a495d9ea..62115dd09 100644
--- a/bigtop_toolchain/manifests/packages.pp
+++ b/bigtop_toolchain/manifests/packages.pp
@@ -232,7 +232,7 @@ class bigtop_toolchain::packages {
        "yasm"
     ] }
     /(Ubuntu|Debian)/: {
-      $pkgs = [
+      $_pkgs = [
         "unzip",
         "curl",
         "wget",
@@ -289,6 +289,11 @@ class bigtop_toolchain::packages {
         "nasm",
         "yasm"
       ]
+      if ($operatingsystem == 'Ubuntu' and 
versioncmp($operatingsystemmajrelease, '24.04') >= 0) {
+        $pkgs = concat($_pkgs, ["libtirpc-dev"])
+      } else {
+        $pkgs = $_pkgs
+      }
 
       file { '/etc/apt/apt.conf.d/01retries':
         content => 'Aquire::Retries "5";'

Reply via email to