Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54056 - make installkernel find mkboot with sudo
Summary: make installkernel find mkboot with sudo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-15 21:45 UTC by Malte Starostik
Modified: 2004-10-05 17:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
call mkboot with absolute path (debianutils-sudo-fix.diff,412 bytes, patch)
2004-06-15 21:46 UTC, Malte Starostik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Malte Starostik 2004-06-15 21:45:05 UTC
/sbin/installkernel runs mkboot assuming /usr/sbin is in $PATH.
This is not the case when run via sudo thus make install in the kernel source dir fails.

Reproducible: Always
Steps to Reproduce:
1. configure kernel
2. build it
3. run make install as non-root via sudo

Actual Results:  
mkboot isn't found

Expected Results:  
well, it should just work :-)

workaround: PATH=/usr/sbin:$PATH sudo make install
Comment 1 Malte Starostik 2004-06-15 21:46:03 UTC
Created attachment 33359 [details, diff]
call mkboot with absolute path
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-06-20 13:19:02 UTC
This is a debianutils issue; not a kernel issue. Reassigning to base-system...
Comment 3 SpanKY gentoo-dev 2004-10-05 17:11:08 UTC
done deal, thanks