Browse Source

avoid using mkfs.ext4, which enables grub unsupported features by default

Waldemar Brodkorb 7 years ago
parent
commit
a2de584c87
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/adkinstall/src/adkinstall

+ 2 - 2
package/adkinstall/src/adkinstall

@@ -236,7 +236,7 @@ if [ "$target" = "mikrotik-rb532" ];then
 	fi
 fi
 
-tools="parted partprobe sfdisk mkfs.$fs"
+tools="parted partprobe sfdisk mkfs.ext2"
 
 f=0
 for tool in $tools;do
@@ -294,7 +294,7 @@ function change_part_type {
 
 function create_filesystem {
 	print creating filesystem $2 on $1 partition $3
-	mkfs.$2 -F -q ${1}${3}
+	mkfs.ext2 -j -F -q ${1}${3}
 	if [ $? -ne 0 ]; then
 		echo "creating filesystem on partition failed!"
 		exit 1