From: Tom Hromatka Date: Mon, 29 Mar 2021 16:46:52 +0000 (+0000) Subject: bootstrap: github: Ignore systemd hierarchy X-Git-Tag: v2.0.rc1~5^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d7c7216478e00c8157028fbbedd39214735be4b;p=thirdparty%2Flibcgroup.git bootstrap: github: Ignore systemd hierarchy Ignore the "name=systemd" hierarchy by setting the autoconf --enable-opaque-hierarchy flag equal to "name=systemd". This instructs libcgroup to ignore mounts named "name=systemd" and thus these mounts aren't added to the cg_mount_table[]. Suggested-by: Michal Koutný Signed-off-by: Tom Hromatka --- diff --git a/.github/actions/setup-libcgroup/action.yml b/.github/actions/setup-libcgroup/action.yml index 6eeb169d..1d88f388 100644 --- a/.github/actions/setup-libcgroup/action.yml +++ b/.github/actions/setup-libcgroup/action.yml @@ -28,7 +28,7 @@ runs: shell: bash - run: ./bootstrap.sh shell: bash - - run: CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-code-coverage + - run: CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-code-coverage --enable-opaque-hierarchy="name=systemd" shell: bash - run: make shell: bash diff --git a/bootstrap.sh b/bootstrap.sh index 2046c229..1da41e28 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -27,6 +27,7 @@ test -d m4 || mkdir m4 autoreconf -fi rm -fr autom4te.cache -CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var +CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var \ + --enable-opaque-hierarchy="name=systemd" make clean