]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
doc/HACKING: show command to set root password in image (#8540)
authorPeter A. Bigot <pab@pabigot.com>
Wed, 21 Mar 2018 22:56:33 +0000 (17:56 -0500)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Mar 2018 22:56:33 +0000 (23:56 +0100)
Fixes #8538

doc/HACKING

index b9c53dc56b540c2f2df361f5d8d5f49217f75dc4..51ff60d1755acca73b02748d75e53c1ccb28b13a 100644 (file)
@@ -68,6 +68,7 @@ for systemd (this example is for Fedora):
         $ 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
+        $ echo root123 > mkosi.rootpw          # set root password used by mkosi
         $ 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