Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steamrt
steam-runtime-tools
Commits
a1f1976d
Commit
a1f1976d
authored
6 years ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
build: Automatically special-case sysroot=/
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
774bf9c5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+4
-0
4 additions, 0 deletions
Makefile
README.md
+8
-4
8 additions, 4 deletions
README.md
with
12 additions
and
4 deletions
Makefile
+
4
−
0
View file @
a1f1976d
...
...
@@ -16,6 +16,9 @@ _build/sysroot.tar.gz: sysroot/debos.yaml
mkdir
-p
$(
dir
$@
)
debos
-t
mirror:
$(
mirror
)
-t
ospack:
$@
sysroot/debos.yaml
ifeq
($(sysroot),/)
in_sysroot
=
else
in_sysroot
=
\
bwrap
\
--ro-bind
$(
CURDIR
)
/
$(
sysroot
)
/
\
...
...
@@ -27,6 +30,7 @@ in_sysroot = \
--chdir
$(
CURDIR
)
\
--setenv
LC_ALL C.UTF-8
\
$(
NULL
)
endif
install
:
rm
-fr
relocatable-install
...
...
This diff is collapsed.
Click to expand it.
README.md
+
8
−
4
View file @
a1f1976d
...
...
@@ -40,13 +40,17 @@ for libcapsule 0.20180430.0 or later, on a system with autoconf-archive
dcmd cp ../build-area/libcapsule_0.20180430.0-0co1.dsc .
To make the built version compatible with older systems, you will need a
Debian 8 'jessie'
chroo
t with some extra packages. SteamOS 2 'brewmaster'
Debian 8 'jessie'
environmen
t with some extra packages. SteamOS 2 'brewmaster'
is not suitable, because its amd64 and i386 linux-libc-dev packages are
not co-installable.
The build also needs
`bubblewrap`
. To make the relocatable installation,
by default it relies on
[
debos
][]
and
[
qemu-system-x86_64
][
qemu
]
. If
you have that, you can just run:
The simplest way is to do the build in a Debian 8 'jessie' container:
make sysroot=/
Alternatively, you can use
`bubblewrap`
to enter a sysroot prepared
using
[
debos
][]
and
[
qemu-system-x86_64
][
qemu
]
. If
you have all those, you can just run:
make
...
...
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