Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 17 years ago
parent
commit
f0ab51a9f8
1 changed files with 14 additions and 8 deletions
  1. +14
    -8
      package/base/linux/linux.conf

+ 14
- 8
package/base/linux/linux.conf

@ -422,14 +422,19 @@ main_lx() {
done
;;
sparc)
# sparc doesn't seem to support gzipped kernel images
if [ "$treever" = 24 ] ; then
eval $MAKE vmlinux
cp -a vmlinux $root/boot/vmlinux32_${lx_kernelrelease}
if [ "$xpkg" = "$ROCKCFG_PKG_LINUX_DEFAULT" ]; then
ln -svf vmlinux32_${lx_kernelrelease} $root/boot/vmlinux32
fi
else
eval $MAKE image
fi
gzip -9 < vmlinux > $root/boot/vmlinux32_${lx_kernelrelease}.gz
if [ "$xpkg" = "$ROCKCFG_PKG_LINUX_DEFAULT" ]; then
ln -svf vmlinux32_${lx_kernelrelease}.gz $root/boot/vmlinux32.gz
cp -a arch/sparc/boot/image $root/boot/image_${lx_kernelrelease}
if [ "$xpkg" = "$ROCKCFG_PKG_LINUX_DEFAULT" ]; then
ln -svf image_${lx_kernelrelease} $root/boot/image
fi
fi
;;
sparc64)
@ -471,11 +476,12 @@ main_lx() {
INSTALL_MOD_PATH=$root DEPMOD=/bin/true
else
eval $MAKE modules_install DEPMOD=/bin/true
echo "Running 'depmod -a -q -F /boot/System.map ${lx_kernelrelease}' .."
depmod -a -q -F /boot/System.map-${lx_kernelrelease} ${lx_kernelrelease}
for x in /lib/modules/${lx_kernelrelease}/modules.*
do [ -f $x ] && add_flist $x; done
fi
echo "Running 'depmod -a -F ${root}/boot/System.map -b ${root:-/} ${lx_kernelrelease}' .."
depmod -a -F ${root}/boot/System.map-${lx_kernelrelease} \
-b ${root:-/} ${lx_kernelrelease}
for x in ${root}/lib/modules/${lx_kernelrelease}/modules.*
do [ -f $x ] && add_flist $x; done
else
echo "No module support configured for this kernel ..."
mkdir -p $root/lib/modules/${lx_kernelrelease}

Loading…
Cancel
Save