1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-06 17:18:12 +03:00

docs/package-notes: minor corrections

Some small grammar cleanups, syntax highligthing,
semantic line breaks, missing version in a list.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-12-19 11:36:03 +01:00
parent 6e09210459
commit 03d28cf16f

View File

@ -65,10 +65,11 @@ Value: a single JSON object encoded as a zero-terminated UTF-8 string
} }
``` ```
The format is a single JSON object, encoded as a zero-terminated `UTF-8` string. The format is a single JSON object,
encoded as a zero-terminated `UTF-8` string.
Each name in the object shall be unique as per recommendations of Each name in the object shall be unique as per recommendations of
[RFC8259](https://datatracker.ietf.org/doc/html/rfc8259#section-4). Strings shall [RFC8259](https://datatracker.ietf.org/doc/html/rfc8259#section-4).
not contain any control character, nor use `\uXXX` escaping. Strings shall not contain any control characters or use `\uXXX` escaping.
When it comes to JSON numbers, this specification assumes that JSON parsers When it comes to JSON numbers, this specification assumes that JSON parsers
processing this information are capable of reproducing the full signed 53bit processing this information are capable of reproducing the full signed 53bit
@ -82,9 +83,11 @@ types and ranges.
Reference implementations of [packaging tools for .deb and .rpm](https://github.com/systemd/package-notes) Reference implementations of [packaging tools for .deb and .rpm](https://github.com/systemd/package-notes)
are available, and provide macros/helpers to include the note in binaries built are available, and provide macros/helpers to include the note in binaries built
by the package build system. They make use of the new `--package-metadata` flag that by the package build system.
is available in the bfd, gold, mold and lld linkers (versions 2.39, 1.3.0 and 15.0 They make use of the new `--package-metadata=` flag that is available in the
respectively). This linker flag takes a JSON payload as parameter. `bfd`, `gold`, `mold`, and `lld` linkers
(versions 2.39, 2.39, 1.3.0, and 15.0 respectively).
This linker flag takes the JSON payload as parameter.
## Well-known keys ## Well-known keys