summaryrefslogtreecommitdiffstats
path: root/loader2/loader.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-12-06 17:39:06 -0500
committerJeremy Katz <katzj@redhat.com>2007-12-06 17:40:09 -0500
commit6e0a69b990414351a1d2c579c27cf670907a044f (patch)
tree3fc59c266d8ce1ebe08bd7e6a151478b60cc39c7 /loader2/loader.c
parentf7a7f8030ffae0ed0ec53cf44f2074050faf50a2 (diff)
downloadanaconda-6e0a69b990414351a1d2c579c27cf670907a044f.tar.gz
anaconda-6e0a69b990414351a1d2c579c27cf670907a044f.tar.xz
anaconda-6e0a69b990414351a1d2c579c27cf670907a044f.zip
Remove final traces of /tmp/ramfs usage
We used to need /tmp/ramfs since /tmp was from an initrd and thus had limited writable space. With initramfs, everything is already ramfs
Diffstat (limited to 'loader2/loader.c')
-rw-r--r--loader2/loader.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/loader2/loader.c b/loader2/loader.c
index ce00bd755..98c919079 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -127,11 +127,6 @@ static struct installMethod installMethods[] = {
};
static int numMethods = sizeof(installMethods) / sizeof(struct installMethod);
-void setupRamfs(void) {
- mkdirChain("/tmp/ramfs");
- doPwMount("none", "/tmp/ramfs", "ramfs", 0, NULL);
-}
-
void doSuspend(void) {
newtFinished();
exit(1);
@@ -1599,8 +1594,6 @@ int main(int argc, char ** argv) {
logMessage(INFO, "text mode forced due to serial/virtpconsole");
flags |= LOADER_FLAGS_TEXT;
}
- setupRamfs();
-
set_fw_search_path(&loaderData, "/firmware:/modules/firmware");
start_fw_loader(&loaderData);