Skip to contentSkip to conversation

package/apparmor: skip docs building

PATCH New Angelo Compagnucci 2 participants 3 messages Apr 29, 2020 – May 1, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/apparmor: skip docs building

When pod2man and pod2html are missing, building now exits with an error.
Building of man pages and documentation should be skipped in buildroot, setting both executables to the "echo" command it's sufficient to skip them.

Fixes:
http://autobuild.buildroot.net/results/ca8d3071d888b5c1cfa3e275afaf05415e19627f

---
 package/apparmor/apparmor.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/apparmor/apparmor.mk +1 -1
index f1b765c..a525b40 100644
@@ -15,7 +15,7 @@ APPARMOR_LICENSE_FILES = LICENSE parser/COPYING.GPL
 APPARMOR_DEPENDENCIES = libapparmor
 
 APPARMOR_TOOLS = parser
-APPARMOR_MAKE_OPTS = USE_SYSTEM=1 DISTRO=unknown
+APPARMOR_MAKE_OPTS = USE_SYSTEM=1 DISTRO=unknown POD2MAN=echo POD2HTML=echo
 
 ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y)
 APPARMOR_DEPENDENCIES += gettext
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 package/apparmor: skip docs building

Quoted 10 lines · On Wed, 29 Apr 2020 22:49:11 +0200 Angelo Compagnucci…

When pod2man and pod2html are missing, building now exits with an error.
Building of man pages and documentation should be skipped in buildroot, setting both executables to the "echo" command it's sufficient to skip them.

Fixes:
http://autobuild.buildroot.net/results/ca8d3071d888b5c1cfa3e275afaf05415e19627f

Would "true" instead of "echo" work as well ?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/apparmor: skip docs building

Quoted 10 lines · Thomas Petazzoni
Quoted 6 lines · On Wed, 29 Apr 2020 22:49:11 +0200 Angelo Compagnucci…

When pod2man and pod2html are missing, building now exits with an error.
Building of man pages and documentation should be skipped in buildroot, setting both executables to the "echo" command it's sufficient to skip them.

Quoted 6 lines
Quoted 4 lines

Fixes:
http://autobuild.buildroot.net/results/ca8d3071d888b5c1cfa3e275afaf05415e19627f

Would "true" instead of "echo" work as well ?

I did a V2, it works.

Quoted 6 lines

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com