Commit Graph

14 Commits

Author SHA1 Message Date
Kevin Tian 7025e6496e pam: add missing bits from previous commit
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-17 22:56:12 +01:00
Kevin Tian 46771a85b0 pam: rename to libpam and add core config files
So far pam is not really functional as there no pam config files exists, here
we borrow from openembedded to setup core /etc/pam.d to make it functional:

  * change 'pam' to 'libpam' following Debian naming convention, and change
    (R)DEPENDS in other recipes

  * borrow openembedded libpam-base-files with changes:
    - rename to libpam-runtime to follow Debian naming
    - only keep common-* core files which can be traced back to Debian
      libpam-runtime-1.0.1 for license track. Other service specific files
      (such as atd, cron, ...) are removed because either they may contaminate
      the license or it's right thing to have their own packages providing them
    - use same libpam recipe instead of creating a new. This way other /etc/
      stuff are all contained by libpam-runtime

  * like openembedded, we package each pam plugin into seperate package now,
    with some differnce though:
    - Some ${sbindir} binaries are bound to specific PAM plugin. So better to
      package them together with corresponding plugin package
    - populate_sysroot_prepend is invoked before actual populate_sysroot, at
      that time ${D} binaries haven't been tripped. So it's difficult to specify
      -dev for those plugin pacakges from _prepend which are simply empty.
      actually one -dev/-doc per recipe is one good exercise here.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-13 13:36:01 +01:00
Kevin Tian e101642a61 populate-volatile.sh: cleanup duplicated invocations and remove boot warning
For one, populate-volatile.sh is itself a rcS script which is invoked earlier
than package's own postinst method (last one in rcS). If package has already
installed their volatile files correctly, it doesn't make sense to update volatile
again in postinst since nothing is changed.

On the other hand, dbus/hal are special since their user/group are only created
in the target. If they pre-install volatiles like others, populate-volatile.sh
will report "undefined user" since at that time their user/group haven't been
created. The better way solving this is to generate their volatile in the fly
after user/group are created, and then update volatiles.

This fix [BUGID #121]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-12 15:39:24 +01:00
Kevin Tian 754c54818d pam: use volatile to avoid /var/run population in do_rootfs
also disable doc rebuild to reuse existing man pages.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-07-30 14:50:31 +01:00
Kevin Tian 59df5a4b2d pam: upgrade to 1.1.1
[Patches]
  KEEP   _disable_crossbinary.patch_

[Recipe]
  fix SRC_URI and EXTRA_OECONF indention

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-07-08 21:05:41 -07:00
Kevin Tian 0093d520c9 pam: fix metadata
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-06-30 15:44:21 -07:00
Joshua Lock 4dac8ed6d7 pam: fix inherit, add gettext and change autotools
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-01-06 09:17:00 +00:00
Nicolas Dechesne 2163649b4e sato: move pam from meta-moblin to meta
pam recipe is required to build a sato image, and it was moved in the
meta-moblin collection by mistake, and sato build was broken.

pam is a dependency of policykit which is a dependency of networkmanager.

Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-20 17:47:18 +00:00
Richard Purdie 70203a0723 Move pam, packagekit, monit and gnet to meta-moblin 2008-12-02 14:30:31 +00:00
Richard Purdie 4b0098b261 packagekit: Fix DEPENDS and configure 2008-11-04 21:46:02 +00:00
Richard Purdie 973bba1ede pam: Fix use of binary built with the native compiler 2008-11-04 21:11:27 +00:00
Richard Purdie 4a3a35f81c autotools.bbclass: Handle /lib as well as /usr/lib in autotools_stage_all 2008-11-04 15:40:56 +00:00
Anas Nashif 17bb6733b9 package pam correctly 2008-10-31 11:00:50 -04:00
Anas Nashif 7705e1e77d New package: pam 2008-10-31 05:34:20 -07:00