HACKING: small umask tweak for the rootpw (#8541)
This commit is contained in:
parent
1d0b60c481
commit
c8475a8f8e
|
@ -68,7 +68,7 @@ for systemd (this example is for Fedora):
|
||||||
$ meson build # configure the build
|
$ meson build # configure the build
|
||||||
$ ninja -C build # build it locally, see if everything compiles fine
|
$ ninja -C build # build it locally, see if everything compiles fine
|
||||||
$ ninja -C build test # run some simple regression tests
|
$ ninja -C build test # run some simple regression tests
|
||||||
$ echo root123 > mkosi.rootpw # set root password used by mkosi
|
$ (umask 077; echo 123 > mkosi.rootpw) # set root password used by mkosi
|
||||||
$ sudo mkosi # build a test image
|
$ sudo mkosi # build a test image
|
||||||
$ sudo systemd-nspawn -bi image.raw # boot up the test image
|
$ sudo systemd-nspawn -bi image.raw # boot up the test image
|
||||||
$ git add -p # interactively put together your patch
|
$ git add -p # interactively put together your patch
|
||||||
|
|
Loading…
Reference in New Issue