Skip to content

Commit

Permalink
Initial changes for move to Ubuntu Jammy LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakash Surya committed Feb 21, 2023
1 parent 516133f commit 40690ad
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion live-build/auto/config
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ lb config noauto \
--bootstrap-flavour minimal \
--chroot-filesystem none \
--architectures amd64 \
--distribution focal \
--distribution jammy \
--binary-images none \
--bootloader none \
--system normal \
Expand Down
6 changes: 3 additions & 3 deletions live-build/config/archives/delphix-secondary-mirror.list.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
# limitations under the License.
#

deb @@URL@@ focal main multiverse universe contrib stable
deb @@URL@@ focal-updates main multiverse universe
deb @@URL@@ focal-pgdg main
deb @@URL@@ jammy main multiverse universe contrib stable
deb @@URL@@ jammy-updates main multiverse universe
deb @@URL@@ jammy-pgdg main
2 changes: 1 addition & 1 deletion live-build/config/archives/localhost.list
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# used to serve the repository.
#

deb [trusted=yes] http://localhost:8080 focal main
deb [trusted=yes] http://localhost:8080 jammy main
2 changes: 1 addition & 1 deletion scripts/aptly-repo-from-debs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ rm -rf "$WORK_DIRECTORY"
#
# Generate an Aptly/APT repository
#
aptly repo create -distribution=focal -component=delphix upgrade-repository
aptly repo create -distribution=jammy -component=delphix upgrade-repository
aptly repo add upgrade-repository debs
aptly publish repo -skip-contents -skip-signing upgrade-repository
2 changes: 1 addition & 1 deletion scripts/aptly-repo-from-image-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ popd &>/dev/null || die "'popd' failed"
# system (e.g. "upgrade-image-from-aptly-repo.sh").
#

aptly repo create -distribution=focal -component=delphix upgrade-repository ||
aptly repo create -distribution=jammy -component=delphix upgrade-repository ||
die "failed to create repository: 'upgrade-repository'"
aptly repo search image-a | xargs aptly repo copy image-a upgrade-repository ||
die "failed to copy packages to repository: 'upgrade-repository'"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-ancillary-repository.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function build_ancillary_repository() {

rm -rf "$HOME/.aptly"
aptly repo create \
-distribution=focal -component=main ancillary-repository
-distribution=jammy -component=main ancillary-repository
aptly repo add ancillary-repository "$pkg_directory"
aptly publish repo -skip-contents -skip-signing ancillary-repository

Expand Down
2 changes: 1 addition & 1 deletion scripts/run-live-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ APTLY_SERVE_PID=$!
set +o errexit
attempts=0
while ! curl --output /dev/null --silent --head --fail \
"http://localhost:8080/dists/focal/Release"; do
"http://localhost:8080/dists/jammy/Release"; do
((attempts++))
if [[ $attempts -gt 30 ]]; then
echo "Timed out waiting for ancillary repository." 1>&2
Expand Down
2 changes: 1 addition & 1 deletion upgrade/upgrade-scripts/execute
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ if [[ -f /etc/apt/sources.list ]]; then
fi

cat <<EOF >/etc/apt/sources.list ||
deb [trusted=yes] file://$IMAGE_PATH focal delphix
deb [trusted=yes] file://$IMAGE_PATH jammy delphix
EOF
die "failed to configure apt sources"

Expand Down
2 changes: 1 addition & 1 deletion upgrade/upgrade-scripts/upgrade-container
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function create_upgrade_container() {
#
debootstrap --no-check-gpg --variant=minbase \
--components=delphix --include=ntp,systemd-container \
focal "$DIRECTORY" "file://$IMAGE_PATH" 1>&2 ||
jammy "$DIRECTORY" "file://$IMAGE_PATH" 1>&2 ||
die "failed to debootstrap upgrade filesystem"

#
Expand Down

0 comments on commit 40690ad

Please sign in to comment.