mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
core/linux: fixed linux.install
This commit is contained in:
parent
5e0c82bb05
commit
65c5409b9c
1 changed files with 3 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
# arg 2: the old package version
|
# arg 2: the old package version
|
||||||
|
|
||||||
KERNEL_NAME=
|
KERNEL_NAME=
|
||||||
KERNEL_VERSION=3.0-ARCH
|
KERNEL_VERSION=3.1.0-4-ARCH
|
||||||
|
|
||||||
post_install () {
|
post_install () {
|
||||||
# updating module dependencies
|
# updating module dependencies
|
||||||
|
@ -13,9 +13,8 @@ post_install () {
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
if grep "^[^#]*[[:space:]]/boot" etc/fstab 2>&1 >/dev/null; then
|
if grep "^[^#]*[[:space:]]/boot" etc/fstab 2>&1 >/dev/null; then
|
||||||
if ! grep "[[:space:]]/boot" etc/mtab 2>&1 >/dev/null; then
|
if ! grep "[[:space:]]/boot" etc/mtab 2>&1 >/dev/null; then
|
||||||
echo "WARNING: /boot appears to be a seperate partition but is not mounted"
|
echo "WARNING: /boot appears to be a seperate partition but is not mounted."
|
||||||
echo " This is most likely not what you want. Please mount your /boot"
|
echo " You probably just broke your system. Congratulations."
|
||||||
echo " partition and reinstall the kernel unless you are sure this is OK"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue