mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'added "" to grub fix'
This commit is contained in:
parent
e0130601e3
commit
957a6df9a5
1 changed files with 4 additions and 4 deletions
|
@ -2362,10 +2362,10 @@ dogrub() {
|
|||
sync
|
||||
# freeze xfs filesystems to enable grub installation on xfs filesystems
|
||||
if [ -x /usr/sbin/xfs_freeze ]; then
|
||||
if [ $(cat /proc/mounts | grep "$DESTDIR/boot " | grep " xfs ") ]; then
|
||||
if [ "$(cat /proc/mounts | grep "$DESTDIR/boot " | grep " xfs ")" ]; then
|
||||
/usr/sbin/xfs_freeze -f $DESTDIR/boot > /dev/null 2>&1
|
||||
fi
|
||||
if [ $(cat /proc/mounts | grep "$DESTDIR/ " | grep " xfs ") ]; then
|
||||
if [ "$(cat /proc/mounts | grep "$DESTDIR/ " | grep " xfs ")" ]; then
|
||||
/usr/sbin/xfs_freeze -f $DESTDIR/ > /dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
@ -2403,10 +2403,10 @@ EOF
|
|||
cat /tmp/grub.log >$LOG
|
||||
# unfreeze xfs filesystems
|
||||
if [ -x /usr/sbin/xfs_freeze ]; then
|
||||
if [ $(cat /proc/mounts | grep "$DESTDIR/boot " | grep " xfs ") ]; then
|
||||
if [ "$(cat /proc/mounts | grep "$DESTDIR/boot " | grep " xfs ")" ]; then
|
||||
/usr/sbin/xfs_freeze -u $DESTDIR/boot > /dev/null 2>&1
|
||||
fi
|
||||
if [ $(cat /proc/mounts | grep "$DESTDIR/ " | grep " xfs ") ]; then
|
||||
if [ "$(cat /proc/mounts | grep "$DESTDIR/ " | grep " xfs ")" ]; then
|
||||
/usr/sbin/xfs_freeze -u $DESTDIR/ > /dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue