From: Peter A. Bigot Date: Wed, 21 Mar 2018 22:56:33 +0000 (-0500) Subject: doc/HACKING: show command to set root password in image (#8540) X-Git-Tag: v239~498 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fsystemd.git;a=commitdiff_plain;h=e9cbef7dc96faaf01a68d064b9b584651a5fbc2d doc/HACKING: show command to set root password in image (#8540) Fixes #8538 --- diff --git a/doc/HACKING b/doc/HACKING index b9c53dc56b5..51ff60d1755 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -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