*** gtristan has joined #baserock | 06:04 | |
*** paulwaters_ has joined #baserock | 07:24 | |
*** paulwaters_ has quit IRC | 07:33 | |
*** toscalix has joined #baserock | 07:57 | |
*** ctbruce has joined #baserock | 09:06 | |
gtristan | Is there any reason not to make arch agnostic bsp strata ? | 09:14 |
---|---|---|
cphang | pedroalvarez: Upgrade now works, thanks very much again for all your help :) | 09:15 |
gtristan | after having built a specific x86_32 strata, and am about to try to build the x86_64 equivalent, I wonder what is the point of copy pasting/duplicating everything when I could just case the MORPH_ARCH and reduce the amount of produced strata | 09:16 |
*** tiagogomes has joined #baserock | 09:16 | |
pedroalvarez | gtristan: so that the same chunk builds for every arch? | 09:17 |
pedroalvarez | from what you said I take that you have a new stratum that depends on the bsp? | 09:18 |
gtristan | pedroalvarez, it probably wont build for *every* arch, but I'm quite sure for 32/64bit intel it's almost exactly the same instructions | 09:18 |
pedroalvarez | I believe that jjardon tried that move in the past. | 09:19 |
gtristan | I might create something like bsp-x86-foo.morph | 09:19 |
gtristan | and have that one support both x86_64 and x86_32 | 09:19 |
* gtristan can imagine that if we wanted to run this system on arm, the bsp might differ significantly enough to create separate strata | 09:20 | |
pedroalvarez | gtristan: here https://gerrit.baserock.org/#/c/325/ | 09:20 |
gtristan | looks like a generally good move | 09:21 |
* gtristan will adjust his branch to take that approach | 09:22 | |
pedroalvarez | will you send that as a patch? | 09:22 |
pedroalvarez | Is there anyone opposed to this change? (merge x86 bsp's) | 09:24 |
gtristan | pedroalvarez, I'll leave the existing gerrit in place and wont touch baserock | 09:32 |
gtristan | looks like jjardon got a long way with that already | 09:32 |
pedroalvarez | but that is stalled | 09:33 |
pedroalvarez | needs rebasing | 09:33 |
pedroalvarez | etc | 09:33 |
pedroalvarez | not touching it even with a stick? | 09:33 |
gtristan | hahaha | 09:33 |
gtristan | Right now I'm trying to take a better approach with a different project | 09:33 |
gtristan | maybe some things we do in that project will be worth adopting in the baserock project | 09:34 |
gtristan | pedroalvarez, to be honest, baserock carries so much dead weight at this point that it's intimidating to get into proposing changes :-S | 09:35 |
pedroalvarez | boo | 09:36 |
*** locallycompact has joined #baserock | 09:36 | |
pedroalvarez | gtristan: I understand, though | 09:36 |
gtristan | pedroalvarez, one of the first things I did for instance in my own work flow... is git rm -rf strata/* ... wipe brow... breathe easy... all that deadcode gone, now I can work | 09:36 |
pedroalvarez | hahah | 09:37 |
*** edcragg has quit IRC | 10:31 | |
*** gtristan has quit IRC | 10:54 | |
*** ctbruce has quit IRC | 11:05 | |
locallycompact | can I just write arbitrary python in setup.py scripts? | 12:13 |
locallycompact | I want to preprocess some specific files and then install them processed | 12:13 |
franred | locallycompact, I think so, why you don't use what openstack uses for that? | 12:14 |
locallycompact | what does openstack uses | 12:15 |
franred | locallycompact, pbr I think is called. | 12:17 |
SotK | yep, pbr | 12:17 |
*** ctbruce has joined #baserock | 12:17 | |
franred | locallycompact, but that is for installing packages, if you need to install files in directories you just can create your own setup.py | 12:19 |
locallycompact | so I have | 12:19 |
locallycompact | package_data={'defslib': ['spec/schemas/*.json-schema', 'spec/schemas/*.json-schema']} | 12:20 |
locallycompact | but I need to convert those yaml -> json before install | 12:20 |
franred | locallycompact, google is what I help you with : https://seasonofcode.com/posts/how-to-add-custom-build-steps-and-commands-to-setuppy.html | 12:23 |
*** toscalix has quit IRC | 12:40 | |
cphang | Apologies. Have another problem. In the devel build. Doing a build and deploy of the base system as test. Build goes fine, but deploy fails when populating subvolume due to no write permissions. | 13:01 |
cphang | http://paste.baserock.org/azinokutus | 13:03 |
pedroalvarez | cphang: I think that means your disk is full | 13:03 |
pedroalvarez | If I'm right, the disk image you downloaded has 6G of space, and given that you have upgraded already to devel, you might not have space free to install a base system too | 13:04 |
tiagogomes | I still remember when you didn't have space for even removing a file in btrfs. I hope that was fixed | 13:05 |
pedroalvarez | you don't have to have a good memory | 13:09 |
cphang | Aah okay, if I deploy to a mounted drive then that should fix things? | 13:09 |
tiagogomes | pedroalvarez, is that still happening? | 13:10 |
pedroalvarez | I don't think that is supported | 13:10 |
pedroalvarez | cphang: ^ | 13:10 |
pedroalvarez | you have to either expand the disk image you are using, or remove system you are not using anymore | 13:11 |
pedroalvarez | for the latter, you could do `system-version-manager list` to see available systems and `system-version-manager delete xxxx` to remove one of them | 13:11 |
cphang | pedroalvarez: Okay cool many thanks. Just a quick question. Should I have got a 'No space left on device' error or is that everything's set to read only the expected behaviour? | 13:16 |
pedroalvarez | it would be tricky to figure out if you will have enough space for the upgrade or not | 13:22 |
cphang | Okay, And the same would apply if I was doing a deploy to a disk image as well? | 13:26 |
cphang | Well in any case, it works thanks :) | 13:26 |
pedroalvarez | not sure about that case, but to deploy to a disk image you can choose a differen location with more space | 13:27 |
cphang | Okay, thanks again for your help :) | 13:30 |
pedroalvarez | cphang: you are welcome :) | 13:30 |
locallycompact | paulsherwood, try this https://gitlab.com/baserock/defslib | 13:52 |
locallycompact | there's premigrated definitions in definitions lc/010 | 13:52 |
paulsherwood | locallycompact: sadly i have no time at all today, will try over the weekend, maybe | 13:54 |
*** toscalix has joined #baserock | 13:58 | |
*** ctbruce has quit IRC | 14:28 | |
*** leeming has quit IRC | 14:53 | |
*** leeming has joined #baserock | 14:54 | |
*** faybrocklebank has quit IRC | 15:27 | |
*** CTtpollard has quit IRC | 15:55 | |
*** toscalix has quit IRC | 17:04 | |
*** locallycompact has quit IRC | 17:14 | |
*** lachlanmackenzie has quit IRC | 18:07 | |
*** rdale has quit IRC | 20:47 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!