From: Arne Fitzenreiter Date: Thu, 12 Aug 2010 16:02:58 +0000 (+0200) Subject: Remove tar sterr output on installscreen. X-Git-Tag: v2.9-beta1~48^2~5^2~2^2~125 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=23ed79cb4910cf6c869399aab6457003dbcaa79d;ds=sidebyside Remove tar sterr output on installscreen. Add eject to installer. --- diff --git a/config/rootfiles/installer/eject b/config/rootfiles/installer/eject new file mode 120000 index 0000000000..54928be24c --- /dev/null +++ b/config/rootfiles/installer/eject @@ -0,0 +1 @@ +../common/eject \ No newline at end of file diff --git a/src/install+setup/install/main.c b/src/install+setup/install/main.c index ff0b3a27f3..d023b69b08 100644 --- a/src/install+setup/install/main.c +++ b/src/install+setup/install/main.c @@ -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) {