diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-02 13:34:59 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-02 13:34:59 -0300 |
commit | 1371757c6f55775255c937e87c9fd48f9fa67228 (patch) | |
tree | 6da52bd7dd4aaaa2c6a38a3350635265081652cd /kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install | |
parent | c6bc582f822e403e8daccd6f30fe10625434d04f (diff) | |
download | abslibre-1371757c6f55775255c937e87c9fd48f9fa67228.tar.gz abslibre-1371757c6f55775255c937e87c9fd48f9fa67228.tar.bz2 abslibre-1371757c6f55775255c937e87c9fd48f9fa67228.zip |
linux-libre-aufs_friendly-3.3.4-1: updating version
Diffstat (limited to 'kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install')
-rw-r--r-- | kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install b/kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install index 09ca175a6..cad3564d8 100644 --- a/kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install +++ b/kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install @@ -2,16 +2,14 @@ # arg 2: the old package version KERNEL_NAME=-aufs_friendly -KERNEL_VERSION=3.2.9-2-LIBRE-AUFS_FRIENDLY +KERNEL_VERSION=3.3.4-1-LIBRE-AUFS_FRIENDLY post_install () { # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." depmod ${KERNEL_VERSION} - if command -v mkinitcpio 2>&1 > /dev/null; then - echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." - mkinitcpio -p linux-libre${KERNEL_NAME} - fi + echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." + mkinitcpio -p linux-libre${KERNEL_NAME} # compat symlinks for the official kernels only if [ -z "${KERNEL_NAME}" -o "${KERNEL_NAME}" = "-aufs_friendly" ]; then @@ -19,8 +17,9 @@ post_install () { [ -f /etc/lilo.conf ] && loaders="$loaders /etc/lilo.conf" if [ -n "${loaders}" ] && grep -q -e vmlinuz26 -e kernel26.img -e kernel26-fallback.img $loaders; then # add compat symlinks for the initramfs images - ln -sf initramfs-linux-libre${KERNEL_NAME}.img /boot/kernel26${KERNEL_NAME}.img - ln -sf initramfs-linux-libre${KERNEL_NAME}-fallback.img /boot/kernel26${KERNEL_NAME}-fallback.img + ln -sf initramfs-linux-libre${KERNEL_NAME}.img boot/kernel26${KERNEL_NAME}.img + ln -sf initramfs-linux-libre${KERNEL_NAME}-fallback.img \ + boot/kernel26${KERNEL_NAME}-fallback.img ln -sf vmlinuz-linux-libre${KERNEL_NAME} /boot/vmlinuz26${KERNEL_NAME} fi fi @@ -52,10 +51,8 @@ post_upgrade() { # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." depmod ${KERNEL_VERSION} - if command -v mkinitcpio 2>&1 > /dev/null; then - echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." - mkinitcpio -p linux-libre${KERNEL_NAME} - fi + echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." + mkinitcpio -p linux-libre${KERNEL_NAME} } post_remove() { |