Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
Date: Sun, 18 Nov 2012 19:28:47 +0100	[thread overview]
Message-ID: <20121118192847.54784644@skate> (raw)
In-Reply-To: <50A92459.1070404@petroprogram.com>

Dear Stefan Fr?berg,

On Sun, 18 Nov 2012 20:09:29 +0200, Stefan Fr?berg wrote:

> > ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
> > BUSYBOX_DEPENDENCIES += linux-pam
> > BUSYBOX_CFLAGS += -DENABLE_PAM
> > endif

Hum, wait, I didn't see there was a CONFIG_PAM option. So what you want
to do is:

ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
BUSYBOX_DEPENDENCIES += linux-pam
endif

And then, in the Busybox configuration step, do:

ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
	$(call KCONFIG_SET_OPT,CONFIG_PAM,/path/to/busybox/config/file)
endif

or something along those lines.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

      reply	other threads:[~2012-11-18 18:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-18  0:15 [Buildroot] [PATCH] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet Stefan Fröberg
2012-11-18  2:14 ` Danomi Manchego
2012-11-18 11:51   ` Stefan Fröberg
2012-11-18 12:11     ` Stefan Fröberg
2012-11-18 14:01       ` Stefan Fröberg
2012-11-18 16:40 ` Thomas Petazzoni
2012-11-18 17:39   ` Stefan Fröberg
2012-11-18 17:48     ` Thomas Petazzoni
2012-11-18 18:09       ` Stefan Fröberg
2012-11-18 18:28         ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121118192847.54784644@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox