Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flatdeb-steam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
steamrt
flatdeb-steam
Commits
e61af940
Commit
e61af940
authored
6 years ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
debos: Label each step
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
3e68f71b
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
flatdeb/debos-base.yaml
+11
-0
11 additions, 0 deletions
flatdeb/debos-base.yaml
flatdeb/debos-runtimes.yaml
+29
-0
29 additions, 0 deletions
flatdeb/debos-runtimes.yaml
with
40 additions
and
0 deletions
flatdeb/debos-base.yaml
+
11
−
0
View file @
e61af940
...
...
@@ -16,6 +16,7 @@ architecture: {{ $architecture }}
actions
:
# Make sure Ubuntu precise doesn't try to migrate /run
-
action
:
run
label
:
create skeleton chroot
command
:
|
install -d "$ROOTDIR"
install -d "$ROOTDIR/run"
...
...
@@ -53,10 +54,12 @@ actions:
source
:
suites/{{ $suite }}/overlay
-
action
:
run
label
:
remove extra apt sources
chroot
:
false
command
:
'
rm
-fr
"$ROOTDIR/etc/apt/sources.list.d"'
-
action
:
run
label
:
list apt configuration
chroot
:
false
command
:
'
find
"$ROOTDIR/etc/apt"
-ls'
...
...
@@ -69,34 +72,41 @@ actions:
{{
end
}}
-
action
:
run
label
:
disable-services
chroot
:
false
command
:
'
"$RECIPEDIR/disable-services"
"$ROOTDIR"'
-
action
:
run
label
:
clean-up-base
chroot
:
false
command
:
'
"$RECIPEDIR/clean-up-base"
"$ROOTDIR"'
{{
if eq $mergedusr "after_debootstrap"
}}
-
action
:
run
label
:
usrmerge
chroot
:
false
command
:
'
"$RECIPEDIR/usrmerge"
"$ROOTDIR"'
{{
end
}}
{{
if $foreignarchs
}}
-
action
:
run
label
:
add-foreign-architectures
chroot
:
false
command
:
'
"$RECIPEDIR/add-foreign-architectures"
"$ROOTDIR"
{{
$foreignarchs
}}'
{{
end
}}
-
action
:
run
label
:
apt update
chroot
:
true
command
:
'
apt-get
-y
-q
update'
-
action
:
run
label
:
apt dist-upgrade
chroot
:
true
command
:
'
DEBIAN_FRONTEND=noninteractive
apt-get
-y
-q
dist-upgrade'
-
action
:
run
label
:
write-manifest
chroot
:
false
command
:
|
"$RECIPEDIR/write-manifest" "$ROOTDIR"
...
...
@@ -106,6 +116,7 @@ actions:
# No point in archiving these
-
action
:
run
label
:
clean-up-before-pack
chroot
:
false
command
:
'
"$RECIPEDIR/clean-up-before-pack"
"$ROOTDIR"'
...
...
This diff is collapsed.
Click to expand it.
flatdeb/debos-runtimes.yaml
+
29
−
0
View file @
e61af940
...
...
@@ -27,21 +27,25 @@ actions:
# TODO: This duplicates what we should have done in debos-base.yaml
-
action
:
run
label
:
disable-services
chroot
:
false
command
:
'
"$RECIPEDIR/disable-services"
"$ROOTDIR"'
# TODO: This duplicates what we should have done in debos-base.yaml
-
action
:
run
label
:
clean-up-base
chroot
:
false
command
:
'
"$RECIPEDIR/clean-up-base"
"$ROOTDIR"'
-
action
:
run
label
:
prepare-runtime
chroot
:
false
command
:
'
"$RECIPEDIR/prepare-runtime"
"$ROOTDIR"'
{{
if $packages
}}
{{
if $apt_debug
}}
-
action
:
run
label
:
apt-install
chroot
:
false
command
:
$RECIPEDIR/apt-install "$ROOTDIR" "$RECIPEDIR/runtimes/{{ $runtime }}/packages.yaml"
{{
else
}}
...
...
@@ -58,6 +62,7 @@ actions:
{{
if and $sdk $sdk_packages
}}
{{
if $apt_debug
}}
-
action
:
run
label
:
apt-install
chroot
:
false
command
:
$RECIPEDIR/apt-install "$ROOTDIR" "$RECIPEDIR/runtimes/{{ $runtime }}/sdk_packages.yaml"
{{
else
}}
...
...
@@ -69,16 +74,19 @@ actions:
{{
if not $sdk
}}
-
action
:
run
label
:
platformize
chroot
:
false
command
:
'
"$RECIPEDIR/platformize"
"$ROOTDIR"'
{{
end
}}
-
action
:
run
label
:
purge-conffiles
chroot
:
false
command
:
'
"$RECIPEDIR/purge-conffiles"
"$ROOTDIR"'
{{
if $post_script
}}
-
action
:
run
label
:
post_script
chroot
:
true
script
:
'
{{
$post_script
}}'
{{
end
}}
...
...
@@ -86,22 +94,26 @@ actions:
{{
if $sdk
}}
{{
if $sdk_post_script
}}
-
action
:
run
label
:
sdk_post_script
chroot
:
true
script
:
'
{{
$sdk_post_script
}}'
{{
end
}}
{{
else
}}
{{
if $platform_post_script
}}
-
action
:
run
label
:
platform_post_script
chroot
:
true
script
:
'
{{
$platform_post_script
}}'
{{
end
}}
{{
end
}}
-
action
:
run
label
:
purge-conffiles again
chroot
:
false
command
:
'
"$RECIPEDIR/purge-conffiles"
"$ROOTDIR"'
-
action
:
run
label
:
write-manifest
chroot
:
false
command
:
|
"$RECIPEDIR/write-manifest" "$ROOTDIR"
...
...
@@ -111,50 +123,63 @@ actions:
{{
if $sdk
}}
-
action
:
run
label
:
copy manifest from platform
chroot
:
false
command
:
'
cp
"$RECIPEDIR/manifest.dpkg.platform"
"$ROOTDIR/usr"'
-
action
:
run
label
:
copy manifest from platform
chroot
:
false
command
:
'
cp
"$RECIPEDIR/manifest.dpkg.built-using.platform"
"$ROOTDIR/usr"'
-
action
:
run
label
:
copy manifest from platform
chroot
:
false
command
:
'
cp
"$RECIPEDIR/manifest.platform.deb822.gz"
"$ROOTDIR/usr"'
-
action
:
run
label
:
collect-source-code
chroot
:
false
command
:
'
"$RECIPEDIR/collect-source-code"
--strip-source-version-suffix="{{
$strip_source_version_suffix
}}"
"$ROOTDIR"'
{{
else
}}
-
action
:
run
label
:
copy manifest for SDK
chroot
:
false
command
:
'
cp
"$ROOTDIR/usr/manifest.dpkg"
"$RECIPEDIR/manifest.dpkg.platform"'
-
action
:
run
label
:
copy manifest for SDK
chroot
:
false
command
:
'
cp
"$ROOTDIR/usr/manifest.dpkg.built-using"
"$RECIPEDIR/manifest.dpkg.built-using.platform"'
-
action
:
run
label
:
copy manifest for SDK
chroot
:
false
command
:
'
mv
"$ROOTDIR/usr/manifest.deb822.gz"
"$RECIPEDIR/manifest.platform.deb822.gz"'
-
action
:
run
label
:
dpkg --purge dpkg
chroot
:
true
command
:
'
dpkg
--purge
--force-remove-essential
--force-depends
dpkg'
{{
end
}}
-
action
:
run
label
:
hard-link-alternatives
chroot
:
true
script
:
hard-link-alternatives
-
action
:
run
label
:
usrmerge
chroot
:
false
command
:
'
"$RECIPEDIR/usrmerge"
"$ROOTDIR"'
-
action
:
run
label
:
put-ldconfig-in-path
chroot
:
true
script
:
put-ldconfig-in-path
{{
if $sdk
}}
-
action
:
run
label
:
make-flatpak-friendly --sdk
chroot
:
false
command
:
'
"$RECIPEDIR/make-flatpak-friendly"
--sdk
"$ROOTDIR"'
{{
else
}}
-
action
:
run
label
:
make-flatpak-friendly
chroot
:
false
command
:
'
"$RECIPEDIR/make-flatpak-friendly"
"$ROOTDIR"'
{{
end
}}
...
...
@@ -168,10 +193,12 @@ actions:
# TODO: ca-certificates extension to get newer certs?
-
action
:
run
label
:
create ostree/main
chroot
:
false
command
:
'
install
-d
"$ROOTDIR/ostree/main"'
-
action
:
run
label
:
move usr to ostree/main/files
chroot
:
false
command
:
'
mv
"$ROOTDIR/usr"
"$ROOTDIR/ostree/main/files"'
...
...
@@ -179,11 +206,13 @@ actions:
source
:
runtimes/{{ $runtime }}/overlay
-
action
:
run
label
:
pack ostree/main
chroot
:
false
command
:
'
tar
-zcf
"$ARTIFACTDIR/{{
$ostree_tarball
}}"
-C
"$ROOTDIR/ostree/main"
files
metadata'
{{
if $sdk
}}
-
action
:
run
label
:
pack ostree/source
chroot
:
false
command
:
'
tar
-zcf
"$ARTIFACTDIR/{{
$sources_tarball
}}"
-C
"$ROOTDIR/ostree/source"
.'
{{
end
}}
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