summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-07-13 19:38:50 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-07-18 10:05:06 -0400
commit02263eb75ef2f2b6e46d36232c0470f297225e83 (patch)
tree6d0a27776cbaf2a314b6ac1405793499c8bc98bc /HACKING
parent26116187dd45fa08b12e486c5833b1bd705edfe0 (diff)
downloadsystemd-02263eb75ef2f2b6e46d36232c0470f297225e83.tar.gz
HACKING: update for meson
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING12
1 files changed, 7 insertions, 5 deletions
diff --git a/HACKING b/HACKING
index 193cff13f7..d9d2043821 100644
--- a/HACKING
+++ b/HACKING
@@ -56,15 +56,17 @@ for systemd (this example is for Fedora):
$ git clone https://github.com/systemd/systemd.git
$ cd systemd
$ vim src/core/main.c # or wherever you'd like to make your changes
- $ ./autogen.sh c # configure the source tree
- $ make -j `nproc` # build it locally, see if everything compiles fine
- $ make -j `nproc` check # run some simple regression tests
+ $ meson build # configure the build
+ $ ninja -C build # build it locally, see if everything compiles fine
+ $ ninja -C build test # run some simple regression tests
$ sudo mkosi # build a test image
$ sudo systemd-nspawn -bi image.raw # boot up the test image
$ git add -p # interactively put together your patch
$ git commit # commit it
- $ ...
+ $ git push REMOTE HEAD:refs/heads/BRANCH
+ # where REMOTE is your "fork" on github
+ # and BRANCH is a branch name.
-And after that, please submit your branch as PR to systemd via github.
+And after that, head over to your repo on github and click "Compare & pull request"
Happy hacking!