Skip to contentSkip to conversation

master - make: Fix build in chroot

PATCH Marian Csontos 1 participant 1 message Sep 20, 2022 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a0fc61177e1fc39a312c623c4fa3639f8b96f7b2
Commit:        a0fc61177e1fc39a312c623c4fa3639f8b96f7b2
Parent:        178564317a7c47d025ce268abe1bba01d1b4a519
Author:        Marian Csontos <[email protected]>
AuthorDate:    Tue Sep 20 15:56:13 2022 +0200
Committer:     Marian Csontos <[email protected]>
CommitterDate: Tue Sep 20 15:56:13 2022 +0200

make: Fix build in chroot

When building in a buildroot, must create libexec directory explicitly.

---
 scripts/Makefile.in | 1 +
 1 file changed, 1 insertion(+)
scripts/Makefile.in +1 -0
index 9fcff37b0..47b24a2b0 100644
@@ -57,6 +57,7 @@ install_device-mapper: $(DM_SCRIPTS:.sh=_install)
 install_ocf: $(OCF_SCRIPTS:.ocf=_install)
 
 install_libexec:
+	$(Q) $(INSTALL_DIR) $(libexecdir)
 	$(Q) $(INSTALL_SCRIPT) lvresize_fs_helper.sh $(libexecdir)/lvresize_fs_helper
 
 install: install_lvm2 install_ocf install_device-mapper install_libexec