On Tue, 2007-08-07 at 17:44 -0400, Colin Walters wrote:
+class TextProgress(object):
- def start(self, filename, url, *args, **kwargs):
print "Retrieving %s" % (url,)self.url = url- def update(self, *args):
pass- def end(self, *args):
print "Retrieved %s OK" % (self.url,)
Why two lines for every package? Seems like we should be able to just have the retrieving when it starts (and no newline) and then "OK" when it completes.
@@ -189,7 +198,7 @@ class LiveCDYum(yum.YumBase): conf += "installroot=%s\n" % installroot conf += "cachedir=/var/cache/yum\n" conf += "plugins=0\n"
conf += "debuglevel=2\n"
conf += "debuglevel=3\n" conf += "reposdir=\n"
What does debuglevel of 3 vs 2 give you? 2 is the default with yum, and I don't really know that making it higher for livecd-tools makes sense. It probably does, though, make sense to think about a --quiet and --verbose as we get more things which output more.
Jeremy
On Wed, 2007-08-08 at 12:17 -0400, Jeremy Katz wrote:
On Tue, 2007-08-07 at 17:44 -0400, Colin Walters wrote:
+class TextProgress(object):
- def start(self, filename, url, *args, **kwargs):
print "Retrieving %s" % (url,)self.url = url- def update(self, *args):
pass- def end(self, *args):
print "Retrieved %s OK" % (self.url,)Why two lines for every package? Seems like we should be able to just have the retrieving when it starts (and no newline) and then "OK" when it completes.
Mainly because that creates the assumption that it will be the only function showing output during that time.
@@ -189,7 +198,7 @@ class LiveCDYum(yum.YumBase): conf += "installroot=%s\n" % installroot conf += "cachedir=/var/cache/yum\n" conf += "plugins=0\n"
conf += "debuglevel=2\n"
conf += "debuglevel=3\n" conf += "reposdir=\n"What does debuglevel of 3 vs 2 give you? 2 is the default with yum, and I don't really know that making it higher for livecd-tools makes sense. It probably does, though, make sense to think about a --quiet and --verbose as we get more things which output more.
This change should probably not be included; I don't remember now why I did that.
Anyways, this patch isn't really important; the only one I actually care about is the caching patch.
FWIW, this would really help troubleshooting.
Tim
On Aug 8, 2007, at 10:36 AM, Colin Walters wrote:
On Wed, 2007-08-08 at 12:17 -0400, Jeremy Katz wrote:
On Tue, 2007-08-07 at 17:44 -0400, Colin Walters wrote:
+class TextProgress(object):
- def start(self, filename, url, *args, **kwargs):
print "Retrieving %s" % (url,)self.url = url- def update(self, *args):
pass- def end(self, *args):
print "Retrieved %s OK" % (self.url,)Why two lines for every package? Seems like we should be able to just have the retrieving when it starts (and no newline) and then "OK" when it completes.
Mainly because that creates the assumption that it will be the only function showing output during that time.
@@ -189,7 +198,7 @@ class LiveCDYum(yum.YumBase): conf += "installroot=%s\n" % installroot conf += "cachedir=/var/cache/yum\n" conf += "plugins=0\n"
conf += "debuglevel=2\n"
conf += "debuglevel=3\n" conf += "reposdir=\n"What does debuglevel of 3 vs 2 give you? 2 is the default with yum, and I don't really know that making it higher for livecd-tools makes sense. It probably does, though, make sense to think about a --quiet and --verbose as we get more things which output more.
This change should probably not be included; I don't remember now why I did that.
Anyways, this patch isn't really important; the only one I actually care about is the caching patch.
-- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
I think there is a missing boot option on Live media created by livecd-creator: boot from the system default bootloader. Since the Live media (CDROM or USB key) created from livecd-creator is not ejected when the system is restarted or shut down, the user needs to remove it immediately after the system starts up if he doesn't to boot from the live media. The option to boot from the system default bootloader would be a nice addition for advanced users.
-- Patrice Guay
On Tue, 2007-08-14 at 10:59 -0400, Patrice Guay wrote:
I think there is a missing boot option on Live media created by livecd-creator: boot from the system default bootloader. Since the Live media (CDROM or USB key) created from livecd-creator is not ejected when the system is restarted or shut down, the user needs to remove it immediately after the system starts up if he doesn't to boot from the live media. The option to boot from the system default bootloader would be a nice addition for advanced users.
At least for x86, it should be easy enough to add localboot. It can't necessarily be guaranteed to work as there's dependencies on the BIOS not being broken, but we do it for the boot CDs.
Can you file something in bugzilla and I'll take a look into it?
Jeremy
Jeremy Katz wrote:
On Tue, 2007-08-14 at 10:59 -0400, Patrice Guay wrote:
I think there is a missing boot option on Live media created by livecd-creator: boot from the system default bootloader. Since the Live media (CDROM or USB key) created from livecd-creator is not ejected when the system is restarted or shut down, the user needs to remove it immediately after the system starts up if he doesn't to boot from the live media. The option to boot from the system default bootloader would be a nice addition for advanced users.
At least for x86, it should be easy enough to add localboot. It can't necessarily be guaranteed to work as there's dependencies on the BIOS not being broken, but we do it for the boot CDs.
Can you file something in bugzilla and I'll take a look into it?
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=252192
-- Patrice Guay
livecd@lists.fedoraproject.org