rootfs, rootfs-light: remove redundant and failing depmod; arm: configure for mamba-arm kernel

This commit is contained in:
Silvan Calarco 2013-04-16 16:52:08 +02:00
parent 77c281540d
commit b65e9ae6c6
4 changed files with 7 additions and 15 deletions

View File

@ -46,11 +46,6 @@ esac
echo $timezone > $MOUNTDIR/etc/timezone
cp /usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
if [ ! "$KERNEL_IGNORE" ]; then
# run depmod
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}-${KERNEL_EXTRAVER}
fi
# disable automatic depmod and ldconfig execution on boot (also due to clock error)
cat >> $MOUNTDIR/etc/sysconfig/rc << _EOF
no_auto_depmod=1

View File

@ -1,8 +1,9 @@
if [ "$ARCH" = "arm" ]; then
KERNEL_EXTRAVER=
#KERNEL_PLATFORM=""
KERNEL_EXTRAVER=mamba-arm
KERNEL_PLATFORM=""
KERNEL_ADDITIONAL=""
KERNEL_IGNORE=true
#KERNEL_IGNORE=true
KERNEL_MORE_EXTRAVER=
elif [ "$ARCH" = "i586" ]; then
KERNEL_EXTRAVER=mamba
KERNEL_PLATFORM=""

View File

@ -46,11 +46,6 @@ esac
echo $timezone > $MOUNTDIR/etc/timezone
cp /usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
if [ ! "$KERNEL_IGNORE" ]; then
# run depmod
chroot $MOUNTDIR depmod -a ${KERNEL_MAJVER}-${KERNEL_EXTRAVER}
fi
# disable automatic depmod and ldconfig execution on boot (also due to clock error)
cat >> $MOUNTDIR/etc/sysconfig/rc << _EOF
no_auto_depmod=1

View File

@ -1,8 +1,9 @@
if [ "$ARCH" = "arm" ]; then
KERNEL_EXTRAVER=
KERNEL_EXTRAVER=mamba-arm
#KERNEL_PLATFORM=""
KERNEL_ADDITIONAL=""
KERNEL_IGNORE=true
#KERNEL_IGNORE=true
KERNEL_MORE_EXTRAVER=
elif [ "$ARCH" = "i586" ]; then
KERNEL_EXTRAVER=mamba
KERNEL_PLATFORM=""