All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/util-linux: create $(TARGET_DIR)/etc/pam.d if necessary
@ 2019-09-14 16:41 unixmania at gmail.com
  2019-09-15 12:54 ` Thomas Petazzoni
  2019-09-25 19:45 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: unixmania at gmail.com @ 2019-09-14 16:41 UTC (permalink / raw)
  To: buildroot

From: Carlos Santos <unixmania@gmail.com>

Useful for test purposes when we want to install util-linux with a
custom TARGET_DIR, e.g.

    $ make util-linux-reinstall TARGET_DIR=/tmp/util-linux

Signed-off-by: Carlos Santos <unixmania@gmail.com>
---
 package/util-linux/util-linux.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index 99ec39467f..cd69838046 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -236,7 +236,7 @@ endif
 # Install PAM configuration files
 ifeq ($(BR2_PACKAGE_UTIL_LINUX_SU)$(BR2_PACKAGE_LINUX_PAM),yy)
 define UTIL_LINUX_INSTALL_PAMFILES
-	$(INSTALL) -m 0644 package/util-linux/su.pam \
+	$(INSTALL) -D -m 0644 package/util-linux/su.pam \
 		$(TARGET_DIR)/etc/pam.d/su
 	$(INSTALL) -m 0644 package/util-linux/su.pam \
 		$(TARGET_DIR)/etc/pam.d/su-l
-- 
2.18.1

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

* [Buildroot] [PATCH] package/util-linux: create $(TARGET_DIR)/etc/pam.d if necessary
  2019-09-14 16:41 [Buildroot] [PATCH] package/util-linux: create $(TARGET_DIR)/etc/pam.d if necessary unixmania at gmail.com
@ 2019-09-15 12:54 ` Thomas Petazzoni
  2019-09-25 19:45 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-09-15 12:54 UTC (permalink / raw)
  To: buildroot

On Sat, 14 Sep 2019 13:41:43 -0300
unixmania at gmail.com wrote:

> From: Carlos Santos <unixmania@gmail.com>
> 
> Useful for test purposes when we want to install util-linux with a
> custom TARGET_DIR, e.g.
> 
>     $ make util-linux-reinstall TARGET_DIR=/tmp/util-linux
> 
> Signed-off-by: Carlos Santos <unixmania@gmail.com>
> ---
>  package/util-linux/util-linux.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Even if not strictly needed, I have changed the second $(INSTALL)
invocation to also pass -D, and applied. Thanks!

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

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

* [Buildroot] [PATCH] package/util-linux: create $(TARGET_DIR)/etc/pam.d if necessary
  2019-09-14 16:41 [Buildroot] [PATCH] package/util-linux: create $(TARGET_DIR)/etc/pam.d if necessary unixmania at gmail.com
  2019-09-15 12:54 ` Thomas Petazzoni
@ 2019-09-25 19:45 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-09-25 19:45 UTC (permalink / raw)
  To: buildroot

>>>>> "unixmania" == unixmania  <unixmania@gmail.com> writes:

 > From: Carlos Santos <unixmania@gmail.com>
 > Useful for test purposes when we want to install util-linux with a
 > custom TARGET_DIR, e.g.

 >     $ make util-linux-reinstall TARGET_DIR=/tmp/util-linux

 > Signed-off-by: Carlos Santos <unixmania@gmail.com>

Committed to 2019.02.x, 2019.05.x and 2019.08.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2019-09-25 19:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-14 16:41 [Buildroot] [PATCH] package/util-linux: create $(TARGET_DIR)/etc/pam.d if necessary unixmania at gmail.com
2019-09-15 12:54 ` Thomas Petazzoni
2019-09-25 19:45 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.