On Thu, Jun 30, 2011 at 11:47:49PM -0300, Gerardo Exequiel Pozzi wrote: > Signed-off-by: Gerardo Exequiel Pozzi <[email protected]> > --- > mkinitcpio | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/mkinitcpio b/mkinitcpio > index 459c828..72a2fb2 100755 > --- a/mkinitcpio > +++ b/mkinitcpio > @@ -86,7 +86,7 @@ get_kernver() { > return 0 > fi > > - [[ -r "$kernel" ]] || return 1 > + [[ -r "$BASEDIR$kernel" ]] || return 1 > > read _ kernver < <(file -b "$BASEDIR$kernel" | grep -o 'version [^ ]\+') > if [[ "$kernver" && -e "$BASEDIR/lib/modules/$kernver" ]]; then > -- > 1.7.6 >
I'm not too sure about this. This will probably break building presets from outside of a basedir. I'd rather we just document this in the manpage. d
