diff options
author | André Fabian Silva Delgado | 2015-09-28 20:39:03 -0300 |
---|---|---|
committer | André Fabian Silva Delgado | 2015-09-28 20:39:03 -0300 |
commit | 87f7f8ce34649ed743b37ae88f4c79d84e731110 (patch) | |
tree | 56af7a916e3a524c549c024baab6d8402802f613 /linux.install | |
parent | f52498ee7d059c786b33d948cfc24897147c89c0 (diff) | |
download | aur-87f7f8ce34649ed743b37ae88f4c79d84e731110.tar.gz |
Update to 4.2.1_gnu-1
Diffstat (limited to 'linux.install')
-rw-r--r-- | linux.install | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/linux.install b/linux.install index 3ab31da5837f..bd40bcc5f926 100644 --- a/linux.install +++ b/linux.install @@ -8,7 +8,7 @@ post_install () { # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." depmod ${KERNEL_VERSION} - if [ "$(uname -m)" = "armv7h" ]; then + if [ "$(uname -m)" = "armv7l" ]; then echo ">>> NOTE: Using this kernel requires GRUB!" echo ">>> See the Migration Guide for instructions:" echo ">>> https://wiki.parabola.nu/Migration_from_Arch_ARM#GRUB" @@ -19,18 +19,14 @@ post_install () { } post_upgrade() { - if [ "$(uname -m)" = "armv7h" ]; then - # updating module dependencies - echo ">>> Updating module dependencies. Please wait ..." - depmod ${KERNEL_VERSION} - elif [ "$(uname -m)" = "x86_64" ] || [ "$(uname -m)" = "i686" ]; then + # updating module dependencies + echo ">>> Updating module dependencies. Please wait ..." + depmod ${KERNEL_VERSION} + if [ "$(uname -m)" = "x86_64" ] || [ "$(uname -m)" = "i686" ]; then if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then echo "WARNING: /boot appears to be a separate partition but is not mounted." fi - # updating module dependencies - echo ">>> Updating module dependencies. Please wait ..." - depmod ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." mkinitcpio -p linux-libre${KERNEL_NAME} |