Commit 9c680504e3ac2d17d8cbfb730987e08111f1a04d

Authored by Silvan Calarco
1 parent f6e48799d4
Exists in master

installer.sh: btrfs and xfs want -f to format on an existing filesystem

Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff

installer/installer.sh
... ... @@ -138,6 +138,7 @@
138 138 ;;
139 139 btrfs|xfs|reiser4)
140 140 # FIXME: bad blocks check option missing?
  141 + FORMAT_APPEND="$FORMAT_APPEND -f"
141 142 [ "$INSTALL_HOSTNAME" ] && \
142 143 FORMAT_APPEND="$FORMAT_APPEND -L $INSTALL_HOSTNAME"
143 144 ;;
... ... @@ -166,7 +167,7 @@
166 167 ;;
167 168 btrfs|xfs|reiser4)
168 169 # FIXME: bad blocks check option missing?
169   - FORMAT_HOME_APPEND="$FORMAT_HOME_APPEND -L home"
  170 + FORMAT_HOME_APPEND="$FORMAT_HOME_APPEND -f -L home"
170 171 ;;
171 172 reiserfs)
172 173 # FIXME: bad blocks check option missing?
... ... @@ -192,7 +193,7 @@
192 193 ;;
193 194 btrfs|xfs|reiser4)
194 195 # FIXME: bad blocks check option missing?
195   - FORMAT_BOOT_APPEND="$FORMAT_BOOT_APPEND -L boot"
  196 + FORMAT_BOOT_APPEND="$FORMAT_BOOT_APPEND -f -L boot"
196 197 ;;
197 198 reiserfs)
198 199 # FIXME: bad blocks check option missing?