diff options
author | Kristian Klausen <kristian@klausen.dk> | 2021-09-01 18:21:39 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-02 12:12:08 +0100 |
commit | 75d9a77eba40d8494063f73b666cd73640be5a6f (patch) | |
tree | 7b845fac6745d34cdfb38dc64d4833a875bb4502 | |
parent | e1986db49b89416961e35d026043f504db36d82e (diff) | |
download | poky-75d9a77eba40d8494063f73b666cd73640be5a6f.tar.gz |
systemd: Add repart PACKAGECONFIG
systemd-repart[1] is useful for partitioning the disk:
"systemd-repart grows and adds partitions to a partition table, based on
the configuration files described in repart.d(5)."[1]
openssl is required by repart, so it can be enabled like so:
PACKAGECONFIG += "openssl repart"
[1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html
(From OE-Core rev: a9fb51b75d4536d13734d91222bb0bc612555ae2)
Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/systemd/systemd_249.3.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_249.3.bb b/meta/recipes-core/systemd/systemd_249.3.bb index a6759c7a35..c2d4343f10 100644 --- a/meta/recipes-core/systemd/systemd_249.3.bb +++ b/meta/recipes-core/systemd/systemd_249.3.bb | |||
@@ -132,6 +132,7 @@ PACKAGECONFIG[efi] = "-Defi=true,-Defi=false" | |||
132 | PACKAGECONFIG[gnu-efi] = "-Dgnu-efi=true -Defi-libdir=${STAGING_LIBDIR} -Defi-includedir=${STAGING_INCDIR}/efi,-Dgnu-efi=false,gnu-efi" | 132 | PACKAGECONFIG[gnu-efi] = "-Dgnu-efi=true -Defi-libdir=${STAGING_LIBDIR} -Defi-includedir=${STAGING_INCDIR}/efi,-Dgnu-efi=false,gnu-efi" |
133 | PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils" | 133 | PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils" |
134 | PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false" | 134 | PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false" |
135 | PACKAGECONFIG[repart] = "-Drepart=true,-Drepart=false" | ||
135 | # Sign the journal for anti-tampering | 136 | # Sign the journal for anti-tampering |
136 | PACKAGECONFIG[gcrypt] = "-Dgcrypt=true,-Dgcrypt=false,libgcrypt" | 137 | PACKAGECONFIG[gcrypt] = "-Dgcrypt=true,-Dgcrypt=false,libgcrypt" |
137 | PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls" | 138 | PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls" |
@@ -713,6 +714,9 @@ INITSCRIPT_PARAMS:udev = "start 03 S ." | |||
713 | python __anonymous() { | 714 | python __anonymous() { |
714 | if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): | 715 | if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): |
715 | d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") | 716 | d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") |
717 | |||
718 | if bb.utils.contains('PACKAGECONFIG', 'repart', True, False, d) and not bb.utils.contains('PACKAGECONFIG', 'openssl', True, False, d): | ||
719 | bb.error("PACKAGECONFIG[repart] requires PACKAGECONFIG[openssl]") | ||
716 | } | 720 | } |
717 | 721 | ||
718 | python do_warn_musl() { | 722 | python do_warn_musl() { |