Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jdk17u
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
einsteinathome
openjdk
jdk17u
Commits
2a9bd220
Commit
2a9bd220
authored
6 months ago
by
Fei Yang
Browse files
Options
Downloads
Patches
Plain Diff
8342578: GHA: RISC-V: Bootstrap using Debian snapshot is still failing
Backport-of: 239d84a82a1e6f4ebbd5c5abb320e39cfd5bc330
parent
00fa4dfa
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/build-cross-compile.yml
+5
-1
5 additions, 1 deletion
.github/workflows/build-cross-compile.yml
with
5 additions
and
1 deletion
.github/workflows/build-cross-compile.yml
+
5
−
1
View file @
2a9bd220
...
@@ -84,7 +84,7 @@ jobs:
...
@@ -84,7 +84,7 @@ jobs:
-
target-cpu
:
riscv64
-
target-cpu
:
riscv64
gnu-arch
:
riscv64
gnu-arch
:
riscv64
debian-arch
:
riscv64
debian-arch
:
riscv64
debian-repository
:
https://
snapshot
.debian.org/
archive/debian/20240228T034848Z
/
debian-repository
:
https://
httpredir
.debian.org/
debian
/
debian-version
:
sid
debian-version
:
sid
tolerate-sysroot-errors
:
true
tolerate-sysroot-errors
:
true
...
@@ -131,6 +131,7 @@ jobs:
...
@@ -131,6 +131,7 @@ jobs:
id
:
create-sysroot
id
:
create-sysroot
run
:
>
run
:
>
sudo debootstrap
sudo debootstrap
--no-merged-usr
--arch=${{ matrix.debian-arch }}
--arch=${{ matrix.debian-arch }}
--verbose
--verbose
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
...
@@ -151,6 +152,9 @@ jobs:
...
@@ -151,6 +152,9 @@ jobs:
rm -rf sysroot/usr/{sbin,bin,share}
rm -rf sysroot/usr/{sbin,bin,share}
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
rm -rf sysroot/usr/libexec/gcc
rm -rf sysroot/usr/libexec/gcc
# /{bin,sbin,lib}/ are not symbolic links to /usr/{bin,sbin,lib}/ when debootstrap with --no-merged-usr
rm -rf sysroot/{sbin,bin}
rm -rf sysroot/lib/{udev,systemd}
if
:
steps.create-sysroot.outcome == 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
if
:
steps.create-sysroot.outcome == 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
-
name
:
'
Remove
broken
sysroot'
-
name
:
'
Remove
broken
sysroot'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment