mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
Update acpica — acpica: 20250404 → 20250807 (#13552)
* Update acpica Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Refactor versioning in workflows, updated workflows to use M142. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust compatibility. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * acpica: Package File Update Run on linux/amd64 container. * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4cf2be9030
commit
cb7002f962
4
.github/workflows/Build.yml
vendored
4
.github/workflows/Build.yml
vendored
@@ -276,7 +276,7 @@ jobs:
|
||||
if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:nocturne-x86_64.m97" >> "$GITHUB_ENV"
|
||||
elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:hatch-x86_64.m141" >> "$GITHUB_ENV"
|
||||
echo "CONTAINER=satmandu/crewbuild:hatch-x86_64.m142" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "CONTAINER=satmandu/crew-pre-glibc-standalone:nocturne-x86_64.m90" >> "$GITHUB_ENV"
|
||||
fi
|
||||
@@ -288,7 +288,7 @@ jobs:
|
||||
if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:fievel-armv7l.m97" >> "$GITHUB_ENV"
|
||||
elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:strongbad-armv7l.m141" >> "$GITHUB_ENV"
|
||||
echo "CONTAINER=satmandu/crewbuild:strongbad-armv7l.m142" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "CONTAINER=satmandu/crew-pre-glibc-standalone:fievel-armv7l.m91" >> "$GITHUB_ENV"
|
||||
fi
|
||||
|
||||
44
.github/workflows/Generate-PR.yml
vendored
44
.github/workflows/Generate-PR.yml
vendored
@@ -266,7 +266,7 @@ jobs:
|
||||
if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:nocturne-x86_64.m97" >> "$GITHUB_ENV"
|
||||
elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:hatch-x86_64.m141" >> "$GITHUB_ENV"
|
||||
echo "CONTAINER=satmandu/crewbuild:hatch-x86_64.m142" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "CONTAINER=satmandu/crew-pre-glibc-standalone:nocturne-x86_64.m90" >> "$GITHUB_ENV"
|
||||
fi
|
||||
@@ -278,7 +278,7 @@ jobs:
|
||||
if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:fievel-armv7l.m97" >> "$GITHUB_ENV"
|
||||
elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:strongbad-armv7l.m141" >> "$GITHUB_ENV"
|
||||
echo "CONTAINER=satmandu/crewbuild:strongbad-armv7l.m142" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "CONTAINER=satmandu/crew-pre-glibc-standalone:fievel-armv7l.m91" >> "$GITHUB_ENV"
|
||||
fi
|
||||
@@ -387,6 +387,8 @@ jobs:
|
||||
- setup
|
||||
- update-package-files
|
||||
if: ${{ ( always() && !cancelled() ) && needs.setup.result == 'success' && ((( inputs.update_package_files ) && needs.update-package-files.result == 'success') || !( inputs.update_package_files )) }}
|
||||
outputs:
|
||||
current_head: ${{ steps.get-current-head.outputs.CURRENT_HEAD }}
|
||||
steps:
|
||||
- name: Fail if update or build jobs failed, otherwise create a PR
|
||||
if: ${{ contains(needs.*.result, 'failure') }}
|
||||
@@ -436,14 +438,17 @@ jobs:
|
||||
git config user.email "${{ github.actor }}@users.noreply.github.com"
|
||||
git checkout master && git fetch origin master
|
||||
git checkout "${{ inputs.branch || github.ref_name }}"
|
||||
# git rebase origin/master || git rebase --abort
|
||||
git log --no-merges --oneline -10
|
||||
git log --no-merges --oneline master..${{ inputs.branch || github.ref_name }} | grep -v "Merge branch 'master'\|Build Run on\|Package File Update Run on\|lint$" | tr '\n' '\0' | xargs -0 -n1 echo "- $*" >> /tmp/commits.txt
|
||||
- name: Get Current HEAD hash
|
||||
id: get-current-head
|
||||
run: |
|
||||
echo "CURRENT_HEAD=$(git ls-remote https://github.com/${{ github.repository }}.git | head -1 | sed 's/HEAD//')" >> "$GITHUB_OUTPUT"
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v47
|
||||
with:
|
||||
base_sha: master
|
||||
base_sha: ${{ steps.get-current-head.outputs.CURRENT_HEAD }}
|
||||
files_yaml: |
|
||||
manifest:
|
||||
- manifest/**
|
||||
@@ -471,7 +476,13 @@ jobs:
|
||||
x86_64_PACKAGES: ${{ needs.setup.outputs.x86_64_packages }}
|
||||
armv7l_PACKAGES: ${{ needs.setup.outputs.armv7l_packages }}
|
||||
run: |
|
||||
# Make untouched clone of repo so we can get the existing versions of packages.
|
||||
(cd /tmp ; git clone --depth=1 https://github.com/${{ github.repository }}.git chromebrew_main )
|
||||
sudo gem install -N ptools --conservative
|
||||
# Make crew do automatic gem installs before looking for deps.
|
||||
LD_LIBRARY_PATH=/usr/local/lib ruby bin/crew version
|
||||
# Force creation of temporary device.json.
|
||||
LD_LIBRARY_PATH=/usr/local/lib ruby bin/crew deps zstd_static
|
||||
function join_by { local IFS="$1"; shift; echo "$*"; }
|
||||
rm -rf /tmp/pr.txt
|
||||
echo -e "## Description" >> /tmp/pr.txt
|
||||
@@ -489,20 +500,23 @@ jobs:
|
||||
echo -e "### Packages with Updated versions or Changed package files:" >> /tmp/pr.txt
|
||||
for file in ${CHANGED_PACKAGES}
|
||||
do
|
||||
pkg_version="$(LD_LIBRARY_PATH=/usr/local/lib ruby tools/version.rb -j "${file}" | jq -r '.[]|.version')"
|
||||
upstream_version="$(LD_LIBRARY_PATH=/usr/local/lib ruby tools/version.rb -j "${file}" | jq -r '.[]|.upstream_version')"
|
||||
# Get version before PR, but do not let a broken version stop us.
|
||||
main_version_string="$(cd /tmp/chromebrew_main ; LD_LIBRARY_PATH=/usr/local/lib ruby bin/crew version ${file} || true)"
|
||||
[[ -n "$main_version_string" ]] && main_version_string=": $main_version_string"
|
||||
pkg_version="$(LD_LIBRARY_PATH=/usr/local/lib ruby bin/crew version ${file})"
|
||||
upstream_version="$(LD_LIBRARY_PATH=/usr/local/lib ruby tools/version.rb -j "${file}" | jq -r '.[]|.upstream_version' || true)"
|
||||
if [[ -z "$pkg_version" ]]; then
|
||||
echo "- ${file}" >> /tmp/pr.txt
|
||||
PKG_DELTA+=( "${file}" )
|
||||
echo "- \`${file}\`${main_version_string}" >> /tmp/pr.txt
|
||||
PKG_DELTA+=( "${file}${main_version_string}" )
|
||||
elif [[ -z "$upstream_version" ]]; then
|
||||
echo "- \`${file}\` → ${pkg_version}" >> /tmp/pr.txt
|
||||
PKG_DELTA+=( "${file} → ${pkg_version}" )
|
||||
echo "- \`${file}\`${main_version_string} → ${pkg_version}" >> /tmp/pr.txt
|
||||
PKG_DELTA+=( "${file}${main_version_string} → ${pkg_version}" )
|
||||
elif [[ "$pkg_version" == "$upstream_version" ]]; then
|
||||
echo "- \`${file}\` → ${pkg_version}" >> /tmp/pr.txt
|
||||
PKG_DELTA+=( "${file} → ${pkg_version}" )
|
||||
echo "- \`${file}\`${main_version_string} → ${pkg_version}" >> /tmp/pr.txt
|
||||
PKG_DELTA+=( "${file}${main_version_string} → ${pkg_version}" )
|
||||
else
|
||||
echo "- \`${file}\` → ${pkg_version} (current version is ${upstream_version})" >> /tmp/pr.txt
|
||||
PKG_DELTA+=( "${file} → ${pkg_version}" )
|
||||
echo "- \`${file}\`${main_version_string} → ${pkg_version} (current version is ${upstream_version})" >> /tmp/pr.txt
|
||||
PKG_DELTA+=( "${file}${main_version_string} → ${pkg_version}" )
|
||||
fi
|
||||
done
|
||||
echo -e "##\nBuilds attempted for:" >> /tmp/pr.txt
|
||||
@@ -521,7 +535,7 @@ jobs:
|
||||
echo -e "##\n- [x] This PR has no manifest .filelist changes. _(Package changes have neither added nor removed files.)_" >> /tmp/pr.txt
|
||||
fi
|
||||
echo -e "##\n### Run the following to get this pull request's changes locally for testing.\n\`\`\`bash" >> /tmp/pr.txt
|
||||
echo -e "CREW_REPO=https://github.com/chromebrew/chromebrew.git CREW_BRANCH=${{ inputs.branch || github.ref_name }} crew update \\" >> /tmp/pr.txt
|
||||
echo -e "CREW_REPO=https://github.com/${{ github.repository }}.git CREW_BRANCH=${{ inputs.branch || github.ref_name }} crew update \\" >> /tmp/pr.txt
|
||||
echo -e "&& yes | crew upgrade\n\`\`\`" >> /tmp/pr.txt
|
||||
[[ -n "${PKG_DELTA[*]}" ]] && PKG_DELTAS="— $(join_by , "${PKG_DELTA[@]}")"
|
||||
echo "PKG_DELTAS: $PKG_DELTAS"
|
||||
|
||||
4
.github/workflows/No-Compile-Needed.yml
vendored
4
.github/workflows/No-Compile-Needed.yml
vendored
@@ -223,7 +223,7 @@ jobs:
|
||||
if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:nocturne-x86_64.m97" >> "$GITHUB_ENV"
|
||||
elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:hatch-x86_64.m141" >> "$GITHUB_ENV"
|
||||
echo "CONTAINER=satmandu/crewbuild:hatch-x86_64.m142" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "CONTAINER=satmandu/crew-pre-glibc-standalone:nocturne-x86_64.m90" >> "$GITHUB_ENV"
|
||||
fi
|
||||
@@ -235,7 +235,7 @@ jobs:
|
||||
if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:fievel-armv7l.m97" >> "$GITHUB_ENV"
|
||||
elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:strongbad-armv7l.m141" >> "$GITHUB_ENV"
|
||||
echo "CONTAINER=satmandu/crewbuild:strongbad-armv7l.m142" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "CONTAINER=satmandu/crew-pre-glibc-standalone:fievel-armv7l.m91" >> "$GITHUB_ENV"
|
||||
fi
|
||||
|
||||
4
.github/workflows/Unit-Test.yml
vendored
4
.github/workflows/Unit-Test.yml
vendored
@@ -154,7 +154,7 @@ jobs:
|
||||
if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:nocturne-x86_64.m97" >> "$GITHUB_ENV"
|
||||
elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:hatch-x86_64.m141" >> "$GITHUB_ENV"
|
||||
echo "CONTAINER=satmandu/crewbuild:hatch-x86_64.m142" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "CONTAINER=satmandu/crew-pre-glibc-standalone:nocturne-x86_64.m90" >> "$GITHUB_ENV"
|
||||
fi
|
||||
@@ -166,7 +166,7 @@ jobs:
|
||||
if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:fievel-armv7l.m97" >> "$GITHUB_ENV"
|
||||
elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:strongbad-armv7l.m141" >> "$GITHUB_ENV"
|
||||
echo "CONTAINER=satmandu/crewbuild:strongbad-armv7l.m142" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "CONTAINER=satmandu/crew-pre-glibc-standalone:fievel-armv7l.m91" >> "$GITHUB_ENV"
|
||||
fi
|
||||
|
||||
10
.github/workflows/Updater-on-Demand.yml
vendored
10
.github/workflows/Updater-on-Demand.yml
vendored
@@ -57,15 +57,19 @@ jobs:
|
||||
git pull
|
||||
git stash drop || true
|
||||
echo "pwd is $(pwd)"
|
||||
# Make crew do automatic gem installs before looking for deps.
|
||||
LD_LIBRARY_PATH=/usr/local/lib ruby bin/crew version
|
||||
# Force creation of temporary device.json.
|
||||
LD_LIBRARY_PATH=/usr/local/lib ruby bin/crew deps zstd_static
|
||||
# Run Update Checks...
|
||||
LD_LIBRARY_PATH=/usr/local/lib ruby tools/version.rb -u -v "${{ inputs.version_cmd_input }}"
|
||||
for i in $(git status --porcelain | awk '{print $2}' | grep ^packages/)
|
||||
do
|
||||
git stash pop || true
|
||||
pkg=${i%.rb}
|
||||
pkg=${pkg#packages/}
|
||||
LD_LIBRARY_PATH=/usr/local/lib ruby tools/version.rb -j ${pkg}
|
||||
LD_LIBRARY_PATH=/usr/local/lib ruby tools/version.rb -j ${pkg} | jq -r '.[]|.version'
|
||||
pkg_version="$(LD_LIBRARY_PATH=/usr/local/lib ruby tools/version.rb -j ${pkg} | jq -r '.[]|.version')"
|
||||
# The updated package version will be the one in the package file.
|
||||
pkg_version="$(LD_LIBRARY_PATH=/usr/local/lib ruby bin/crew version ${pkg})"
|
||||
if [[ -z "$pkg_version" ]]; then
|
||||
branch_tag="$(date -u +%F-%H-%M)"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user