Skip to content

Commit d09fd41

Browse files
committed
DLPX-96945 Add chrony to linux-pkg
1 parent 26ffd5c commit d09fd41

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

package-lists/build/main.pkgs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
bcc
66
challenge-response
7+
chrony
78
cloud-init
89
crash-python
910
crypt-blowfish

packages/chrony/config.sh

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2026 Delphix
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# shellcheck disable=SC2034
18+
19+
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/chrony.git"
20+
21+
UPSTREAM_SOURCE_PACKAGE=chrony
22+
UPSTREAM_GIT_URL=https://git.launchpad.net/ubuntu/+source/chrony
23+
UPSTREAM_GIT_BRANCH="applied/ubuntu/${UBUNTU_DISTRIBUTION}-updates"
24+
25+
26+
function prepare() {
27+
logmust install_build_deps_from_control_file
28+
}
29+
30+
function build() {
31+
logmust dpkg_buildpackage_default
32+
}
33+
34+
function update_upstream() {
35+
logmust update_upstream_from_source_package
36+
}

0 commit comments

Comments
 (0)