forked from canonical/lxd-pkg-snap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request canonical#449 from tomponline/5.21-candidate
dqlite: Cherry-pick revert tolerance for EAGAIN when probing async I/O to fix btrfs issues (5.21-candidate)
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,10 +57,10 @@ jobs: | |
go install github.com/canonical/lxd-ci/lxd-snapcraft@latest | ||
git clone -b "${TARGET}" git+ssh://[email protected]/~canonical-lxd/lxd ~/lxd-pkg-snap-lp | ||
# XXX: `originVer` contains an array with the 2 versions | ||
originVer=($(lxd-snapcraft -get-version -file snapcraft.yaml)) | ||
originVer=($(lxd-snapcraft -package lxd -get-version -file snapcraft.yaml)) | ||
rsync -a --exclude .git --delete . ~/lxd-pkg-snap-lp/ | ||
cd ~/lxd-pkg-snap-lp | ||
lxd-snapcraft -set-version "${originVer[0]}-${localRev:0:7}" -set-source-commit "" | ||
lxd-snapcraft -package lxd -set-version "${originVer[0]}-${localRev:0:7}" -set-source-commit "" | ||
git add --all | ||
git commit --all --quiet -s --allow-empty -m "Automatic upstream build (${TARGET})" -m "Upstream commit: ${localRev}" | ||
git show | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -275,7 +275,8 @@ parts: | |
after: | ||
- sqlite | ||
source: https://github.com/canonical/dqlite | ||
source-depth: 1 | ||
# XXX: We often cherry-pick for candidate builds so don't do shallow clone | ||
#source-depth: 1 | ||
source-tag: v1.16.4 | ||
source-type: git | ||
plugin: autotools | ||
|
@@ -294,6 +295,17 @@ parts: | |
- lib/libdqlite*so* | ||
- lib/*/libuv* | ||
#- lib/*/liblz4.so* # use liblz4.so from the base snap | ||
override-build: | | ||
set -ex | ||
# Git cherry-picks | ||
cd ../src | ||
git config user.email "[email protected]" | ||
git config user.name "LXD snap builder" | ||
git cherry-pick -x 14bc162cb99a42ed3417c0356962d04e56015365 # Revert tolerance for EAGAIN when probing async I/O | ||
craftctl default | ||
edk2: | ||
after: | ||
|
@@ -1406,6 +1418,7 @@ parts: | |
git cherry-pick -x 81de9aaae166f204bd0901fbd0abb46582e87684 # lxd/api/metrics: Avoid repeated calls to wg.Add in metricsGet | ||
git cherry-pick -x 5ddbe0849827421669ec6633bc5d1bb5a8e8d7cc # lxd/config/default: Add images to DefaultRemotes | ||
git cherry-pick -x cc890c8c4a39e9b52f69fc66640fbffdc2ab2e9f # lxd/device/device_utils_disk: fix diskAddRootUserNSEntry to add root mapping only if it's required | ||
git cherry-pick -x 5c46455fbb5f3f63620bf63e4b65bdc87b9aca72 # doc: pin version of myst-parser | ||
# Setup build environment | ||
export GOPATH="$(realpath ./.go)" | ||
|