Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] mutt: fix build with BR2_PACKAGE_SKELETON_NONE
@ 2017-08-06 18:08 Baruch Siach
  2017-08-06 20:44 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2017-08-06 18:08 UTC (permalink / raw)
  To: buildroot

BR2_PACKAGE_SKELETON_NONE does not provide the /var subdirectory which break
symlink creation in that directory. Ignore the symlink creation error. It is
up to the user to provide a functional skeleton.

Fixes:
http://autobuild.buildroot.net/results/32d/32dff0df759baf1120e4f11335e735eb0708b237/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/mutt/mutt.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk
index abd40e5dd612..447c336b4893 100644
--- a/package/mutt/mutt.mk
+++ b/package/mutt/mutt.mk
@@ -66,7 +66,7 @@ MUTT_CONF_ENV += \
 MUTT_CONF_OPTS += --with-mailpath=/var/mail
 
 define MUTT_VAR_MAIL
-	ln -sf /tmp $(TARGET_DIR)/var/mail
+	-ln -sf /tmp $(TARGET_DIR)/var/mail
 endef
 MUTT_POST_INSTALL_TARGET_HOOKS += MUTT_VAR_MAIL
 
-- 
2.13.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-08 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-06 18:08 [Buildroot] [PATCH] mutt: fix build with BR2_PACKAGE_SKELETON_NONE Baruch Siach
2017-08-06 20:44 ` Yann E. MORIN
2017-08-07 17:57   ` Baruch Siach
2017-08-08 16:07     ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox