* [Buildroot] [PATCH 1/2] package/systemd: disable cryptsetup for host package @ 2020-08-29 13:59 Fabrice Fontaine 2020-08-29 13:59 ` [Buildroot] [PATCH 2/2] package/systemd: disable audit " Fabrice Fontaine 2020-08-29 16:35 ` [Buildroot] [PATCH 1/2] package/systemd: disable cryptsetup " Peter Korsgaard 0 siblings, 2 replies; 4+ messages in thread From: Fabrice Fontaine @ 2020-08-29 13:59 UTC (permalink / raw) To: buildroot Build with cryptsetup and without libblkid will fail on: ../src/shared/dissect-image.c:1336:34: error: 'N_DEVICE_NODE_LIST_ATTEMPTS' undeclared (first use in this function) 1336 | for (unsigned i = 0; i < N_DEVICE_NODE_LIST_ATTEMPTS; i++) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ This bug has been reported upstream: https://github.com/systemd/systemd/pull/16901 and is not an issue for the target variant as libblkid is select by BR2_PACKAGE_UTIL_LINUX_MOUNT As cryptsetup does not seem needed for host-systemd, just disable it Fixes: - http://autobuild.buildroot.org/results/67782c225c08387c1bbcbea9eee3ca12bc6577cd Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/systemd/systemd.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index e356cb1add..115ccbda06 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -699,7 +699,8 @@ HOST_SYSTEMD_CONF_OPTS = \ -Dinitrd=false \ -Dxdg-autostart=false \ -Dkernel-install=false \ - -Dsystemd-analyze=false + -Dsystemd-analyze=false \ + -Dlibcryptsetup=false HOST_SYSTEMD_DEPENDENCIES = \ $(BR2_COREUTILS_HOST_DEPENDENCY) \ -- 2.28.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/systemd: disable audit for host package 2020-08-29 13:59 [Buildroot] [PATCH 1/2] package/systemd: disable cryptsetup for host package Fabrice Fontaine @ 2020-08-29 13:59 ` Fabrice Fontaine 2020-08-29 16:35 ` Peter Korsgaard 2020-08-29 16:35 ` [Buildroot] [PATCH 1/2] package/systemd: disable cryptsetup " Peter Korsgaard 1 sibling, 1 reply; 4+ messages in thread From: Fabrice Fontaine @ 2020-08-29 13:59 UTC (permalink / raw) To: buildroot Disable audit for host package to avoid getting the following error if it is found on host: [84/662] Generating audit_type-list.txt with a meson_exe.py custom command In file included from <command-line>:32: ./../src/basic/missing_audit.h:7:10: fatal error: libaudit.h: No such file or directory 7 | #include <libaudit.h> | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/67782c225c08387c1bbcbea9eee3ca12bc6577cd Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/systemd/systemd.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 115ccbda06..81fa2bd0f0 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -700,7 +700,8 @@ HOST_SYSTEMD_CONF_OPTS = \ -Dxdg-autostart=false \ -Dkernel-install=false \ -Dsystemd-analyze=false \ - -Dlibcryptsetup=false + -Dlibcryptsetup=false \ + -Daudit=false HOST_SYSTEMD_DEPENDENCIES = \ $(BR2_COREUTILS_HOST_DEPENDENCY) \ -- 2.28.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/systemd: disable audit for host package 2020-08-29 13:59 ` [Buildroot] [PATCH 2/2] package/systemd: disable audit " Fabrice Fontaine @ 2020-08-29 16:35 ` Peter Korsgaard 0 siblings, 0 replies; 4+ messages in thread From: Peter Korsgaard @ 2020-08-29 16:35 UTC (permalink / raw) To: buildroot >>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > Disable audit for host package to avoid getting the following error if > it is found on host: > [84/662] Generating audit_type-list.txt with a meson_exe.py custom command > In file included from <command-line>:32: > ./../src/basic/missing_audit.h:7:10: fatal error: libaudit.h: No such file or directory > 7 | #include <libaudit.h> > | ^~~~~~~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/67782c225c08387c1bbcbea9eee3ca12bc6577cd > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Committed, thanks. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] package/systemd: disable cryptsetup for host package 2020-08-29 13:59 [Buildroot] [PATCH 1/2] package/systemd: disable cryptsetup for host package Fabrice Fontaine 2020-08-29 13:59 ` [Buildroot] [PATCH 2/2] package/systemd: disable audit " Fabrice Fontaine @ 2020-08-29 16:35 ` Peter Korsgaard 1 sibling, 0 replies; 4+ messages in thread From: Peter Korsgaard @ 2020-08-29 16:35 UTC (permalink / raw) To: buildroot >>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > Build with cryptsetup and without libblkid will fail on: > ../src/shared/dissect-image.c:1336:34: error: 'N_DEVICE_NODE_LIST_ATTEMPTS' undeclared (first use in this function) > 1336 | for (unsigned i = 0; i < N_DEVICE_NODE_LIST_ATTEMPTS; i++) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > This bug has been reported upstream: > https://github.com/systemd/systemd/pull/16901 > and is not an issue for the target variant as libblkid is select by > BR2_PACKAGE_UTIL_LINUX_MOUNT > As cryptsetup does not seem needed for host-systemd, just disable it > Fixes: > - http://autobuild.buildroot.org/results/67782c225c08387c1bbcbea9eee3ca12bc6577cd > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Committed, thanks. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-08-29 16:35 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-08-29 13:59 [Buildroot] [PATCH 1/2] package/systemd: disable cryptsetup for host package Fabrice Fontaine 2020-08-29 13:59 ` [Buildroot] [PATCH 2/2] package/systemd: disable audit " Fabrice Fontaine 2020-08-29 16:35 ` Peter Korsgaard 2020-08-29 16:35 ` [Buildroot] [PATCH 1/2] package/systemd: disable cryptsetup " Peter Korsgaard
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.