15:58.37 | shalkie | GoOSe Morning |
15:58.53 | shalkie | Big White Fluffly snowflakes everwhere. |
16:23.52 | *** join/#gooseproject figg3 (~figg3@c-7719e455.015-382-73746f7.cust.bredbandsbolaget.se) |
17:14.13 | herlo | Quite a snowy GoOSe morning! |
17:15.16 | shalkie | s/fly/fy/ |
17:15.38 | shalkie | herlo: Yeah, are you going to brave the high "alta"tude today? ;-) |
17:16.11 | herlo | nope, sick |
17:16.31 | herlo | hoping to be better enough to go tomorrow or sunday though |
17:17.06 | shalkie | I see. |
17:17.17 | herlo | shalkie: I think we're really close to a GoOSe release too. I might just work on it this weekend between moving the last stuff from our old place. |
17:18.23 | herlo | shalkie: mostly just a cough and chest congestion. If I don't feel well enough to ski, I'll be here, GoOSing! |
17:18.58 | shalkie | Hah! I am more surprised you don't have some clever way of GoOSeing while riding the ski lift. |
17:19.08 | shalkie | Sorry to hea ryour sick. |
17:19.20 | shalkie | s/ ry/r y/ |
17:25.50 | herlo | shalkie: thanks. I'm hoping to kick it today |
18:56.17 | zoglesby | anyone know of a way to define a %post in a spec that will not run on OS install? |
18:57.08 | herlo | zoglesby: what is the purpose? |
18:58.26 | zoglesby | herlo: we have some custome rpms at work that have %post sections to configure them. I want to add them to the install iso, but I don't want to run the config script |
18:58.54 | zoglesby | /s/custome/custom |
18:59.14 | herlo | zoglesby: oh, you mean they are interactive? |
18:59.24 | zoglesby | herlo: yeah |
18:59.54 | herlo | zoglesby: one thought would be to alter the post section to read a config file you drop in place, rather than being interactive. It's a set rule that rpm is supposed to be non-interactive. |
19:00.11 | herlo | afaik, you probably would have to interact with each install otherwise. |
19:00.17 | herlo | which sounds completely lame |
19:01.02 | herlo | zoglesby: one way though would be to download the rpm, do rpm2cpio and copy it to the right locations |
19:01.19 | herlo | but that seems like it's defeating the purpose of rpm altogether |
19:07.40 | goozbach | you could do some logic in your %post to cat /proc/cmdline or something and have it not execute if inside of anaconda |
19:08.00 | goozbach | not sure that /proc/cmdline is the right file, but the idea is sound |
19:08.23 | goozbach | but the more correct answer is to remove the interactivy from your rpm. |
19:08.38 | goozbach | breaks the speification |
19:08.52 | zoglesby | herlo: I did not want to have interactivity in the rpm, but lazy admins won that fight |
19:09.35 | herlo | zoglesby: can you just rewrite the post section to include a way to use defaults and change them after the fact? |
19:09.44 | herlo | post in kickstart, that is |
19:10.05 | herlo | expect would work, though it's annoyingly painful |
19:10.34 | herlo | or rewrite the rpm to assume certain defaults if no input is provided in X seconds (like 10) |
19:13.32 | zoglesby | I don't like any of the options (but thank you both). I am just going to try and fight with ops about this again. |
19:13.48 | herlo | zoglesby: do you not have control of the srpm? :D |
19:14.15 | zoglesby | herlo: I have all the control, I am the only one who knows how to do any of this |
19:14.36 | herlo | zoglesby: then just do it your way |
19:14.55 | zoglesby | herlo: "But with the old process......" |
19:14.57 | herlo | tell them that interactive isn't going to work due to constraints of the automated installation |
20:00.13 | shalkie | Or in a worst case scenario just tell them "Yes, that was the old way... This is the modern way." |
20:00.23 | shalkie | ducks behind the couch |
20:03.19 | shalkie | Is there a way to specify rpm options to anaconda? Cause there are options like --noscripts for rpm. I just don't know how you would tell anaconda that. |
20:03.58 | herlo | only in a kickstart |
20:04.45 | herlo | but doing --noscripts is probably not what zoglesby wants, since I would think he wants some pre/post script stuff to happen, just not interactively. |
20:50.14 | zoglesby | No matter, I pulled out the documentation and told them I would not support it |
20:50.20 | zoglesby | end of story |
20:51.28 | herlo | hehe |
22:58.54 | shalkie | :-) |