mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] systemd: remove coreutils dependency
@ 2018-12-14  7:25 Marc Kleine-Budde
  2018-12-14  7:25 ` [ptxdist] [PATCH 2/2] host-coreutils: remove Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Kleine-Budde @ 2018-12-14  7:25 UTC (permalink / raw)
  To: ptxdist; +Cc: Marc Kleine-Budde

Even the ln of ubuntu 14.04's coreutils supports --relative, do not
compile host-coreutils, as it will fail on that ubuntu version, due to
a too old glibc.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 rules/host-systemd.in | 2 --
 rules/systemd.in      | 2 --
 2 files changed, 4 deletions(-)

diff --git a/rules/host-systemd.in b/rules/host-systemd.in
index ab901c7a236c..f80d9de10fb6 100644
--- a/rules/host-systemd.in
+++ b/rules/host-systemd.in
@@ -5,7 +5,5 @@ config HOST_SYSTEMD
 	default y if ALLYES
 	select HOST_MESON
 	select HOST_GPERF
-	# for 'ln --relative'
-	select HOST_COREUTILS
 	select HOST_UTIL_LINUX_NG
 	select HOST_LIBCAP
diff --git a/rules/systemd.in b/rules/systemd.in
index 29d7bf2b9a43..1c26e92b9b41 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -5,8 +5,6 @@ menuconfig SYSTEMD
 	depends on INITMETHOD_SYSTEMD
 	select HOST_MESON
 	select HOST_GPERF
-	# for 'ln --relative'
-	select HOST_COREUTILS
 	select ROOTFS_RUN
 	select LIBC_PTHREAD
 	select LIBC_RT
-- 
2.19.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH 2/2] host-coreutils: remove
  2018-12-14  7:25 [ptxdist] [PATCH 1/2] systemd: remove coreutils dependency Marc Kleine-Budde
@ 2018-12-14  7:25 ` Marc Kleine-Budde
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2018-12-14  7:25 UTC (permalink / raw)
  To: ptxdist; +Cc: Marc Kleine-Budde

The last dependency on this package has been removed in the previous
patch. So remove this package.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 rules/host-coreutils.in   |  5 ----
 rules/host-coreutils.make | 62 ---------------------------------------
 2 files changed, 67 deletions(-)
 delete mode 100644 rules/host-coreutils.in
 delete mode 100644 rules/host-coreutils.make

diff --git a/rules/host-coreutils.in b/rules/host-coreutils.in
deleted file mode 100644
index 7cd2e45f1469..000000000000
--- a/rules/host-coreutils.in
+++ /dev/null
@@ -1,5 +0,0 @@
-## SECTION=hosttools_noprompt
-
-config HOST_COREUTILS
-	tristate
-	default y if ALLYES
diff --git a/rules/host-coreutils.make b/rules/host-coreutils.make
deleted file mode 100644
index a65aa6d70df5..000000000000
--- a/rules/host-coreutils.make
+++ /dev/null
@@ -1,62 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2014 by Michael Olbrich <m.olbrich@pengutronix.de>
-#
-# See CREDITS for details about who has contributed to this project.
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-HOST_PACKAGES-$(PTXCONF_HOST_COREUTILS) += host-coreutils
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-HOST_COREUTILS_SKIP := \
-	base64 basename cat chcon chgrp chmod chown chroot cksum comm cp \
-	csplit cut date dd df dir dircolors dirname du echo env expand \
-	expr factor false fmt fold groups head hostid id install join \
-	kill link logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl \
-	nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx \
-	pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum \
-	sha256sum sha384sum sha512sum shred shuf sleep sort split stat \
-	stdbuf stty sum sync tac tail tee test [ timeout touch tr true \
-	truncate tsort tty uname unexpand uniq unlink uptime users vdir \
-	wc who whoami yes
-
-#
-# autoconf
-#
-HOST_COREUTILS_CONF_TOOL	:= autoconf
-HOST_COREUTILS_CONF_OPT		:= \
-	$(HOST_AUTOCONF) \
-	--disable-silent-rules \
-	--enable-threads=posix \
-	--disable-assert \
-	--disable-rpath \
-	--disable-libsmack \
-	--disable-xattr \
-	--disable-libcap \
-	--enable-install-program=ln \
-	--enable-no-install-program=$(subst $(space),$(comma),$(strip $(HOST_COREUTILS_SKIP))) \
-	--disable-nls \
-	--without-openssl \
-	--without-selinux \
-	--without-gmp
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/host-coreutils.install:
-	@$(call targetinfo)
-	@$(call world/install, HOST_COREUTILS)
-	@find $(HOST_COREUTILS_PKGDIR) -type f -executable ! -name ln | xargs rm
-	@$(call touch)
-
-# vim: syntax=make
-- 
2.19.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2018-12-14  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-14  7:25 [ptxdist] [PATCH 1/2] systemd: remove coreutils dependency Marc Kleine-Budde
2018-12-14  7:25 ` [ptxdist] [PATCH 2/2] host-coreutils: remove Marc Kleine-Budde

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