forked from pool/kernel-source
This commit is contained in:
committed by
Git OBS Bridge
parent
7cc11fd84e
commit
14874086dd
2
pre.sh
2
pre.sh
@@ -6,7 +6,7 @@
|
||||
# this will double the required space below /boot
|
||||
# remove the files from the old packages to make room for the new initrd
|
||||
# rpm may complain about low disk space if /boot/vmlinux does not fit
|
||||
if [ "$YAST_IS_RUNNING" != "" ]; then
|
||||
if [ @BASE_PACKAGE@ = 1 -a "$YAST_IS_RUNNING" != "" ]; then
|
||||
mydf="$( POSIXLY_CORRECT=1 df -P /boot/ | awk '/^(\/|-[[:blank:]])/{ print $4}' )"
|
||||
if test "$mydf" != "" ; then
|
||||
echo "Free diskspace below /boot: $mydf blocks"
|
||||
|
Reference in New Issue
Block a user