]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Remove tar sterr output on installscreen.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 12 Aug 2010 16:02:58 +0000 (18:02 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 12 Aug 2010 16:02:58 +0000 (18:02 +0200)
Add eject to installer.

config/rootfiles/installer/eject [new symlink]
src/install+setup/install/main.c

diff --git a/config/rootfiles/installer/eject b/config/rootfiles/installer/eject
new file mode 120000 (symlink)
index 0000000..54928be
--- /dev/null
@@ -0,0 +1 @@
+../common/eject
\ No newline at end of file
index ff0b3a27f39e006d41268222b6c7b1632d51ce85..d023b69b0809cf6db56ee68aa7a568840d3c8064 100644 (file)
@@ -441,7 +441,7 @@ int main(int argc, char *argv[])
        }
 
        snprintf(commandstring, STRING_SIZE,
-               "/bin/tar -C /harddisk  -xvf /cdrom/" SNAME "-" VERSION ".tlz --lzma");
+               "/bin/tar -C /harddisk  -xvf /cdrom/" SNAME "-" VERSION ".tlz --lzma 2>/dev/null");
        
        if (runcommandwithprogress(60, 4, title, commandstring, INST_FILECOUNT,
                ctr[TR_INSTALLING_FILES]))
@@ -538,7 +538,7 @@ int main(int argc, char *argv[])
        }
        
        mysystem("umount /cdrom");
-       snprintf(commandstring, STRING_SIZE, "eject /dev/%s", sourcedrive);
+       snprintf(commandstring, STRING_SIZE, "/usr/bin/eject /dev/%s", sourcedrive);
        mysystem(commandstring);
 
        if (!unattended) {