/srv/irclogs.ubuntu.com/2013/02/26/#ubuntu-iso.txt

nebuchadnezzarHello10:50
cjwatsonnebuchadnezzar: hi - thanks for your reports14:58
cjwatsonnebuchadnezzar: what revision of ubuntu-cdimage are you on right now for bug 1133321, and exactly what command line are you running?14:59
nebuchadnezzarI'm using trunk cdimage15:01
cjwatsonRight, I know, but what revision number?15:03
nebuchadnezzarand I run: ARCHES=amd64 DIST=lucid CDIMAGE_ROOT=$(pwd) bin/for-project $MY_PROJECT ${CDIMAGE_ROOT}/bin/cron.daily15:03
nebuchadnezzarsorry: 103815:03
nebuchadnezzarIt looks like Config.set_default_arches() do not use environment variables15:04
cjwatsonAny local modifications?15:04
cjwatsonAh, yes, my mistake then15:05
nebuchadnezzaronly in for-project to accept my custom project name15:05
nebuchadnezzarand some logging in build.py15:05
cjwatsonIt's all been very awkward with the temporary bridging between shell and Python15:07
nebuchadnezzarsure, I'm following it near in live ;-)15:08
* cjwatson attempts to write a test case15:08
cjwatsonMy initial attempt at fixing this (by not exporting values from the config file to the environment at all, and relying on anything non-Python that needs them to source etc/config) horribly broke debian-cd15:11
cjwatsonI think perhaps the answer is to explicitly export the Config to debian-cd in its environment15:12
nebuchadnezzarI must admit I'm not completely aware of how it works, I have a quite hard time understanding seeds and germinate, I set LOCAL_SEEDS, add a $PROJECT.$DIST/ seed directory, I added a $PROJECT.$DIST/$PROJECT seed file with my custom metapackages, list it in STRUCTURE which include ubuntu.$DIST, the germination is OK, I got my $GERMINATE_OUT/$PROJECT.packages but the $TASK_OUT/MASTER do not include $PROJECT/$DIST/$PROJECT15:13
cjwatsonIt's generally better to add your custom metapackages to an appropriate existing seed instead15:14
cjwatsonOtherwise you have to modify cdimage.germinate.Germination.list_seeds to look at your additional seeds15:15
nebuchadnezzarI looked cleaner to me, avoiding conflicts with ubuntu ones15:15
cjwatsonOr alternatively you can make some appropriate seed (e.g. "ship" or "desktop") inherit from your new seed15:15
cjwatsonBy adding your new seed to the right-hand side of that line in STRUCTURE15:16
nebuchadnezzarI though TASKPROJECT was use for the task MASTER15:16
cjwatsonI'd probably be inclined to do the latter15:16
cjwatsonNo, different named seeds have specific purposes15:17
cjwatsonThere's no "ubuntu" seed, for instance ...15:17
cjwatsonFor instance, desktop and the seeds it inherits constitute the packages that should be installed for a default desktop install; ship constitutes extra packages shipped on the image which may be installed conditionally or may just be available for manual installation without having to go to the network; etc.15:18
nebuchadnezzarWhat do you think about a configration option to be used in cdimage.germinate.Germination.list_seeds15:18
cjwatsonThe various modes of list-seeds list the seeds that are used for various purposes15:18
cjwatsonIt doesn't sound necessary or desirable in your case; the seeds are intended to be modified15:19
nebuchadnezzarso, looking at cdimage.germinate.Germination.seed_dists, I create a $PROJECT.$DIST seeds directory, and create a seed file called "required" and list my metapackages in it, an empty seed file "$PROJECT" which depends on "boot required minimal standard" to build my alternate ISO with my packages?15:29
nebuchadnezzarI really thought of building a seed tree and the roots are the $PROJECT listing some metapackages and depending on other seeds, but it seems that seeds file names are quite static, or maybe the $PROJECT-server is what I need, I'll make some tests 15:36
nebuchadnezzartrying to be clear of what I did: http://paste.ubuntu.com/5567938/15:49
cjwatsonYou really shouldn't use required for this ...15:55
cjwatsonThat has a specific meaning, roughly the set of packages installed by debootstrap15:55
cjwatsonI really actively recommend against this idea that you should name your seed after your project.15:55
cjwatsonIt will only confuse you.15:55
cjwatsonTreat seeds as having functional names, not branding names15:56
cjwatsonI suspect you ought to just replace the server seed contents with yours; I'd recommend taking a bzr branch of the Ubuntu seeds to make it easier to manage15:56
nebuchadnezzarno, I just add packages on-top15:57
cjwatsonI get the impression that your image is more like the Ubuntu server image than the alternate image?15:57
nebuchadnezzarWell, the guy before me did some things, and we got alternate images, with a boot menu to install all our flavors (hack of $DIST/boot.$ARCH)15:59
nebuchadnezzarI try to make it more "clean" in the ubuntu way16:00
cjwatsonnebuchadnezzar: Try r1039 and see if it fixes bug 1133321?17:35
cjwatsonSorry for the delay - had to pick up my bike from the repair shop, then had a meeting17:35
nebuchadnezzarnot a problem, I'll try tomorrow18:09
nebuchadnezzargood evening18:10

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!