]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
sudo: fix install
authorSimon Dawson <spdawson@gmail.com>
Wed, 20 Jun 2012 22:45:04 +0000 (22:45 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 23 Jun 2012 07:33:24 +0000 (09:33 +0200)
commit463ffd9ee401d4fcff0883735db38c873be1d9a0
treeb614e4a3dcad00b161f55f2ffeb7bd2d1162089d
parent27c9d826ffca35ddec8355095d3b3682ed7d04c3
sudo: fix install

Running sudo on the target fails with the following errors.

  sudo: /usr/libexec/sudoers.so: No such file or directory
  sudo: fatal error, unable to load plugins

The problem is that the installation of the sudo package is broken. This patch
replaces the hand-crafted install rule with the default AUTOTARGETS install.

Unfortunately, the default install fails because it includes a step that
invokes the cross-compiled visudo binary. A patch is provided here to disable
this visudo invocation, which is for sanity checking only. This local patch is
a backport of upstream commit 8209:0c4e3f68b2f5; the real fix will be in the
1.8.6 release of sudo.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/sudo/sudo-1.8.5p1-backport-commit-8209:0c4e3f68b2f5-from-upstream.patch [new file with mode: 0644]
package/sudo/sudo.mk