|
|
|
@ -483,12 +483,10 @@ main_lx() { |
|
|
|
ln -sf ../../../usr/src/linux-${lx_kernelrelease} \ |
|
|
|
$root/lib/modules/${lx_kernelrelease}/source |
|
|
|
|
|
|
|
# just create a symlink to the default initrd image here; the file |
|
|
|
# pointed to will be created by the rockinitrd postinstall script |
|
|
|
if [ "$default" ] ; then |
|
|
|
if [ -z "$root" ]; then |
|
|
|
mkinitrd empty ${lx_kernelrelease} |
|
|
|
rm -f /boot/initrd.img |
|
|
|
ln -s initrd-${lx_kernelrelease}.img /boot/initrd.img |
|
|
|
fi |
|
|
|
ln -s initrd-${lx_kernelrelease}.img /boot/initrd.img |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
|