From: Bernhard Fischer <rep.nop@aon.at>
To: buildroot@busybox.net
Subject: [Buildroot] Problem with building sudo
Date: Wed, 20 Dec 2006 19:28:15 +0100 [thread overview]
Message-ID: <20061220182814.GA26024@aon.at> (raw)
In-Reply-To: <4582E603.7090204@fortunet.com>
On Fri, Dec 15, 2006 at 10:14:27AM -0800, Boris Itkis (Linux) wrote:
>Bernhard Fischer wrote:
>>On Fri, Dec 15, 2006 at 04:10:39PM +0100, Bernhard Fischer wrote:
>>
>>>On Fri, Dec 08, 2006 at 01:32:35PM -0800, Boris Itkis (Linux) wrote:
>>>
>>>>sudu.mk has a problem for building:
>>>>
>>>>$(TARGET_DIR)/usr/bin/sudo
>>>>
>>>>it echo's the command to install sudu instead of running it.
>>>>
>>>I'll look into this.
>>>
>>
>>Can you update and retry? The installation is done via fakeroot, sudo
>>didn't depend on fakeroot so may not be built for you, depending on your
>>config.
>>
>>
>The Part I am Refering to is:
>
>$(TARGET_DIR)/usr/bin/sudo: $(SUDO_DIR)/sudo
> # Use fakeroot to pretend to do 'make install' as root
> echo "$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR="$(TARGET_DIR)" -C
> $(SUDO_DIR) install" \
> > $(STAGING_DIR)/.fakeroot.sudo
> touch -c $(TARGET_DIR)/usr/bin/sudo
>
>If you execute ${STAGING_DIR)/.fakeroot.sudo it does the installation
>correctly.
>
>May I suggest that you change:
>
> echo "$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR="$(TARGET_DIR)" -C
> $(SUDO_DIR) install" \
> > $(STAGING_DIR)/.fakeroot.sudo
>
>to:
>
> $(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR="$(TARGET_DIR)" -C
> $(SUDO_DIR) install \
> > $(STAGING_DIR)/.fakeroot.sudo
>
>I believe that should fix the problem of not automatically installing sudo:
what does cat .fakeroot.sudo say if you output stdout of that make
install into it?
Could it be that what you really need is quoting the echoed '"'?
echo "$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=\"$(TARGET_DIR)\" -C
$(SUDO_DIR) install" > $(STAGING_DIR)/.fakeroot.sudo
next prev parent reply other threads:[~2006-12-20 18:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-08 21:32 [Buildroot] Problem with building sudo Boris Itkis
2006-12-15 15:10 ` Bernhard Fischer
2006-12-15 15:29 ` Bernhard Fischer
2006-12-15 18:14 ` Boris Itkis
2006-12-20 18:28 ` Bernhard Fischer [this message]
2006-12-20 22:04 ` Boris Itkis
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=20061220182814.GA26024@aon.at \
--to=rep.nop@aon.at \
--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