diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-19 12:30:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-19 13:31:59 +0100 |
commit | c39e823138cbf4210e17bdb95ca322ec0a6c8f78 (patch) | |
tree | c6c97e9f4e2ab768978b614c85795e853633cd80 /meta/recipes-extended/pam/libpam | |
parent | 4e8df7f9a3f506d69c85b051cad3426fb1b18fb9 (diff) | |
download | openembedded-core-c39e823138cbf4210e17bdb95ca322ec0a6c8f78.tar.gz openembedded-core-c39e823138cbf4210e17bdb95ca322ec0a6c8f78.tar.bz2 openembedded-core-c39e823138cbf4210e17bdb95ca322ec0a6c8f78.zip |
libpam: Fix missing DESTDIR for a mkdir causing build failures
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pam/libpam')
-rw-r--r-- | meta/recipes-extended/pam/libpam/destdirfix.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-extended/pam/libpam/destdirfix.patch b/meta/recipes-extended/pam/libpam/destdirfix.patch new file mode 100644 index 0000000000..52145ecb34 --- /dev/null +++ b/meta/recipes-extended/pam/libpam/destdirfix.patch @@ -0,0 +1,24 @@ +Avoid the failure: + +| mkdir -p /etc/security/namespace.d +| mkdir: cannot create directory `/etc/security/namespace.d': Permission denied + +if /etc/security/namespace.d doesn't exist. The DESTDIR prefix is missing. + +RP 2012/8/19 + +Upstream-Status: Pending + +Index: Linux-PAM-1.1.6/modules/pam_namespace/Makefile.am +=================================================================== +--- Linux-PAM-1.1.6.orig/modules/pam_namespace/Makefile.am 2012-08-15 11:08:43.000000000 +0000 ++++ Linux-PAM-1.1.6/modules/pam_namespace/Makefile.am 2012-08-19 12:25:32.311038943 +0000 +@@ -40,7 +40,7 @@ + secureconf_SCRIPTS = namespace.init + + install-data-local: +- mkdir -p $(namespaceddir) ++ mkdir -p $(DESTDIR)$(namespaceddir) + endif + + |