/srv/irclogs.ubuntu.com/2020/07/21/#ubuntu-installer.txt

Laneyxnox: want to review https://code.launchpad.net/~laney/ubiquity/+git/ubiquity/+merge/387747 ?13:42
Laneytried to keep it small, change to apt update for ubuntu-drivers13:42
realtime-neilJust how obsolete is this? https://help.ubuntu.com/community/InstallCDCustomization13:53
realtime-neilOn a scale from "I did this yesterday" to "The last person that did that retired a decade ago".13:54
xnoxLaney:  looks ok. And it is backportable to focal branch too, right?13:54
xnoxLaney:  i do hate the 'blah blah\'n blah blah'13:54
Laneythe what?13:54
Laneymultiline strings?13:54
xnoxi normally go for "asdfsafsaf'asdfasdfs" or just "No, we did not find any OEM packages again.'13:55
Laneylol13:55
Laneywell the second one makes a test fail and the thing ftbfs13:55
Laneyand I don't understand the first :>13:55
LaneyWAIT13:56
xnoxhahahhahahhahahhaa13:56
Laneyyou're talking about the apostrophe13:56
xnoxyes13:56
xnoxi did inline comment, with context on the merge proposal13:56
xnoxit's fine, if it builds, we should ship it.13:57
LaneyI'll change it, it doesn't matter13:57
Laneythx13:57
LaneyI'm not 100% confident in it because I don't have a device to test13:57
Laneybut we can ask those guys to do it13:58
Laneyjust makig sure I didn't break kubuntu13:58
xnoxLaney:  i can build you a focal iso without pool.14:05
Laneywe should totally do a one off black run over ubiquity14:05
xnoxLaney:  then your existing oem device should discover "over the air", no?14:05
xnoxLaney:  i guess we somehow need oem-ubuntu-test-in-updates which is not on the iso.14:06
xnoxmaybe like forever in proposed, but then we need to boot with proposed enabled. sigh14:06
Laneyit should be ok to test something which is just not in the pool I guess14:07
Laneycan you try it pls14:07
Laneyhttps://people.canonical.com/~laney/temp/14:07
Laneywhat14:34
Laneyis console-setup/Keyboard/KeyboardNames.pl and why is it being created14:34
xnoxd-i thing does that14:38
xnoxalways on clean, and recreates it at build14:38
xnoxi don't know how to make it stop14:38
xnoxwe didn't used to care as we didn't track console-setup in git before14:38
Laneyok for some reason it's not there this time14:45
Laney/shrug14:46
realtime-neilxnox: that `iso=` trick isn't working for me --- I've got `ip=dhcp iso=http://_gateway:3003/ubuntu-20.04-live-server-amd64.iso` (where I'm serving it) and qemu is erroring out with "No init found. Try passing init= bootarg"19:28
CarlFKrealtime-neil: what is your boot media and files?19:49
CarlFKthis is my qemu line to test a usb stick: https://salsa.debian.org/debconf-video-team/ansible/-/blob/master/usbinst/test_thumb.sh19:50
CarlFKthis script constructs URLs and downloads the files to put on the stick: https://salsa.debian.org/debconf-video-team/ansible/-/blob/master/usbinst/mk_usb_installer.sh19:51
realtime-neilCarlFK: this is what I'm trying to do: https://salsa.debian.org/snippets/46120:06
realtime-neilI don't need to test removable media so much as tell the early userspace to grab an iso from the _gateway and boot _that_.20:07
realtime-neilxnox: I'm trying to use the functionality you added here: https://launchpad.net/ubuntu/+source/casper/1.422  ; every time, it fails saying "runi-"20:56
realtime-neil"run-init: current directory on the same filesystem as the root: error 0", and five times at that20:57
CarlFKrealtime-neil: you are booting the kernel and initrd from the iso image, and then trying to get it to read the iso over http.   do I have that right ?20:58
realtime-neilyes, that's correct20:58
realtime-neilI don't know another way of doing that.20:58
realtime-neilCarlFK: well, I'm sure there are others, but this is the way I want to do it.20:59
CarlFKthe cd kernel/init may be expecting local media, not over the network21:00
CarlFKthe "net install" images may be needed for over the net21:00
realtime-neilCarlFK: then I've clearly misunderstood the changes mentioned here: https://launchpad.net/ubuntu/+source/casper/1.42221:01
CarlFKbut I don't know if/where they are for the new ubuntu installer21:01
CarlFKok, never mind me.  Yeah, looks like what you are doing is spozed to work21:02
realtime-neilI'm looking for something inside that *.iso that reports the version of casper it's using, but I don't know where to look.21:04
CarlFKrealtime-neil:   I think you  need to change iso=http... to url=http...21:04
realtime-neilCarlFK: tried both; they both fail the same way.21:05
CarlFKat least make it match the docs21:06
realtime-neilCarlFK: I've updated my kvm-test snippet accordingly21:06
CarlFKbut the error does make me think it isn't getting 'there' yet21:06
CarlFKalso run this in it's own term without the >null python3 -m http.server 300321:07
CarlFKsee if it gets a hit21:07
realtime-neilchecking...21:07
CarlFKdoes this put the files in casper/ ?   7z x "${PWD}/ubuntu-20.04-live-server-amd64.iso" "casper/vmlinuz"21:08
realtime-neil...yeah, nothing is hitting the server21:10
realtime-neilCarlFK: yes, all extracted paths are created relative to $PWD21:11
realtime-neilI'm looking at the [casper man page](http://manpages.ubuntu.com/manpages/focal/man7/casper.7.html) and wondering if the `netboot=` parameter (implicitly set by `url=`) has anything to do with this?21:12
realtime-neilHere's something... the `_gateway` notation is (apparently) okay for a `seedfrom=` (`s=`), but `url=` seems to hate it.22:24
CarlFKrealtime-neil: oh... try using the IP22:25
CarlFKwhat is _gateway ?22:25
realtime-neilI saw it here:22:26
realtime-neilhttps://ubuntu.com/server/docs/install/autoinstall-quickstart22:26
realtime-neilbut that's the first time I saw it.22:26
realtime-neilHa! As long as you feed it the IP address of the machine running that `python -m http.server 3003 `, then it actually downloads the iso.22:29
realtime-neilWow. This ubuntu-20.04-live-server-amd64.iso needs a kvm with more than 2048 MiB RAM22:30
CarlFKwell.. at least you are making progress22:43
realtime-neilCarlFK: I know, right!22:46
realtime-neilOkay, cool, cool. CarlFK, I'm going to borrow heavily from those scripts you linked. That's exactly what I need to be doing for my remastered installation media image.22:47
CarlFKwoo hoo!!!22:49
mwhudsonrealtime-neil: glad you got things working22:57
mwhudsonslightly surprised 2G is required but yeah, netboot does require quite a lot of ram22:58
realtime-neilmwhudson: you and me both ... between the ~900MiB compressed iso and the ~225MiB uncompressed initrd, I guess it blew through 2GiB in hurry.23:03
mwhudsonaccessing the iso over iscsi would help23:04
mwhudsonbut well one thing at a time23:04

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