*** hwoarang has quit IRC | 00:36 | |
*** hwoarang has joined #openstack-dib | 00:37 | |
*** irclogbot_3 has quit IRC | 02:26 | |
*** irclogbot_2 has joined #openstack-dib | 02:29 | |
*** hwoarang has quit IRC | 06:01 | |
*** hwoarang has joined #openstack-dib | 06:02 | |
*** ivve has joined #openstack-dib | 07:42 | |
*** jangutter has joined #openstack-dib | 08:54 | |
*** brtknr has joined #openstack-dib | 09:26 | |
brtknr | hey all, I want to preinstall kernel-headers and kernel-devel inside an image but (uname -r) renders the kernel | 09:26 |
---|---|---|
brtknr | version of the host, how do I make sure DIB uses the kernel version of the image that's being built | 09:26 |
openstackgerrit | renminmin proposed openstack/diskimage-builder master: Add DIB_LOCAL_IMAGE to use ubuntu local cloud image https://review.opendev.org/643885 | 10:35 |
*** dhill_ has joined #openstack-dib | 12:14 | |
*** yolanda__ has joined #openstack-dib | 14:02 | |
*** yolanda__ is now known as yolanda | 14:03 | |
*** mjturek has joined #openstack-dib | 14:48 | |
*** Vorrtex has joined #openstack-dib | 14:52 | |
*** ivve has quit IRC | 15:06 | |
*** priteau has joined #openstack-dib | 15:30 | |
*** hwoarang has quit IRC | 15:40 | |
*** hwoarang has joined #openstack-dib | 15:41 | |
clarkb | brtknr: because dib runs the image builds in a chroot you won't get the kernel from the image itself running in the build | 16:02 |
brtknr | clarkb: thats my problem | 16:02 |
clarkb | brtknr: 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 used | 16:02 |
brtknr | dont 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#L5 | 16:04 |
*** hwoarang has quit IRC | 16:14 | |
*** hwoarang has joined #openstack-dib | 16:16 | |
*** ivve has joined #openstack-dib | 16:23 | |
*** priteau has quit IRC | 18:44 | |
openstackgerrit | Matthew Thode proposed openstack/diskimage-builder master: allow the use of non-bzip compressed stages for building gentoo https://review.opendev.org/661098 | 19:44 |
prometheanfire | clarkb: ianw: ^ is needed for the new stages being built and published now | 20:20 |
clarkb | prometheanfire: doe tar -xf magically pick the compression algorithm if unspecified? | 20:23 |
prometheanfire | yep | 20:24 |
prometheanfire | you only have to pick it on ancient versions of tar | 20:24 |
prometheanfire | like, 15+ years old | 20:24 |
clarkb | TIL Can probably blame learning on solaris | 20:25 |
prometheanfire | I was doing it the old way til a couple of years ago | 20:25 |
prometheanfire | just ancient gentoo | 20:25 |
clarkb | prometheanfire: I +2'd it but have a suggestion for a simplification | 20:26 |
clarkb | if you want to take a look | 20:26 |
prometheanfire | from the info page | 20:27 |
prometheanfire | sure | 20:27 |
prometheanfire | Reading compressed archive is even simpler: you don't need to specify | 20:27 |
prometheanfire | any additional options as GNU 'tar' recognizes its format automatically. | 20:27 |
prometheanfire | Thus, the following commands will list and extract the archive created | 20:27 |
prometheanfire | in previous example: | 20:27 |
prometheanfire | clarkb: huh, didn't think it'd work with a url (which is what it is), TIL | 20:30 |
prometheanfire | basename 'http://distfiles.gentoo.org/releases/amd64/autobuilds/fii.tar.xz' | 20:30 |
clarkb | yup should work | 20: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 |
prometheanfire | look good? I think quoting within the subshell makes sense | 20:31 |
clarkb | let me test it | 20:32 |
clarkb | yup that seems to do the right thing | 20:32 |
openstackgerrit | Matthew Thode proposed openstack/diskimage-builder master: allow the use of non-bzip compressed stages for building gentoo https://review.opendev.org/661098 | 20:33 |
*** Vorrtex has quit IRC | 20:50 | |
*** ivve has quit IRC | 21:59 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!