|
|
@ -1,7 +1,7 @@
|
|
|
|
#!/bin/bash
|
|
|
|
#!/bin/bash
|
|
|
|
# Genkernel v3
|
|
|
|
# Genkernel v3
|
|
|
|
|
|
|
|
|
|
|
|
GK_V='3.0.2b'
|
|
|
|
GK_V='3.0.2c'
|
|
|
|
TEMP='/var/tmp/genkernel'
|
|
|
|
TEMP='/var/tmp/genkernel'
|
|
|
|
|
|
|
|
|
|
|
|
small_die() {
|
|
|
|
small_die() {
|
|
|
@ -91,6 +91,19 @@ then
|
|
|
|
print_warning 1 ' Run ``mount /boot`` to mount it!'
|
|
|
|
print_warning 1 ' Run ``mount /boot`` to mount it!'
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
elif isBootRO
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
if isTrue ${MOUNTBOOT}
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
if ! mount -o remount,rw /boot
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
print_warning 1 "${BOLD}WARNING${NORMAL}: Failed to remount /boot RW!"
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
print_info 1 "mount: /boot remounted read/write successfully!"
|
|
|
|
|
|
|
|
BOOTRW=1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
@ -232,6 +245,8 @@ else
|
|
|
|
print_info 1 'initrd compiled successfully!'
|
|
|
|
print_info 1 'initrd compiled successfully!'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ "${BOOTRW}" != '' ] && mount -o remount,ro /boot
|
|
|
|
|
|
|
|
|
|
|
|
print_info 1 ''
|
|
|
|
print_info 1 ''
|
|
|
|
print_info 1 'Do NOT report kernel bugs as genkernel bugs unless your bug'
|
|
|
|
print_info 1 'Do NOT report kernel bugs as genkernel bugs unless your bug'
|
|
|
|
print_info 1 'is about the default genkernel configuration...'
|
|
|
|
print_info 1 'is about the default genkernel configuration...'
|
|
|
|