rootfs, rootfs-light: remove redundant and failing depmod; arm: configure for mamba-arm kernel
This commit is contained in:
parent
77c281540d
commit
b65e9ae6c6
@ -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
|
||||
|
@ -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=""
|
||||
|
@ -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
|
||||
|
@ -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=""
|
||||
|
Loading…
Reference in New Issue
Block a user