2 KERNEL_VERSION=2.6.39-ccs-svn5123
5 # updating module dependencies
6 echo ">>> Updating module dependencies. Please wait ..."
8 # generate init ramdisks
9 echo ">>> MKINITCPIO SETUP"
10 echo ">>> ----------------"
11 echo ">>> If you use LVM2, Encrypted root or software RAID,"
12 echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
13 echo ">>> More information about mkinitcpio setup can be found here:"
14 echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
16 echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
17 /sbin/mkinitcpio -p kernel26${KERNEL_NAME}
20 echo " * Install the ccs-tools package to make use of TOMOYO Linux"
22 echo " * Some configuration options differ from the upstream Arch Linux"
23 echo " kernel for security reasons:"
25 echo " CONFIG_MMAP_MIN_ADDR=65536"
26 echo " This is the safe default. Some distributions reduce this to"
27 echo " 4096 to account for people using vm86 functionality."
28 echo " Put the following line in /etc/sysctl.conf if required:"
29 echo " vm.mmap_min_addr = 4096"
34 if [ "$(vercmp $1 2.6.39.1)" -le 0 ]; then
37 # updating module dependencies
38 echo ">>> Updating module dependencies. Please wait ..."
39 depmod $KERNEL_VERSION
40 # generate init ramdisks
41 echo ">>> MKINITCPIO SETUP"
42 echo ">>> ----------------"
43 echo ">>> If you use LVM2, Encrypted root or software RAID,"
44 echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
45 echo ">>> More information about mkinitcpio setup can be found here:"
46 echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
48 echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
49 /sbin/mkinitcpio -p kernel26${KERNEL_NAME}
54 rm -f /boot/kernel26${KERNEL_NAME}.img
55 rm -f /boot/kernel26${KERNEL_NAME}-fallback.img