mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
parent
7b40f38d01
commit
045ddf9b55
10 changed files with 10 additions and 10 deletions
|
@ -24,7 +24,7 @@ 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 separate partition but is not mounted"
|
||||||
echo " This is most likely not what you want. Please mount your /boot"
|
echo " This is most likely not what you want. Please mount your /boot"
|
||||||
echo " partition and reinstall the kernel unless you are sure this is OK"
|
echo " partition and reinstall the kernel unless you are sure this is OK"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -13,7 +13,7 @@ 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 separate partition but is not mounted"
|
||||||
echo " This is most likely not what you want. Please mount your /boot"
|
echo " This is most likely not what you want. Please mount your /boot"
|
||||||
echo " partition and reinstall the kernel unless you are sure this is OK"
|
echo " partition and reinstall the kernel unless you are sure this is OK"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -13,7 +13,7 @@ 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 separate partition but is not mounted."
|
||||||
echo " You probably just broke your system. Congratulations."
|
echo " You probably just broke your system. Congratulations."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -13,7 +13,7 @@ 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 separate partition but is not mounted."
|
||||||
echo " You probably just broke your system. Congratulations."
|
echo " You probably just broke your system. Congratulations."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -13,7 +13,7 @@ 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 separate partition but is not mounted"
|
||||||
echo " This is most likely not what you want. Please mount your /boot"
|
echo " This is most likely not what you want. Please mount your /boot"
|
||||||
echo " partition and reinstall the kernel unless you are sure this is OK"
|
echo " partition and reinstall the kernel unless you are sure this is OK"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -30,7 +30,7 @@ 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 separate partition but is not mounted."
|
||||||
echo " You probably just broke your system. Congratulations."
|
echo " You probably just broke your system. Congratulations."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -22,7 +22,7 @@ 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 separate partition but is not mounted."
|
||||||
echo " You probably just broke your system. Congratulations."
|
echo " You probably just broke your system. Congratulations."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -16,7 +16,7 @@ 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 separate partition but is not mounted"
|
||||||
echo " This is most likely not what you want. Please mount your /boot"
|
echo " This is most likely not what you want. Please mount your /boot"
|
||||||
echo " partition and reinstall the kernel unless you are sure this is OK"
|
echo " partition and reinstall the kernel unless you are sure this is OK"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -23,7 +23,7 @@ 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 separate partition but is not mounted."
|
||||||
echo " You probably just broke your system. Congratulations."
|
echo " You probably just broke your system. Congratulations."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -19,7 +19,7 @@ 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 separate partition but is not mounted"
|
||||||
echo " This is most likely not what you want. Please mount your /boot"
|
echo " This is most likely not what you want. Please mount your /boot"
|
||||||
echo " partition and reinstall the kernel unless you are sure this is OK"
|
echo " partition and reinstall the kernel unless you are sure this is OK"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue