diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-02-05 14:47:53 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-02-05 14:47:53 +0100 |
commit | a2de584c87368c0d966dd9250c212a8460158b3b (patch) | |
tree | ee43a7402d13799cd422c4a23eecf5d9a60cec86 /package | |
parent | ce4a0717fc441eb5236a36e12cdfe02e4d3c32b6 (diff) |
avoid using mkfs.ext4, which enables grub unsupported features by default
Diffstat (limited to 'package')
-rw-r--r-- | package/adkinstall/src/adkinstall | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/adkinstall/src/adkinstall b/package/adkinstall/src/adkinstall index 8fa1b9b00..90ceb77ec 100644 --- a/package/adkinstall/src/adkinstall +++ b/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 |