From a06fcafa0f8275f66d3c97207c80a24b4592f8ab Mon Sep 17 00:00:00 2001 From: Manoj Joseph Date: Mon, 13 Apr 2026 23:59:18 -0700 Subject: [PATCH] DLPX-96945 Add chrony to linux-pkg PR URL: https://www.github.com/delphix/linux-pkg/pull/390 --- package-lists/build/main.pkgs | 1 + packages/chrony/config.sh | 36 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 packages/chrony/config.sh diff --git a/package-lists/build/main.pkgs b/package-lists/build/main.pkgs index 429b5c7..b640802 100644 --- a/package-lists/build/main.pkgs +++ b/package-lists/build/main.pkgs @@ -4,6 +4,7 @@ bcc challenge-response +chrony cloud-init crash-python crypt-blowfish diff --git a/packages/chrony/config.sh b/packages/chrony/config.sh new file mode 100644 index 0000000..8da41bd --- /dev/null +++ b/packages/chrony/config.sh @@ -0,0 +1,36 @@ +#!/usr/bin/env bash +# +# Copyright 2026 Delphix +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# shellcheck disable=SC2034 + +DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/chrony.git" + +UPSTREAM_SOURCE_PACKAGE=chrony +UPSTREAM_GIT_URL=https://git.launchpad.net/ubuntu/+source/chrony +UPSTREAM_GIT_BRANCH="applied/ubuntu/${UBUNTU_DISTRIBUTION}-updates" + + +function prepare() { + logmust install_build_deps_from_control_file +} + +function build() { + logmust dpkg_buildpackage_default +} + +function update_upstream() { + logmust update_upstream_from_source_package +}