Thursday, 2019-05-23

*** hwoarang has quit IRC00:36
*** hwoarang has joined #openstack-dib00:37
*** irclogbot_3 has quit IRC02:26
*** irclogbot_2 has joined #openstack-dib02:29
*** hwoarang has quit IRC06:01
*** hwoarang has joined #openstack-dib06:02
*** ivve has joined #openstack-dib07:42
*** jangutter has joined #openstack-dib08:54
*** brtknr has joined #openstack-dib09:26
brtknrhey all, I want to preinstall kernel-headers and kernel-devel inside an image but (uname -r) renders the kernel09:26
brtknrversion of the host, how do I make sure DIB uses the kernel version of the image that's being built09:26
openstackgerritrenminmin proposed openstack/diskimage-builder master: Add DIB_LOCAL_IMAGE to use ubuntu local cloud image  https://review.opendev.org/64388510:35
*** dhill_ has joined #openstack-dib12:14
*** yolanda__ has joined #openstack-dib14:02
*** yolanda__ is now known as yolanda14:03
*** mjturek has joined #openstack-dib14:48
*** Vorrtex has joined #openstack-dib14:52
*** ivve has quit IRC15:06
*** priteau has joined #openstack-dib15:30
*** hwoarang has quit IRC15:40
*** hwoarang has joined #openstack-dib15:41
clarkbbrtknr: because dib runs the image builds in a chroot you won't get the kernel from the image itself running in the build16:02
brtknrclarkb: thats my problem16:02
clarkbbrtknr: but you should still be able to install the other kernel and its headers and build against it then when the image boots all of that will be used16:02
brtknrdont worry, i worked out a fix for now, here's what i ended up doing: https://github.com/stackhpc/stackhpc-image-elements/blob/fc8b713fe425abb818277744d935dec6e03fcd4b/elements/nvidia-cuda/install.d/95-nvidia-cuda#L516:04
*** hwoarang has quit IRC16:14
*** hwoarang has joined #openstack-dib16:16
*** ivve has joined #openstack-dib16:23
*** priteau has quit IRC18:44
openstackgerritMatthew Thode proposed openstack/diskimage-builder master: allow the use of non-bzip compressed stages for building gentoo  https://review.opendev.org/66109819:44
prometheanfireclarkb: ianw: ^ is needed for the new stages being built and published now20:20
clarkbprometheanfire: doe tar -xf magically pick the compression algorithm if unspecified?20:23
prometheanfireyep20:24
prometheanfireyou only have to pick it on ancient versions of tar20:24
prometheanfirelike, 15+ years old20:24
clarkbTIL Can probably blame learning on solaris20:25
prometheanfireI was doing it the old way til a couple of years ago20:25
prometheanfirejust ancient gentoo20:25
clarkbprometheanfire: I +2'd it but have a suggestion for a simplification20:26
clarkbif you want to take a look20:26
prometheanfirefrom the info page20:27
prometheanfiresure20:27
prometheanfire   Reading compressed archive is even simpler: you don't need to specify20:27
prometheanfireany additional options as GNU 'tar' recognizes its format automatically.20:27
prometheanfireThus, the following commands will list and extract the archive created20:27
prometheanfirein previous example:20:27
prometheanfireclarkb: huh, didn't think it'd work with a url (which is what it is), TIL20:30
prometheanfirebasename 'http://distfiles.gentoo.org/releases/amd64/autobuilds/fii.tar.xz'20:30
clarkbyup should work20:30
prometheanfire-BASE_IMAGE_FILE_SUFFIX=${BASE_IMAGE_FILE_SUFFIX:-"$(echo ${BASE_IMAGE_FILE} | rev | cut -d\/ -f 1 | rev | cut -d. -f 2,3)"}20:30
prometheanfire+BASE_IMAGE_FILE_SUFFIX=${BASE_IMAGE_FILE_SUFFIX:-"$(basename \"${BASE_IMAGE_FILE}\" | cut -d. -f 2,3)"}20:31
prometheanfirelook good?  I think quoting within the subshell makes sense20:31
clarkblet me test it20:32
clarkbyup that seems to do the right thing20:32
openstackgerritMatthew Thode proposed openstack/diskimage-builder master: allow the use of non-bzip compressed stages for building gentoo  https://review.opendev.org/66109820:33
*** Vorrtex has quit IRC20:50
*** ivve has quit IRC21:59

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