- int inferredStage2, invalidRepoParam;
-
/* Proxy info needs to be in the loaderData so we can get these
* settings off the command line, too.
*/
diff --git a/loader/method.c b/loader/method.c
index 273649b..844048f 100644
--- a/loader/method.c
+++ b/loader/method.c
@@ -359,41 +359,6 @@ void copyProductImg(char * path) {
}
}
-/** Bind the uncompressed second stage to /mnt/runtime.
- *
- * return 0 on success, 1 on failure to mount.
- */
-int mountStage2Direct(char *stage2Path) {
- if (access(stage2Path, R_OK)) {
- return 1;
- }
-
- char *target = "/mnt/runtime";
- char *error = NULL;
- if (doBindMount(stage2Path, target, &error)) {
- logMessage(ERROR, "failed to bind %s to %s: %s",
- stage2Path, target, error);
- free(error);
- return 1;
- }
- logMessage(INFO, "successfully bound %s to %s", stage2Path, target);
- return 0;
-}
-
-/* mount a second stage, verify the stamp file, copy updates
- * Returns 0 on success, 1 on failure to mount, -1 on bad stamp */
-int mountStage2(char *stage2path) {
- if (access(stage2path, R_OK)) {
- return 1;
- }
-
- if (doPwMount(stage2path, "/mnt/runtime", "auto", "ro", NULL)) {
- return 1;
- }
-
- return 0;
-}
-
/* given a device name (w/o '/dev' on it), try to get a file */
/* Error codes:
1 - could not create device node
diff --git a/loader/method.h b/loader/method.h
index 7918fe1..c8d8ce0 100644
--- a/loader/method.h
+++ b/loader/method.h
@@ -42,8 +42,6 @@ struct installMethod {
int readStampFileFromIso(char *file, char **descr, char **timestamp);
void queryIsoMediaCheck(char * isoDir);