Browse Source

Fixed mkinitramfs/linux26 to call `mkinitramfs` from the right location

early
Alejandro Mery 18 years ago
parent
commit
72b889623b
  1. 6
      base/mkinitramfs/pkg_linux26_post.conf

6
base/mkinitramfs/pkg_linux26_post.conf

@ -15,6 +15,10 @@
hook_add postdoc 5 'mkinitrd_run' hook_add postdoc 5 'mkinitrd_run'
mkinitrd_run() { mkinitrd_run() {
if pkginstalled mkinitramfs; then
echo_status "running mkinitramfs ..." echo_status "running mkinitramfs ..."
sh "$root/sbin/mkinitramfs" -R "${root:-/}" "${lx_kernelrelease}" sh "$root$( pkgprefix sbindir mkinitramfs )/mkinitramfs" -R "${root:-/}" "${lx_kernelrelease}"
else
echo_warning "mkinitramfs is missing."
fi
} }

Loading…
Cancel
Save