aboutsummaryrefslogtreecommitdiffstats
path: root/updater/install.c
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@gmail.com>2015-10-19 02:49:25 +0300
committerSteve Kondik <shade@chemlab.org>2015-11-07 01:14:28 -0800
commita601fab9c6d5c1e029f47dbf11d888da91562cd2 (patch)
treebfe07ec980b86a83cf4aacbf64dca351b10383e4 /updater/install.c
parent5cb4bd06af989391a4523e74ea44b6b6a0302d96 (diff)
downloadbootable_recovery-a601fab9c6d5c1e029f47dbf11d888da91562cd2.zip
bootable_recovery-a601fab9c6d5c1e029f47dbf11d888da91562cd2.tar.gz
bootable_recovery-a601fab9c6d5c1e029f47dbf11d888da91562cd2.tar.bz2
Remove ext4 guards
* Fix compilation on yaffs targets Change-Id: Icd571dce3ee8c232b13ae199df6e0a4feeb7fb68
Diffstat (limited to 'updater/install.c')
-rw-r--r--updater/install.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/updater/install.c b/updater/install.c
index ba2dda7..c6d0e1c 100644
--- a/updater/install.c
+++ b/updater/install.c
@@ -47,11 +47,8 @@
#include "updater.h"
#include "install.h"
#include "tune2fs.h"
-
-#ifdef USE_EXT4
#include "make_ext4fs.h"
#include "wipe.h"
-#endif
void uiPrint(State* state, char* buffer) {
char* line = strtok(buffer, "\n");
@@ -332,7 +329,6 @@ Value* FormatFn(const char* name, State* state, int argc, Expr* argv[]) {
goto done;
}
result = location;
-#ifdef USE_EXT4
} else if (strcmp(fs_type, "ext4") == 0) {
int status = make_ext4fs(location, atoll(fs_size), mount_point, sehandle);
if (status != 0) {
@@ -360,7 +356,6 @@ Value* FormatFn(const char* name, State* state, int argc, Expr* argv[]) {
goto done;
}
result = location;
-#endif
} else {
printf("%s: unsupported fs_type \"%s\" partition_type \"%s\"",
name, fs_type, partition_type);