From 1a7bb31edfbcba9190b4899befc39de1f48e1a27 Mon Sep 17 00:00:00 2001 From: kautilya-perforce Date: Tue, 16 Jun 2026 12:28:42 +0530 Subject: [PATCH] HM-5952 Add mount-s3 package for Hyperscale S3 FUSE driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a new linux-pkg package for mount-s3 (Mountpoint for Amazon S3 v1.22.3). mount-s3 has no apt repository — Amazon distributes it only as a direct .deb download. The package fetches the deb from Artifactory (linux-pkg/mount-s3/) where it must be pre-uploaded before building. Also adds mount-s3 to package-lists/build/main.pkgs so it is included in the Delphix appliance image bundle. Pre-requisite: upload mount-s3_1.22.3_amd64.deb to Artifactory at http://artifactory.delphix.com/artifactory/linux-pkg/mount-s3/ SHA256: 259a793b1233258b35ce5ce902df177393542fd76dd2a606f07e800e28591df6 Source: https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.deb DLPXECO-13872 Co-Authored-By: Claude Sonnet 4.6 --- package-lists/build/main.pkgs | 1 + packages/mount-s3/config.sh | 49 +++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 packages/mount-s3/config.sh diff --git a/package-lists/build/main.pkgs b/package-lists/build/main.pkgs index 4b7cce61..c311c3c8 100644 --- a/package-lists/build/main.pkgs +++ b/package-lists/build/main.pkgs @@ -23,6 +23,7 @@ libkdumpfile make-jpkg makedumpfile masking +mount-s3 nfs-utils performance-diagnostics ptools diff --git a/packages/mount-s3/config.sh b/packages/mount-s3/config.sh new file mode 100644 index 00000000..4a1611c9 --- /dev/null +++ b/packages/mount-s3/config.sh @@ -0,0 +1,49 @@ +#!/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 + +# +# mount-s3 (Mountpoint for Amazon S3) — FUSE driver for mounting S3 buckets. +# +# mount-s3 has no apt repository; Amazon only distributes it as a direct .deb +# download from S3. The .deb has been uploaded to Artifactory for reproducible +# builds. Required by HM-5952 for the Hyperscale Snowflake connector to mount +# S3 staging areas at /mnt/hyperscale. +# +# Source: https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.deb +# OSRB tracking: DLPXECO-13872 +# + +DEFAULT_PACKAGE_GIT_URL=none +SKIP_COPYRIGHTS_CHECK=true + +_DEB="mount-s3_1.22.3_amd64.deb" +_DEB_SHA256="259a793b1233258b35ce5ce902df177393542fd76dd2a606f07e800e28591df6" + +function fetch() { + logmust cd "$WORKDIR/artifacts" + + local url="http://artifactory.delphix.com/artifactory/linux-pkg/mount-s3/$_DEB" + logmust fetch_file_from_artifactory "$url" "$_DEB_SHA256" + + echo "Fetched: $_DEB ($_DEB_SHA256)" >BUILD_INFO +} + +function build() { + # Nothing to do — the deb is fetched directly in fetch(). + return +}