/srv/irclogs.ubuntu.com/2008/09/26/#ubuntu-installer.txt

=== superm1|away is now known as superm1
acoccjwatson, I've been looking over cdimage and was wondering if you had any experience running the daily cron using another server's pool instead of rsyncing it locally07:27
acocor if that's even possible07:27
acocI'm going to get some sleep, I'll try you tomorrow07:48
davmor2cjwatson: What's the major fail with i386 on the cd builds do you know?09:43
davmor2live only09:45
cjwatsonacoc: it's not possible with debian-cd as it stands10:35
cjwatsondavmor2: more detail please, I just got up10:36
davmor2cjwatson: sorry afk10:46
davmor2I386 desktop doesn't show up here http://people.ubuntu.com/~ubuntu-archive/livefs-build-logs/intrepid/ubuntu/20080926/ at all which is why I'm guessing it is using the 23rd image but because it's not showing up I don't know why?  So I'm assuming a major failure of build being as amd64 is there...10:48
davmor2daily alternate seems to be up to date though10:48
cjwatsonlooks like the livefs build machine got stuck on a lock10:51
cjwatsonI've cleaned up antimony's side of it and asked our sysadmins to fix terranova10:52
davmor2cjwatson: Okay cool just throw me when it didn't show up at all :)10:52
=== cjwatson_ is now known as cjwatson
=== davmor2 is now known as davmor2_Lunch
=== davmor2_Lunch is now known as davmor2
persiacjwatson: StevenK and I were looking at how to add the local installation pool to the ubuntu-mid images, and got a little lost in the debian-cd internals.  Would you be able to provide any guidance?14:01
StevenKI got very lost in debian-cd :-(14:02
cjwatsonpersia: do you have a separate archive already, or do you just want to throw in a few .debs?14:05
cjwatsonerr. I'm not actually sure what you mean, thinking about it14:05
cjwatson"local installation pool"?14:05
StevenKcjwatson: Like pool and dists on the Live CD14:06
persiaOn the live CD, there's a directory /pool/ in the VFAT, containing a local archive snapshot.  We'd like to do the same sort of thing.14:06
StevenKWhere persia says VFAT, he means ISO9660 :-P14:06
persiaIndeed :)14:07
xivulonis there any desire to add mythbuntu or other flavors that provide ubiquity live CD to wubi?14:07
persiaxivulon: I'm interested, but I'm not sure about the timing for the ubuntu-mobile flavour.14:08
xivulonpersia, as we discussed at UDS, I am a big fan of any flavor which can be used as a platform for providing a simplified desktop for young/elderly users14:11
persiaxivulon: There's one big outstanding bug to hit first, but as soon as that gets hit, I'd love to look at how to make it work with wubi.  I don't have any windows though.14:13
xivulondon't need one for that I can provide a script to loopinstall onto another ntfs/ext3 partition for testing purposes, also in vm, (which is my testing rig)14:14
cjwatsonpersia: ok, I'll take a look ...14:15
cjwatsonnow *I'm* lost in build-mobile*.14:15
persiaStevenK: Please provide guidance.14:15
cjwatsonis there any tool to recursively copy a filesystem tree into a vfat image using mtools?14:16
StevenKNot that I've found.14:16
cjwatsonOK, I suppose that could be hacked up with find+xargs14:17
StevenKcjwatson: Ignore build-mobile, it essentially does download-live-filesystems and publishing, build-mobile-img is the script that creates the vfat. I suspect you've already discovered this.14:17
cjwatsonok, um, so. I think the first thing you need to do is to bin build-mobile and integrate its functionality into build-image-set.14:17
cjwatsonbecause you're going to need nearly all of build-image-set anyway in order to make this work14:17
StevenKBut build-image-set scares me14:18
cjwatsonyes. but it's doing the work you need.14:18
cjwatsonyou need the whole sync-an-archive and call ./build_all.sh stuff14:18
cjwatsonnot to mention running germinate14:18
StevenK... We do?14:18
cjwatsonyes, you do14:18
cjwatsonthat's what builds pool/ and dists/, ultimately14:19
StevenKOh, right14:19
cjwatsonotherwise where are you going to get it from?14:19
StevenKWe call build-image-set for the dailies actually, we just drop out early.14:19
cjwatsonwhere's that?14:20
cjwatsonoh dear god14:20
cjwatsonthat's horrible. doesn't count. :)14:20
xivulonpersia, can mid be run as a desktop on standard PCs?14:20
StevenKOh yeah. We use it for setting up mail and then we jump to build-mobile.14:20
persiaxivulon: -mid might be a little funny, but ought work on newer machines.  -mobile *definitely* can run as a desktop on regular PCs.14:21
cjwatsonno, I meant using it properly14:21
cjwatsonbuild-mobile isn't really all that different - you should just need to set IMAGE_TYPE=mobile or something and then key off that14:21
StevenKcjwatson: Hm. Maybe I shouldn't have pointed that out. :-)14:21
cjwatsonand you've already got $PROJECT set14:22
xivulonpersia: looks intersting will play with that in coming days14:22
xivulonsuperm1: what are your thoughts to have mythbuntu in wubi?14:22
cjwatsonso you can make run-germinate check that to decide which seed collections to use, and germinate-to-tasks can pick out the right seeds from that and select the right set of packages14:22
persiaxivulon: Thanks.  Please let me know if you need anything.14:23
StevenKcjwatson: But it looks like all of the heavy lifting is done in build_all.sh, which is ... odd code14:23
cjwatsonoh, and list-seeds would need to spit out the right set of top-level seeds14:23
cjwatsonStevenK: don't worry about build_all.sh for now14:23
xivulonps is there any plan to do a livecd for gobuntu?14:23
cjwatsonactually, it will largely just do what you tell it14:23
cjwatsonxivulon: no, we aren't building Gobuntu any more14:23
StevenKcjwatson: From my reading of it, it eats small children.14:23
cjwatsonhttps://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-June/000434.html14:23
cjwatsonStevenK: honestly, most of cdimage is dedicated to setting up debian-cd so that you can just point it in the right direction and say "eat that *very specific* small child over there"14:24
StevenKHeh14:24
cjwatsonyou are going to have to use it if you want pool/ and dists/14:24
cjwatsonotherwise you'll have to reinvent it14:24
xivuloncjwatson: thx had missed that, didn't notice the "Free Software Only" option (also because I am mostly in automatic mode)14:25
StevenKcjwatson: So, I can see where you're going, I can leave CDIMAGE_LIVE set and have download-live-filesystems run. Maybe then I have a check for CDIMAGE_MOBILE and run build-mobile-img14:25
cjwatsonright, that's sort of what I was thinking14:26
persiaAnd as a bonus, we can have proper tracking of preseed files with debian-cd.14:26
cjwatsonI never liked build-mobile being a separate script anyway :)14:26
StevenKSo I'm probably going to have to set IMAGE_TYPE, which I've sort of ignored up till now14:28
StevenKcjwatson: Mind you, I like the new build-mobile a lot more than the old one14:31
superm1xivulon, they would have to be dedicating a significant amount of space to do so14:32
superm1xivulon, for recordings and such14:32
superm1i think if the frontend only mode were activated however, its doable14:32
superm1and quite interesting then14:32
cjwatsonStevenK: I think you ought to. IMAGE_TYPE defines the "form factor" of the image, and should be used when you're creating a different type of object - d-i CD vs. live CD vs. DVD vs. VFAT mobile image14:33
cjwatsonPROJECT is supposed to control the contents of the image (list of packages it contains, preseed files, particular live filesystem to fetch, etc.)14:34
StevenKcjwatson: Yes, I'm guessing I'm also going to have to either do strange things to cron.daily-live or write cron.daily-mobile14:34
cjwatsoncron.daily-mobile would be fine14:34
cjwatsonthe cron.* scripts are all just thin wrappers to encapsulate setting environment variables and stuff14:34
xivulonsuperm1 would anything prevent users from storing stuff on ntfs directly?14:34
xivulonusers can allocate a "normal size" (~10GB) but still access rw all of the host disk (/host)14:35
superm1xivulon, performance would be questionable i think14:35
superm1xivulon, but otherwise i suppose not..14:35
xivulonhmm /host access is native ntfs no loopfile involved14:36
StevenKcjwatson: Right, so aside from looking at how publish-daily works (meaning publish-mobile dies too), I need to do what to ./build_all.sh ?14:36
superm1xivulon, well at least implementing the frontend only portion would be more feasible to start and see how that goes14:37
superm1xivulon, additional questions would have to be asked once ubiquity took over though or asked during wubi14:37
xivulonsuperm1: the options are a) we preseed those questions, b) we show them in wubi interface (unlikely and certainly not in intrepid), c) we ask them after reboot (not nice)14:39
superm1xivulon, well at this point there are a few that are "critical" to be asked -14:40
xivulonIt would be possible to show a few profiles in wubi and preseed from there14:40
superm1xivulon, the ones i'm referring to tell the machine the user/pass of the backend it connects to14:41
superm1and the hostname/database14:41
superm1i think it'd be fine to just ask them after reboot during --automatic mode though14:42
xivulonI'd guess it might be passable to leave that blank and have a dialog after rebooting14:42
superm1yeah14:42
superm1xivulon, let me find the preseed that i was using for enabling --automatic this summer14:42
xivulonWe could have one profile for frontend only and one frontend + backend14:43
xivulonevand/cjwatson any view on the above?14:43
superm1yeah, develop frontend first and then frontend+backend after proving frontend first works14:43
xivulonfor me it is only a matter of changing the configuration file, and add a new preseed template14:44
xivulonthere should be no change in code14:44
superm1well in theory it should just "work" w/ the ubiquity changes i did this summer too14:44
superm1so if you can throw something together, i'll throw a windows vm together and give it a shot14:45
superm1http://paste.ubuntu.com/50877/14:45
superm1so that should be all the possible questions that get asked14:45
cjwatsonStevenK: you should do nothing at all to build_all.sh itself. Leave it alone.14:45
superm1xivulon, so of the mythbuntu specific ones, would need to preseed the advanced_install, install_type, and the mythbuntu summary page14:46
xivuloncool will play with that today, will try to setup a backend first (yesterday attempts failed as my only desktop has only tv out which did not work...)14:46
superm1the rest would be optional14:46
cjwatsonStevenK: the only things you should need to edit are tools/boot/intrepid/boot-* (either to make the image bootable in whatever's the appropriate way, or to skip it and let build-mobile-img do it), tools/add_live_filesystems (to add mobile instead), and perhaps preseed files in data/intrepid/preseed/14:46
superm1xivulon, oh the proprietary driver installation stuff is fixed in ubiquity trunk, but broken in our alpha6 disk14:47
superm1if that's where things went wrong14:47
superm1(if you didnt see it during install, that's a different problem)14:47
xivulonyep I thought that was the issue, it's an nvidia video with tv out14:47
cjwatsonxivulon: I have too much to do the week before beta to help with adding new features which should have landed several weeks ago in order to be ready for 8.10 ...14:47
superm1xivulon, if this just "works" without too much effort, then i'm for it and will get some people on my team to help test it, but if we run into a handful of problems, lets defer to jaunty okay?14:48
xivuloncjwatson I appreciate that, but as mentioned this should only involve a change of configuration files, and we would go through the feature freeze exception approval anyway14:49
xivulonsuperm1 that is what I had in mind14:49
persiaxivulon: Don't do an FFe just on account of ubuntu-mobile support.  Many of the target devices come with linux anyway.14:49
cjwatsonxivulon: superm1 is much better placed to figure out what to do with mythbuntu than I am. I'd have to educate myself about it all from scratch14:49
StevenKcjwatson: build-mobile-img already deals with preseed files14:50
superm1cjwatson, yeah i'll work with xivulon to look at this14:50
cjwatsonStevenK: ideally, those ought to move into data/intrepid/preseed/, IMO14:50
cjwatsonthe way it is now is just really awkward NIHJ14:50
cjwatsonNIH14:50
cjwatsonI can understand why you did it that way, but if you're reengineering things anyway, might as well bring it into sync14:51
StevenKI did it that way because build-image-set and friends made me go "OMG, my head is exploding"14:51
persiaStevenK: I'd rather have the preseed files live someone accessible.14:51
StevenKcjwatson: So if build_all.sh is going to build the filesystem, what needs to be changed so it knows how?14:52
cjwatsonI suspect making it actually build the entire filesystem is a little optimistic for now. However, you could make it build the filesystem tree and then bundle that into VFAT in build-mobile-img14:53
StevenKThat works14:53
cjwatsonedit the bin-images target in debian-cd/Makefile, and stick an extra case at the top of the if [ "$(DOJIGDO)" = "0" ] block to cover the "don't build an ISO at all" case14:55
* StevenK is currently trying to determine where the checkout of debian-cd lives14:56
cjwatsonBTW, what are you planning to put in pool/?14:56
cjwatsonsftp://antimony/srv/cdimage.ubuntu.com/bzr/debian-cd/14:56
StevenKI was hoping persia could tell me.14:57
* StevenK is also thinking that IMAGE_TYPE=mobile doesn't appeal14:57
StevenKSince that turns up in the published path14:57
persiaI wanted to put in the DKMS-enablement stuff and some alternate networking for people with devices where the network didn't work out of the box (like mine).14:58
cjwatsonpublished path?14:58
StevenKcjwatson: http://cdimage.u.c/....14:58
cjwatsonoh, just special-case publishing *shrug*14:58
cjwatsonthe primary purpose of IMAGE_TYPE is to control form factor; publishing URLs are secondary and it's OK to special-case those14:59
StevenKOh my god, my eyes.15:00
StevenKWho wrote this?15:01
StevenKOh, Raphaƫl. That explains so much15:01
cjwatsonerr, yeah, don't look at the Makefile too hard15:01
cjwatsonvarious people have had a go at rewriting bits, and I think it's more sane in Debian now, but I can't face the merge15:01
StevenKcjwatson: I think you'd need to be *completly* smashed to start it ...15:02
superm1persia, if these are "extra" modules that don't conflict with anything, it shouldnt be too late to add them to the kernel though i'd think?15:04
cjwatsonI haven't been that drunk for some time15:04
StevenKcjwatson: Reminds me of code at $OLD_WORK. "# eyes closed now. <40 lines or so of evil TeX> # okay, you can open your eyes. If you can read this, you were cheating!"15:04
cjwatsonheh15:04
* StevenK re-reads cjwatson's comment, trying to apply it to the code15:05
persiasuperm1: For modules, I'm working with kernel devs, but I'm thinking of the same stuff that comes from the ship-live seed.15:05
superm1persia, so these would be NEW packages then?15:06
cjwatsonpersia: right, this is the sort of thing that the live CD does15:06
StevenKcjwatson: I'm guessing I want ifeq ($(CDIMAGE_MOBILE),1) and else and endif around that block, but that breaks the like 50 lines that are \'d15:07
cjwatsonso the live CD is a sensible model15:07
cjwatsonStevenK: no, use if in shell15:07
cjwatsonif [ "$(CDIMAGE_MOBILE)" = 1 ]; then ...15:07
persiasuperm1: No.  Just existing packages on the CD.  For the modules, I've been told that it's just a matter of understanding why they aren't loaded.15:07
StevenKcjwatson: If I have to follow the coding style, I may claw my eyes out in sheer self-defense. :-P15:08
StevenKI want else; \ or else \ ?15:09
StevenKI hardly ever collapse if's to one-line15:09
cjwatsonok, you can stop going on about how awful everything is now. :)15:11
cjwatsonif [ ... ]; then \15:11
cjwatson        ...15:11
cjwatsonelif [ ... ]; then \15:11
StevenKcjwatson: So, in that bit, I want to make my filesystem tree under $(BDIR)/CD$$n ?15:12
cjwatsonerr, I think you misunderstood me15:12
cjwatsondebian-cd will make the filesystem tree under $(BDIR)/CD$$n15:12
cjwatsonin bin-images, you just have to arrange *not* to call mkisofs - you don't have to build anything15:12
acoccjwatson, do you happen to know about how much space would be required for a single dist pool sync15:16
cjwatsonacoc: for which components and which architectures?15:17
acocfor i386 and sorry what were components again15:17
cjwatsonmain, restricted, universe, multiverse15:18
acocjust main15:18
StevenKcjwatson: Oh, right15:18
StevenKcjwatson: Do I also want the $(jidgo_cleanup) bit?15:19
cjwatsonStevenK: yeah, you might need to guard that too15:20
cjwatsonI can't remember, check what the called script does15:21
cjwatsonacoc: a bit over 6GB15:22
acoccjwatson: oh yeah that's not bad at all thanks15:22
StevenKcjwatson: Meh, it's dealing with .jigdo, don't care15:23
StevenKcjwatson: Is there anything I need to do in that Makefile?15:32
StevenKEr. Anything *else*15:33
cjwatsonnot that I can think of right now, but consider this an iterative process ;-)15:35
* StevenK grins15:35
StevenKpreseed file added, too15:36
persiaspeaking of iterative processes, I've added branches for bugs 274781 and 274785, if there's any chance of a review.  This is more lpia bits for grub-installer and ubiquity.15:36
=== superm1 is now known as superm1|away
kirklandevand: hiya, i tried usb-creator, and it doesn't appear to be working for me16:37
cjwatsonpersia: you don't seem to have pushed to the branch for 274781 properly16:37
kirklandevand: i should be able to point kvm to it, and test it that way, right?16:37
evandkirkland: Did it crash or is it just not booting?16:37
kirklandevand: not booting16:37
kirklandevand: i got the install to succeed16:38
cjwatsonkirkland: server CD?16:38
kirklandcjwatson: no, kubuntu-desktop-amd6416:38
evandkirkland: That;s probably my recently discovered bug of it not properly setting the boot flag.16:38
cjwatsonok, I'll shut up :)16:38
kirklandevand: i was just about to try and change that in fdisk16:38
evandkirkland: fdisk /dev/whatever, a, partition number, w; done16:38
kirklandevand: thought i'd ask first16:38
kirklandevand: yeah, i just wanted to check16:38
persiacjwatson: Sorry.  repushing now/16:38
kirklandcjwatson: :-)  i suppose i should test the server16:39
evandSpeaking of which, anyone know a reliable way of dermining the partition number that a block device represents, given the knowledge of it and its parent?16:39
kirklandi'm just not a kubuntu user, but i wanted to see what all the kde4 hype was about16:39
cjwatsonkirkland: won't work yet, bug 23418516:39
kirklandah16:39
cjwatsonevand: /sys/block?16:39
=== superm1|away is now known as superm1
kirklandevand: cool, that fixed it (bootable partition)16:40
kirklandevand: very nice16:40
evandcjwatson: can you be more specific?  I thought the device's minor number corresponded to the partition number, but apparently I'm very wrong.16:42
cjwatsonit should do, sure. I'm not sure I understood your question16:42
evandI need to be able to pass parted a partition number to mark as bootable, but the utility works in device nodes, so I need to go from "/dev/sdb1" to "1".16:44
evandI could take the difference of /dev/sdb and /dev/sdb1, given the knowledge of both of them, but that seems hackish.16:45
cjwatsonsee how grub-installer does it16:45
cjwatsonit is hackish :-)16:45
evandah, good point.  Will do16:45
evandhah16:45
cjwatsonor, hang on16:45
cjwatsonhmm, no, /sys/block doesn't have it16:46
cjwatsonyou pretty much just have to subtract the parent device name, but note that some devices use a leading "p" before the partition number16:46
cjwatsonevand: lilo-installer might involve less bonkers code to copy from16:47
evandwow that's a lot of sed16:47
cjwatsonbut if you are using grub-installer, it's the make_active_partition function16:48
evandok, thanks16:48
cjwatsonevand: are you going to be able to fix the grey partition thing by beta?16:50
cjwatsonI was hoping to do an upload today assuming I can fix 18200416:50
evandcjwatson: I'm not sure I can fix it by end of business today, but I can surely have it done by the end of the weekend.16:51
cjwatsonis it just a change of some constant somewhere?16:51
evandoh, sorry, I'm mixing bugs.16:51
evandThat I can fix quickly16:51
evandand yes, it is16:51
cjwatsonok, cool16:51
evandon it now16:51
evand(thought you were talking about the rendering issues previously)16:52
cjwatsonah, no16:52
persiaWhich is the rendering bug?16:53
evandhttp://launchpadlibrarian.net/17699770/install1.png16:56
evandfrom https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/271512 and possibly others16:57
persiaOh good.  That was one of the more minor things on my list, and I was hoping it wasn't -mid specific.  Thanks for the reference.16:58
kirklandevand: okay, now i'm trying to boot from the usb stick on real hardware, and i'm stuck at the SYSLINUX bootloader boot: prompt17:04
cjwatsonwhat happens if you press enter?17:05
kirklandCould not find kernel image: linux17:05
kirklandi've dorked around with bios, trying to rearrange the drives17:05
kirklandi suspect it's booting off of one drive, looking for a kernel on another?17:05
evand...curious17:05
persiacjwatson: LP doesn't seem to want to display the branch despite a refresh.  I've attached a diff to 27478117:06
evandhrm17:06
persiaDifferences between syslinux.cfg and isolinux.cfg ?17:07
CIA-50grub-installer: cjwatson * r747 ubuntu/ (debian/changelog debian/control grub-installer): Add support for lpia (LP: #274781)17:10
evandkirkland: hrm, I cannot reproduce this.  Are /syslinux and /syslinux.cfg present on the root of the disk?17:10
kirklandevand: yes, and yes17:11
kirklandevand: i strongly suspect something funny in my bios17:11
kirklandevand: unfortunately, i overwrote the working DSL i had installed on this device :-)17:11
evandkirkland: Could you try running usb-creator with -s?17:13
kirklandevand: sure, i'll dork around with it a bit more17:13
CIA-50ubiquity: evand * r2851 ubiquity/ (aclocal.m4 configure configure.ac): Bump to 1.9.2017:19
cjwatsonmaybe 1.10.0 since we're approaching beta? (historically I bumped minor just before beta)17:20
evandah, will do17:20
CIA-50ubiquity: evand * r2852 ubiquity/ (configure configure.ac): Bump to 1.10.017:21
CIA-50ubiquity: evand * r2853 ubiquity/ (debian/changelog ubiquity/frontend/gtk_ui.py):17:23
CIA-50ubiquity: Use a normal color for the partition bar when use entire disk is17:23
CIA-50ubiquity: selected (LP: #273271).17:23
evandHooray, usb-creator is in main.17:23
StevenKevand: That can be fixed :-P17:26
evandheh17:27
cjwatsonevand: ooh17:28
* evand will be quite happy when bug 232429 is fixed (auto marking fix committed).17:32
cjwatsonthat's more about projects than source packages, I think, though I added a comment about the latter17:38
evandah, thanks17:40
CIA-50tasksel: cjwatson * r1374 ubuntu/ (debian/changelog ubuntu-seeds.pl):17:52
CIA-50tasksel: Work around a bug when checking out ubuntustudio seeds into a17:52
CIA-50tasksel: repository.17:52
CIA-50ubiquity: cjwatson * r2854 ubiquity/ (debian/changelog ubiquity/components/partman.py):17:59
CIA-50ubiquity: Don't mark partman questions as seen when we expect them to be asked17:59
CIA-50ubiquity: again (LP: #182004).17:59
persia\o/18:03
CIA-50ubiquity: cjwatson * r2855 ubiquity/ (debian/changelog gui/glade/ubiquity.glade): Set GtkAdjustment page_size to zero in Glade files too.18:03
CIA-50tasksel: cjwatson * r1375 ubuntu/ (5 files in 3 dirs):18:05
CIA-50tasksel: * Build mobile-* tasks.18:05
CIA-50tasksel: * Update Ubuntu tasks from seeds, adding mobile-mid, mobile-mobile (ahem),18:05
CIA-50tasksel:  and virt-host tasks.18:05
CIA-50tasksel: cjwatson * r1376 ubuntu/debian/changelog: releasing version 2.73ubuntu918:06
CIA-50ubiquity: cjwatson * r2856 ubiquity/ (debian/changelog scripts/install.py): merge from lp:~persia/ubiquity/lpia-grub18:16
cjwatsonpersia: BTW if you use debcommit then bzr will know about the bug-fix metadata18:17
persiacjwatson: Thank you.  That ought sort everything for the -mid installs.18:17
persiaOh.  That saves the frustratingly annoying duplicate typing.  Thank you.18:18
cjwatsonevand: (feel free to upload ubiquity at some point, I'm done for today and probably happy with it for beta)19:04
evandcjwatson: noted, will do19:04

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