diff options
author | Simon Dawson <spdawson@gmail.com> | 2012-06-20 22:45:04 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-06-23 09:33:24 +0200 |
commit | 463ffd9ee401d4fcff0883735db38c873be1d9a0 (patch) | |
tree | b614e4a3dcad00b161f55f2ffeb7bd2d1162089d /package/sudo/sudo.mk | |
parent | 27c9d826ffca35ddec8355095d3b3682ed7d04c3 (diff) |
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>
Diffstat (limited to 'package/sudo/sudo.mk')
-rw-r--r-- | package/sudo/sudo.mk | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk index 3629ad188..f1efc5476 100644 --- a/package/sudo/sudo.mk +++ b/package/sudo/sudo.mk @@ -14,12 +14,4 @@ SUDO_CONF_OPT = \ --without-interfaces \ --without-pam -define SUDO_INSTALL_TARGET_CMDS - install -m 4555 -D $(@D)/src/sudo $(TARGET_DIR)/usr/bin/sudo - install -m 0555 -D $(@D)/plugins/sudoers/visudo \ - $(TARGET_DIR)/usr/sbin/visudo - install -m 0440 -D $(@D)/plugins/sudoers/sudoers \ - $(TARGET_DIR)/etc/sudoers -endef - $(eval $(call AUTOTARGETS)) |