Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-debian-packages
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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Reform
reform-debian-packages
Commits
e236ce56
Verified
Commit
e236ce56
authored
1 year ago
by
Johannes Schauer Marin Rodrigues
Browse files
Options
Downloads
Patches
Plain Diff
.gitlab-ci.yml: fix experimental fallback to unstable
parent
1fd1cc1a
No related branches found
Branches containing commit
No related tags found
1 merge request
!23
rebase patches on 6.7.7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+12
-8
12 additions, 8 deletions
.gitlab-ci.yml
with
12 additions
and
8 deletions
.gitlab-ci.yml
+
12
−
8
View file @
e236ce56
...
...
@@ -31,10 +31,11 @@ stages:
runuser -u build -- sh -c 'mkdir -p changes buildlogs ~/.cache/sbuild'
if [ "$BASESUITE" = "experimental" ]; then
runuser -u build -- sh -c 'ln -s unstable-amd64.tar ~/.cache/sbuild/experimental-amd64.tar'
BASESUITE=unstable
fi
runuser -u build -- sh -c "cp chroot-amd64.tar ~/.cache/sbuild/$BASESUITE-amd64.tar"
runuser -u build -- sh -c "cp chroot-arm64.tar ~/.cache/sbuild/$BASESUITE-arm64.tar"
for arch in amd64 arm64; do
# running in a runuser sub-shell to properly expand ~
runuser -u build -- sh -c "cp chroot-${arch}.tar ~/.cache/sbuild/$([ "$BASESUITE" = "experimental" ] && echo unstable || echo "$BASESUITE")-$arch.tar"
done
chown build -R .
setup
:
...
...
@@ -57,15 +58,12 @@ setup:
adduser --comment build --disabled-password build
chown build -R .
rm -rvf changes buildlogs chdist repo chroot-amd64.tar chroot-arm64.tar
if [ "$BASESUITE" = "experimental" ]; then
BASESUITE=unstable
fi
runuser -u build -- mmdebstrap --architecture=amd64 --variant=buildd --mode=unshare \
--chrooted-customize-hook='rm /usr/bin/ischroot && ln -s /bin/true /usr/bin/ischroot' ${IFS# DebianBug:1056385} \
$BASESUITE chroot-amd64.tar
"$([ "
$BASESUITE
" = "experimental" ] && echo unstable || echo "$BASESUITE")"
chroot-amd64.tar
runuser -u build -- mmdebstrap --architecture=arm64 --variant=buildd --mode=unshare \
--chrooted-customize-hook='rm /usr/bin/ischroot && ln -s /bin/true /usr/bin/ischroot' ${IFS# DebianBug:1056385} \
$BASESUITE chroot-arm64.tar
"$([ "
$BASESUITE
" = "experimental" ] && echo unstable || echo "$BASESUITE")"
chroot-arm64.tar
runuser -u build -- sh -x ./setup.sh
build_patched
:
...
...
@@ -103,6 +101,9 @@ build_patched:
done
fi
done
if [ "$BASESUITE" = "experimental" ]; then
BASESUITE=unstable
fi
runuser -u build -- sh -x ./build_patched.sh 2>&1 | ./filter-output
build_custom
:
...
...
@@ -138,6 +139,9 @@ build_linux:
script
:
|
runuser -u build -- sh -xc '. ./common.sh; cd linux; . ./build.sh' 2>&1 | ./filter-output
dpkg-deb -c changes/linux-image-*-reform2-arm64_*_arm64.deb | grep 'kernel/drivers/gpu/drm/imx\(/cdns\)\?/cdns_mhdp_imx.ko'
echo "BASESUITE: $BASESUITE"
echo "OURSUITE: $OURSUITE"
echo "REFORM_TOOLS_BRANCH: $REFORM_TOOLS_BRANCH"
reprepro
:
stage
:
reprepro
...
...
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