Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
boot-deploy
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jens Reidel
boot-deploy
Commits
59d7a78c
Unverified
Commit
59d7a78c
authored
1 year ago
by
methanal
Committed by
Clayton Craft
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
ci: switch to unpackbooting from osm0sis (MR 57)
parent
c1485972
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ci/integration_test.sh
+5
-6
5 additions, 6 deletions
.ci/integration_test.sh
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
with
6 additions
and
6 deletions
.ci/integration_test.sh
+
5
−
6
View file @
59d7a78c
...
...
@@ -210,17 +210,16 @@ validate_bootimg() {
assert_exists
"
$boot_dir
/boot.img"
mkdir
bootimg_extract
unpack_bootimg
\
--boot_img
"
$boot_dir
/boot.img"
\
--out
bootimg_extract
\
--format
=
mkbootimg
\
unpackbootimg
\
--input
"
$boot_dir
/boot.img"
\
--output
bootimg_extract
\
>
bootimg_extract/mkbootimg_args
# Check that the kernel and initramfs are in the boot image
# and match the source files
assert_same
"
$kernel_with_dtb
"
bootimg_extract/kernel
assert_same
"
$kernel_with_dtb
"
bootimg_extract/
boot.img-
kernel
echo
" Checking that the boot image contains the initramfs"
assert_equal
"
$(
stat
-c
%s bootimg_extract/ramdisk
)
"
"
$(
stat
-c
%s work/
"
$initfs_filename
"
)
"
assert_equal
"
$(
stat
-c
%s bootimg_extract/
boot.img-
ramdisk
)
"
"
$(
stat
-c
%s work/
"
$initfs_filename
"
)
"
}
parse_conf_entry
()
{
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
1
−
0
View file @
59d7a78c
...
...
@@ -20,6 +20,7 @@ integration test:
stage
:
integration tests
before_script
:
-
apk add curl android-tools file
-
apk add --allow-untrusted -X http://mirror.postmarketos.org/postmarketos/master/ mkbootimg-osm0sis
-
curl -fsSL "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh" | sh
-
su pmos -c "pmbootstrap config device ${DEVICE}"
-
su pmos -c "pmbootstrap config ui none"
...
...
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