summaryrefslogtreecommitdiff
path: root/strata/core/linux-pam.morph
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2015-04-22 15:22:09 +0000
committerBaserock Gerrit <gerrit@baserock.org>2015-04-29 14:59:42 +0000
commitaae1e3dec176ebc40cd233a29cf48c04d856fac5 (patch)
treefa645c68b7345dbfc073a83ff4c712cdfe0c1286 /strata/core/linux-pam.morph
parent678a0e030366b5c33a44d8f5b42c12cdc3aa3f60 (diff)
downloaddefinitions-aae1e3dec176ebc40cd233a29cf48c04d856fac5.tar.gz
Fix linux-pam
This involves: * Reordering the chunks linux-pam, acl, attr and libcap2 - this means moving them into the 'core' stratum, and fixing errors that occur because of the move. * Configuring pam correctly. * Fix acl failing to build in core. * Fix shadow to build against pam and reconfigure shadow to not do things covered by pam. * Fix tar not building - I am not sure what caused this to fail to build, but fixing it involved stopping it from trying to init submodules that were already checked out. Change-Id: I1b00ca0158c31ce5f31c11fe60816434508a05a1
Diffstat (limited to 'strata/core/linux-pam.morph')
-rw-r--r--strata/core/linux-pam.morph9
1 files changed, 9 insertions, 0 deletions
diff --git a/strata/core/linux-pam.morph b/strata/core/linux-pam.morph
new file mode 100644
index 00000000..71ad98e9
--- /dev/null
+++ b/strata/core/linux-pam.morph
@@ -0,0 +1,9 @@
+name: linux-pam
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- autoreconf -ivf
+configure-commands:
+# libdir has to be specified or it'll go into lib64. It has to be /lib because
+# systemd installs its pam library into /lib/security.
+- ./configure --prefix="$PREFIX" --libdir="/lib"