/srv/irclogs.ubuntu.com/2015/04/01/#ubuntu-installer.txt

nebuchadnezzarhello10:00
nebuchadnezzarI'm generating custom alternate ISO with cdimage&co and I would like to generate a custom live ISO, but cdimage ask for a production/livefs-builders and I don't know where to get it, do you have any hint?10:03
cjwatsonlines in that file look like this:10:05
cjwatson# PROJECT       DIST            ARCH                    BUILDER10:05
cjwatson# Put more specific matches first.10:05
cjwatson*               *               amd64                   kapok.buildd10:05
cjwatsonyou'd need to set up livecd-rootfs at the other end - there's an ssh trigger script in /usr/share/doc/livecd-rootfs/examples/BuildLiveCD.gz that can be installed as a forced command on the builder10:06
nebuchadnezzarI looked at cdimage/lib/livefs.py but I'm not sure how it works, it lookup in livefs-builders and run something on that machine, then download the result?10:08
cjwatsonRight10:09
cjwatsonThe point is that live filesystems have to be generated on the matching architecture, so that requires a build slave10:09
cjwatsonThough it can be some hack involving localhost if you want, or you can hack livefs.py to run a script locally if the architecture matches10:09
cjwatson(Which probably ought to be a configuration option in ubuntu-cdimage, really, but it was never something we needed ourselves)10:10
nebuchadnezzaror I could put localhost in the livefs-builder for the matching architecture ;-)10:10
cjwatsonIf you like; you just need a "buildd" user, with /usr/share/doc/livecd-rootfs/examples/BuildLiveCD.gz installed as /home/buildd/bin/BuildLiveCD10:11
nebuchadnezzarthanks10:11
cjwatsonOh and I think that needs manually creating a livefs chroot too10:12
cjwatsonI'd probably start by grabbing the chroot from https://api.launchpad.net/devel/ubuntu/trusty/amd64 or similar, unpacking it so that it's rooted at ~buildd/build-trusty-live/chroot-trusty/, and massaging its sources.list into shape10:14
cjwatson(These days we actually use Launchpad to do the builds)10:15
nebuchadnezzarthanks a lot, I wonder how other derivatives are doing to build their ISO10:17
cjwatsonAll kinds of strange hacks from what I've gathered :-/10:19
cjwatsonIf you'd like to add documentation to ubuntu-cdimage of how to set this up along the way, that would be greatly appreciated10:20
nebuchadnezzarcjwatson: that's an idea, making it more configurable for derivatives could be a great thing too, like having configuration tree with <vendor>/<project>.conf, I actually modify some of the .py files directly11:52
CarlFKnebuchadnezzar: how RH builds isos: http://videos.pumpingstationone.org/video/38/linux-charcuterie-how-the-linux-sausage-is-made  "entire chain of building a distribution"13:09
nebuchadnezzarwonderful13:25
CarlFKnebuchadnezzar: oh you said derivatives .. not distros ..   but might still be fun to listen to13:46
nebuchadnezzarsure13:51
_rubenis there some trick to get full control over partitioning during a preseeded run, like running a script which does all the lvm stuff, etc?14:19
flexiondotorgcyphermox, I saw you published a new ubiquity in the staging PPA.14:48
flexiondotorgcyphermox, I've tested it. I guessing you know it has issues?14:49
nebuchadnezzar_ruben: I personally use a patched hands-off: http://git.baby-gnu.net/gitweb/gitweb.cgi?p=hands-off.git;a=shortlog;h=refs/heads/dad/features14:50
nebuchadnezzar_ruben: look at commits after “Add base partman recipe auto generation”14:50
nebuchadnezzaris that what you are looking for?14:50
cyphermoxflexiondotorg: what issues?14:52
cyphermoxit looked like it was working quite well, and not crashing X at all14:53
flexiondotorgcyphermox, Clicking the "prepare this system" icon on the desktop didn't do anything.14:53
flexiondotorgcyphermox, I ran the command from the shell. Looks like systemd deps failed to resolve.14:53
flexiondotorgcyphermox, I'll ge the exact message...14:54
flexiondotorgoem@oem-VirtualBox:~/Desktop$ oem-config-prepare14:55
flexiondotorgFailed to set default target: No such file or directory14:55
flexiondotorgcyphermox, ^^^^^14:55
cyphermoxdoh15:29
cyphermoxI forgot to ship a file :)15:29
cyphermoxhmm, I didn't forget to ship it, it got ignored15:33
flexiondotorgcyphermox, When you cook a new package let me know :)15:39
infinitycyphermox: Did you commit it? :P15:45
cyphermoxinfinity: yes, the problem was that dh_installinit ignores .target files16:01
infinityAhh.16:01
cyphermoxflexiondotorg: if you want to try it again ubiquity is all published in my ppa now17:00
cyphermoxDOH17:01
* cyphermox sighs17:01
cyphermoxit's still kinda wrong17:01
_rubennebuchadnezzar: it might be, still trying to digest what I'm looking at exactly ;)18:34
_rubennebuchadnezzar: seems it still revolves around partman, which i was hoping to evade .. then again, perhaps partman has grown since I last researched it and might actually be suited for our various purposes18:55
cyphermox_ruben: what are you trying to do?19:07
infinity_ruben: wikimedia has some nice example recipes using lvm that are good learning tools: https://wikitech.wikimedia.org/wiki/Partman_Recipes19:15
_rubencyphermox: one of the "gripes" I had with partman, was the inability to control the lvm vg naming (we several standards for those). and most of my "problems" with partman are probably just a matter of not understanding enough of it ;)19:19
_rubenalso, stuff like bind mounts arent/werent an option afaik19:22
_ruben(whether or not those are a good idea is another story ;))19:22
cyphermoxI see19:22
_rubenstuff like bind mounts can be fixed post-install relatively easy, but doing during installation would be even cleaner :)19:24
_rubenwriting some post-install task to shovel some stuff around still beats having to partition every server manually (rest of install is handled by preseed already)19:25
_rubeninfinity: that page looks familiar so I likely ran into it during my research. sure offers a nice starting point.19:26
_rubenperhaps I should just do some trial 'n error configs/installs and see how far I can get with the existing featureset :)19:26
_rubenand on that note, i'm gonna call it a day for now ;)19:27
flexiondotorgcyphermox, Just got back online. Will set up a test system here at home and test...21:27
* flexiondotorg hugs cyphermox 21:27
cyphermoxcool21:28
cyphermoxI'm satisfied with mate now, waiting for a kubuntu install to finish and then I'd be ready for upload unless you come tell me it's broke21:28
cyphermoxalso, before you do the upgrade please do systemctl disable oem-config21:29
cyphermoxthere shouldn't be a link to it in /etc/systemd/system/multi-user.target.wants21:29
flexiondotorgcyphermox, Understood.21:52
* flexiondotorg needs better hardware at home. This is slow....21:52
cyphermoxhey, so do I21:58
cyphermoxI'm at the point where a fourth computer wouldn't hurt so I can run so hardware tests.21:59
cyphermox... though come to think of it, I have a lenovo craptop that might work well enough21:59
flexiondotorgcyphermox, Once I've test the oem-config stuff is there anything I can do to help with the "restart at end of install" issue/22:09
flexiondotorg?22:09
cyphermoxnot really22:10
cyphermoxit needs that casper.service be properly convinced to run at the right moment, which seems to be roughly the case (since it does eject and display the message), and for plymouth-{reboot,halt,poweroff} to be convinced to also run at just the right moment, that is, *after* the display-manager is stopped.22:12
cyphermoxand all that is probably going to run after I get back from karate class, I don't intend to miss a fifth week of it :/22:13
flexiondotorgcyphermox, :)22:14
cyphermoxso I'll be leaving in about 10 minutes :)22:15
cyphermoxprobably just enough time to run the oem-config test on kubuntu22:15
flexiondotorgcyphermox, I'll leave my testing reports here.22:15
cyphermoxok22:17
flexiondotorgcyphermox, Still preparing the VM at home. So slow.23:04
flexiondotorgcyphermox, Past midnight here now. I'll test tomorrow unless you decide it is good to go :)23:04
nebuchadnezzar_ruben: you could set “partman-auto-lvm/new_vg_name” to get the VG name you want23:13
nebuchadnezzarfound in: http://anonscm.debian.org/cgit/d-i/partman-auto-lvm.git/tree/perform_recipe_by_lvm23:13
flexiondotorgcyphermox, It was all going so well, then I ended up here - http://imgur.com/hap1Gla23:42
flexiondotorgcyphermox, I did systemctl disable oem-config prior to adding your PPA and apt-get dist-upgrading.23:44
flexiondotorgcyphermox, So, not sure if I've not completed the steps correctly.23:44
flexiondotorgcyphermox, Late here now. So, time for sleeping.23:45

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