Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 8 additions & 19 deletions packages/grub2/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,18 @@
# shellcheck disable=SC2034

DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/grub2"
SKIP_COPYRIGHTS_CHECK=true

UPSTREAM_GIT_URL=https://git.launchpad.net/ubuntu/+source/grub2
UPSTREAM_GIT_BRANCH="applied/ubuntu/${UBUNTU_DISTRIBUTION}-updates"
URI="s3://release-de-images/internal-artifacts/2025.3.0.1/1.0.53/input-artifacts/combined-packages/packages/grub2"

SKIP_COPYRIGHTS_CHECK=true
function fetch() {
logmust cd "$WORKDIR/artifacts"

#
# Install build dependencies for the package.
#
function prepare() {
logmust install_build_deps_from_control_file
logmust aws s3 sync "$URI" .
logmust sha256sum -c SHA256SUMS
}

#
# Build the package.
#
function build() {
logmust dpkg_buildpackage_default
}

#
# Hook to fetch upstream package changes and merge into our tree.
#
function update_upstream() {
logmust update_upstream_from_git
return
# Nothing to do, all the logic is done in fetch().
}
Loading