minor cdimage bug?
Josh Cronemeyer
jcroneme at thoughtworks.com
Wed Jun 11 19:16:14 BST 2008
I can't find a bug tracker for the cdimage tool so I'm posting to these
lists.
I've been using cdimage to generate my own customized xubuntu installer. I
was having an issue getting changes in my local seeds to propigate through
to the tasks. I figured it out and wanted to mention the behavior I was
getting to the community in case this was a bug.
1. If you set the LOCAL_SEEDS env var and the path you specify is not a
bzr branch you get an error. I was thinking the local seeds shouldn't
have to be a bzr branch.
2. If you set the LOCAL_SEEDS env var to a directory that is a bzr branch,
but one that has uncommitted local changes, the germinate command will
ignore your uncommitted local changes and just use the latest version from
the repository. I was thinking it shouldn't ignore uncommitted local
changes.
The following diff is an easy workaround for this:
=== modified file 'bin/run-germinate'
--- bin/run-germinate 2008-04-30 21:53:12 +0000
+++ bin/run-germinate 2008-06-11 17:26:44 +0000
@@ -23,6 +23,7 @@
fi
if [ "$LOCAL_SEEDS" ]; then
SEED_SOURCE="$LOCAL_SEEDS"
+ GERMINATE_BZR=
fi
case $DIST in
Obviously you don't need to change the code to get this to work... just
make sure you have your seeds in bzr and make sure any changes you want
are committed, so maybe it isn't a bug at all... just a tad confusing.
Josh Cronemeyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20080611/a5199a32/attachment.htm
More information about the ubuntu-devel
mailing list