/srv/irclogs.ubuntu.com/2015/12/16/#ubuntu-installer.txt

=== timchen1` is now known as timchen119
xnoxcyphermox, cjwatson: would you please review live-installer changes? http://people.canonical.com/~xnox/live-installer/18:15
xnoxgit formatted patch series.18:15
xnox0004 -> fixes all the typos and mistakes. but otherwise it's in logical order.18:15
cyphermoxxnox: ok19:26
xnoxcyphermox, the idea is that one can do: $ sudo mount -o loop xenial-server.iso /var/www/html/19:26
xnoxcyphermox, netboot19:26
cyphermoxI figured19:27
xnoxcyphermox, choose-mirror $thatmachine -> and the install would work without any extra packages, or having a full mirror.19:27
xnox(as in packages that are not on the iso)19:27
cyphermoxerr19:28
cyphermoxoh yeah, sorry, EPARSE19:28
* xnox is waiting for s390x image to be respun to retest it, was lacking kernel modules.19:29
cyphermoxmight wanna fixup 0003-Whitespace-tab-changes-only.patch for line length19:31
cyphermoxand I'm a little concerned with 0004-Use-prefix-throughout.patch; we might want to check harder for a bad mirror and whatnot, before running fetch-url19:34
cyphermoxoh, but otoh the mirror should usually be good anyway, otherwise bad things might happen19:34
cyphermoxwhat does the debian installer team think of your patches?19:34
xnoxcyphermox, these are brand new. and as far as i know they don't use live-installer by default.19:54
xnoxcyphermox, i will post them to them, in the new year. at the moment rushing to get s390x working.19:54
xnoxcyphermox, what do you mean by "check harder for a bad mirror"? at the moment we try to download, if fails we skip.19:55
xnoxif it does download, hopefully it's something usable.19:55
xnoxand we are garded with check for .disk/base_installable which no mirrors to date should have, unless they are are ubuntu iso exports....19:55
cyphermoxNah, don't bother.19:58
xnoxcyphermox, so... ok for me to upload this?19:58
xnox=)19:58
cyphermoxWell, I wouldn't, because people could also fail to copy dot files19:58
xnoxthey are not meant to copy them, they are meant to mount the whole iso.19:58
cyphermoxYeah, it looks sane, but I really think it should be in debian too19:58
xnoxok.19:59
cyphermoxYou could just as well copy the files though19:59
xnoxthey will notice when things don't work and explode ;-)19:59
cyphermoxWhy do you need this though?19:59
cyphermoxYou should already be able to live-install with a URL20:00
cyphermoxThat's what live-installer/net-image is for20:00
xnoxcorrect, however that's at the moment preseed only option, and this patches make a computed attempt.20:00
xnoxand i'm trying to make it computed without any preseeding.20:01
cyphermoxOK20:01
xnoxso s390x cannot boot ISO and cannot mount ISO, hence we will provide an option to use ISO as a "near by" mirror, when ports.ubuntu.com is not accessible.20:01
xnoxso given an .iso, one would be able to mount & export it over e.g. http on one mainframe z/VM.20:02
xnoxthen ipl boot "s390x netinstaller" point it at that iso, and voila by magic squashfs is fetched and things work as if we did a normal boot off an iso.20:02
cyphermoxHum.20:12
cyphermoxWe already keep the squashfs on cdimage rather than ports though, cdimage isn't in the mirrors20:13
xnoxthis is not to install from cdimage, nor from ports.20:13
xnoxit could be, but that's not the current goal.20:14
cyphermoxI don't think it would be such a great idea to duplicate the location of images20:14
cyphermoxOK20:14
xnoxwhen pointed at ports mirror, simply debootstrap is used.20:14
xnoxand the full base-installer is chosen / run, rather than live-installer.20:14
cyphermoxyeah20:20
cyphermoxwell, I have no objections to your patches20:20
cyphermoxxnox: I'll do the live-instlaler merge on top of your upload later20:36
xnoxok. let me upload them then.20:37
xnoxcyphermox, with a fixed kernel finally figured out a bug in my code.21:16
xnoxcyphermox, http://paste.ubuntu.com/14056501/21:16
xnoxi'm not allowed to return 1 from a function, cause otherwise set -e kills me.21:16
xnoxso i'm making it a global var, which works. it is afterall just a state flag, which goes from 0->1 only once.21:16
xnoxi think it's ok, unless you can think of a better way to return things from a function.21:17
xnoxset a global RET variable?21:17
cyphermoxor echo it and call it RET=$(process_places ...21:20
cyphermoxor echo the place you've found21:21
xnoxhm, not sure i want to invoke a subshell $(21:21
cyphermoxwhy not?21:25
cyphermoxit's used regularly in all d-i components already21:25
cyphermoxwell, I have no opinion on how specfically to achieve return the value as you want, either method works21:26
xnoxok.21:35
cyphermox+  * And add a cheeky abi dependant build-dep for the kernel ABI, such that21:57
cyphermox+    d-i is attempted to build once appropriate linux is fully built,21:57
cyphermox+    published, accepted. This is similar to the linux-meta automatic21:57
cyphermox+    build-deps. Possibly further var replacements should be taken from21:57
cyphermox+    linux-meta package to just bump/define a single $kernel-abi variable.21:57
cyphermox^ ugh, yeah. we shouldn't add places to modify version numbers and get things wrong, we should reduce them21:57
xnoxcyphermox, it's a mass sed anyway. and at the moment we modify N places, where N is number of arches.21:58
xnoxnow there is one more.21:58
xnoxcyphermox, are you doing a d-i upload?21:59
cyphermoxsure, but N+1 is still larger than N21:59
cyphermoxno, I'm not21:59
cyphermoxjust noticed it while looking at merges overview21:59
xnoxcyphermox, and well that dep was not quite sufficient. cause it also needs an arch:all dep.21:59
xnoxcyphermox, ack.21:59
cyphermoxyeah21:59
xnoxideally we would indeed have a single debian/kernel-abi file or some such, and everything source that.21:59
cyphermoxbut in some cases you also need other kernel ABI version changes for other things21:59
cyphermox+122:00
xnoxhence the comment ;-)22:00
cyphermoxheh22:00
cyphermoxI'll bring it up to KiBi too, that would certainly be good, and we still have yet to merge d-i22:00
infinityxnox: FWIW, I was going to revert that change on my next upload.  It's not super helpful.22:07
infinityAnd yes, I agree that a single place for abi substitutions would be nice, and I might commit that both upstream and to Ubuntu.22:07

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