Browse Source

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

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

8
base/mkinitramfs/pkg_linux26_post.conf

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

Loading…
Cancel
Save