Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
steam
systemd
Commits
0f559ca4
Commit
0f559ca4
authored
Apr 26, 2014
by
Michael Stapelberg
Browse files
Update README.source with git-buildpackage instructions.
parent
bc8afc35
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/README.source
View file @
0f559ca4
To build systemd from source, install “gitpkg” and run the following steps:
To build systemd from source, install “git-buildpackage” and run the following
steps:
g
it
clone git+ssh://git.debian.org/git/pkg-systemd/systemd.git
g
bp-
clone git+ssh://git.debian.org/git/pkg-systemd/systemd.git
cd systemd
git checkout upstream-fixes
git checkout pristine-tar
git checkout debian
cat >> .git/config <<'EOT'
[gitpkg]
pre-export-hook = /usr/share/gitpkg/hooks/pristine-tar-pre-export-hook
deb-export-hook = ./debian/systemd-hack-up-the-source.hook
orig-compressor = xz
create-fake-orig = false
force-overwrite-orig = false
EOT
gitpkg debian
git-buildpackage
In ../deb-packages/systemd, you’ll now find the generated package, with a .dsc
file that you can just feed to cowbuilder/
pbuilder
.
We recommend you use pbuilder to make sure you build in a clean environment:
git-buildpackage --git-
pbuilder
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment