Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sudo to etc/locatime symlink creation #15150

Merged
merged 1 commit into from
Feb 3, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ endef
# juju package. It's expected that the make target using this sequence has a
# local variable defined for PACKAGE. An example of PACKAGE would be
# PACKAGE=github.com/juju/juju
#
#
# This canned command also allows building for architectures defined as
# ppc64el. Because of legacy Juju we use the arch ppc64el over the go defined
# arch of ppc64le. This canned command will do a last minute transformation of
Expand Down
4 changes: 2 additions & 2 deletions scripts/dqlite/scripts/dqlite/dqlite-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build() {
fi

# Ensure that when apt installs tzdata skips it's prompt in all contexts
ln -fs /usr/share/zoneinfo/UTC /etc/localtime
sudo ln -fs /usr/share/zoneinfo/UTC /etc/localtime

# TODO: Make this script idempotent, so that it checks for the
# existence of repositories, requiring only a pull and not a full clone.
Expand Down Expand Up @@ -161,4 +161,4 @@ build() {
echo "dqlite ${TAG_DQLITE}" >> juju-dqlite-static-lib-deps/BOM

tar cjvf juju-dqlite-static-lib-deps.tar.bz2 juju-dqlite-static-lib-deps
}
}