Skip to contentSkip to conversation

fatresize: Disable building documentation files

PATCH New Khem Raj 1 participant 1 message Jul 17, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 fatresize: Disable building documentation files

It needs docbook-to-man tool and we do not have native version of this recipe

---
 .../0001-build-Do-not-build-.sgml-file.patch  | 27 +++++++++++++++++++
 .../fatresize/fatresize_1.1.0.bb              |  4 ++-
 2 files changed, 30 insertions(+), 1 deletion(-)
 create mode 100644 meta-filesystems/recipes-utils/fatresize/fatresize/0001-build-Do-not-build-.sgml-file.patch
meta-filesystems/recipes-utils/fatresize/fatresize/0001-build-Do-not-build-.sgml-file.patch new file +27 -0
new file mode 100644
index 0000000000..c754f21d0d
@@ -0,0 +1,27 @@
+From b16373da7e5a45cf92df83b39e2fdee939439c84 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Sat, 17 Jul 2021 08:55:42 -0700
+Subject: [PATCH] build: Do not build .sgml file
+
+It needs docbook-to-man tool which we do not have recipe for
+
+Upstream-Status: OE-Specific [needs native docbook-to-man tool]
+
+Signed-off-by: Khem Raj <[email protected]>
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 2becb84..858df00 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -14,4 +14,4 @@ SUFFIXES = .1
+ CLEANFILES = $(man_MANS)
+ 
+ .sgml.1:
+-	docbook-to-man $< > $@
++	@echo "Needs docbook-to-man"
+-- 
+2.32.0
+
meta-filesystems/recipes-utils/fatresize/fatresize_1.1.0.bb +3 -1
index 32406077da..ec7e7f968b 100644
@@ -3,7 +3,9 @@ SECTION = "console/tools"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-SRC_URI = "git://salsa.debian.org/parted-team/fatresize.git;protocol=https"
+SRC_URI = "git://salsa.debian.org/parted-team/fatresize.git;protocol=https \
+           file://0001-build-Do-not-build-.sgml-file.patch \
+          "
 SRCREV = "12da22087de2ec43f0fe5af1237389e94619c483"
 
 PV = "1.1.0"
Signature · 1 line
2.32.0