mirror of
https://github.com/systemd/systemd.git
synced 2026-08-10 17:14:31 +00:00
man/systemd-repart: quote jq expression
Some shells will try to parse this, or expand it, causing an error. Lets quote it so it's simpler for people. Signed-off-by: Morten Linderud <morten@linderud.pw> (cherry picked from commit3242308ce3) (cherry picked from commit32f53e3a78)
This commit is contained in:
committed by
Luca Boccassi
parent
7c41931222
commit
cd5d203a01
@@ -819,7 +819,7 @@ systemd-repart --definitions repart.d \
|
||||
--copy-source=/tmp/tree/ \
|
||||
--empty=create --size=600M \
|
||||
--json=short \
|
||||
/tmp/img.raw | jq --raw-output0 .[-1].roothash > /tmp/img.roothash
|
||||
/tmp/img.raw | jq --raw-output0 ".[-1].roothash" > /tmp/img.roothash
|
||||
|
||||
openssl smime -sign -in /tmp/img.roothash \
|
||||
-inkey verity-private-key.pem \
|
||||
|
||||
Reference in New Issue
Block a user