Joey Hess wrote:
As a bonus, before reading your reply I had re-implemented this
functionality in C which sped it up by a factor of 4 - using tar seems to
have the same effect.
Using C is an interesting idea..
yes. using tar from the live-system would be unfortunate, as it highers
the
Joey Hess wrote:
something seems to block the filename output from tar, causing the
progress bar to sit at 2% until very near the end - it then shoots up
quite quickly.
Right, I guess I'd need to use a read loop to get the lines one at a
time rather than having it buffer. Updated
tags 486926 + patch
thanks
Chris Lamb wrote:
I tried a few fd/fifo redirection tricks, but couldn't get the right
combination..any ideas?
Got it, hurrah. Updated and tested patch attached.
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
Chris Lamb wrote:
That fixes that problem, but now the read command started by db_progress
STEP 1 is reading a filename instead of the the STEP value, resulting in
Invalid value: ./bin/, and the installation failing.
I tried a few fd/fifo redirection tricks, but couldn't get the right
Chris Lamb wrote:
tags 486926 + patch
thanks
Chris Lamb wrote:
I tried a few fd/fifo redirection tricks, but couldn't get the right
combination..any ideas?
Got it, hurrah. Updated and tested patch attached.
Huh, it looks like I was at least on the right track with my patch..
+
Joey Hess wrote:
If so, jusr db_progress STEP 1 4 should work just as well and less
messily, like in my patch.
Your patch works. Please disregard mine.. many thanks.
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
Chris Lamb [EMAIL PROTECTED] writes:
Joey Hess wrote:
If so, jusr db_progress STEP 1 4 should work just as well and less
messily, like in my patch.
Your patch works. Please disregard mine.. many thanks.
Joey, could you please commit it?
--
O T A V I OS A L V A D O R
Package: live-installer
Severity: normal
Version: 5
After installation via live-installer, permisions on directories are all
0755. This is especially noticable on /tmp, /var/mail, /etc/ssl/private, etc.
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
Chris Lamb wrote:
Package: live-installer
Severity: normal
Version: 5
After installation via live-installer, permisions on directories are all
0755. This is especially noticable on /tmp, /var/mail, /etc/ssl/private, etc.
If that's the case, the bug should probably be RC; a system with such
Joey Hess wrote:
The thing to do seems to be to use tar instead.
I cannot test the attached patch easily, since I have no live CDs to use
it with.
Just tried it here. Whilst the files are copied with the correct permissions
(yay), something seems to block the filename output from tar,
Chris Lamb wrote:
Just tried it here. Whilst the files are copied with the correct permissions
(yay), something seems to block the filename output from tar, causing the
progress bar to sit at 2% until very near the end - it then shoots up quite
quickly.
Right, I guess I'd need to use a read
11 matches
Mail list logo