summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-02-05 14:47:53 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-02-05 14:47:53 +0100
commita2de584c87368c0d966dd9250c212a8460158b3b (patch)
treeee43a7402d13799cd422c4a23eecf5d9a60cec86 /package
parentce4a0717fc441eb5236a36e12cdfe02e4d3c32b6 (diff)
avoid using mkfs.ext4, which enables grub unsupported features by default
Diffstat (limited to 'package')
-rw-r--r--package/adkinstall/src/adkinstall4
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