Eickmeyer | OvenWerks: Found a nasty flaw with ubuntustudio-installer: It chokes when installing ubuntustudio-audio because jackd, when installing, has a dialog box. Is there a way we can expose a console? | 06:42 |
---|---|---|
OvenWerks | Eickmeyer: That used to work | 18:16 |
OvenWerks | Eickmeyer: the best thing to do is like our ISO, set a debconfig variable that just answers yes. | 18:16 |
OvenWerks | When I first tried it, there was a dialog that did work for that. | 18:17 |
OvenWerks | Most sw installers just use "no" for everything to not get hung up. | 18:17 |
OvenWerks | The package may have changed just a bit and that may be why. | 18:18 |
Eickmeyer | OvenWerks: Yeah, strange. Any tweaks I made shouldn't have removed that. Is there a way to do that using the command line that we can implement in the .desktop file? | 19:32 |
Eickmeyer | Also, it's an ncurses dialog, so that may have something to do with it. | 19:40 |
OvenWerks | Eickmeyer: the whole thing is a script, so it should be possible to set variables. | 21:42 |
OvenWerks | Eickmeyer: our preseed file does: "jackd2jackd/tweak_rt_limitsboolean true" | 21:43 |
OvenWerks | Eickmeyer: right now I think we just do an apt install <long list> | 21:45 |
OvenWerks | maybe we should separate out jackd2. The truth is it no longer matters if the dialog is answered yes or no so long as -controls is run after.... or even /usr/sbin/ubuntustudio-system fix | 21:48 |
Eickmeyer | OvenWerks: Well, if that's the case, maybe we should have the script set that variable. | 21:55 |
OvenWerks | Ya, I am just lookign to see how I might do that | 21:55 |
OvenWerks | it looks like we need to do two things... | 21:56 |
OvenWerks | DEBIAN_FRONTEND = noninteractive | 21:57 |
OvenWerks | then run apt with the -y flag to assume yes | 21:57 |
Eickmeyer | Not sure if you got the memo, but -installer is now a git repo in case you still had the bzr repo. | 21:58 |
Eickmeyer | Sounds easy enough of a fix. | 21:59 |
OvenWerks | no problem I am not actually working on the code... | 21:59 |
Eickmeyer | I'm looking at the code now. | 22:00 |
OvenWerks | that was it! RUN DEBIAN_FRONTEND=noninteractive apt-get install -yq jackd2 seems to be working. Feel free to post it as an answer or and I will accept it or let me know if I post it. | 22:00 |
OvenWerks | from: https://stackoverflow.com/questions/40160592/dockerfile-how-to-pass-an-answer-to-a-prompt-post-apt-get-install | 22:00 |
OvenWerks | I think -yq means assume yes and be quiet | 22:01 |
Eickmeyer | Yeah, I think you're right. | 22:01 |
OvenWerks | I don't know if we want quiet or the progress bar may no longer work. | 22:01 |
OvenWerks | (it looks for certain output from the command) | 22:02 |
Eickmeyer | The line I see that may be relevant in the code is set instcmd "pkexec apt-get install -yq=0 $pkgs |& cat" | 22:03 |
OvenWerks | Ya, that looks right | 22:03 |
OvenWerks | just add DEBIAN_FRONTEND = noninteractive; in front? | 22:04 |
Eickmeyer | I'll try that and see if it works. | 22:04 |
OvenWerks | The problem doesn't show up if jackd2 is already installed | 22:04 |
Eickmeyer | I'll have to remove it (and ubuntustudio-audio) if I'm going to test it again. | 22:05 |
Eickmeyer | Okay, pushed, rebuilding in autobuilds. I'll let you know how it goes. | 22:10 |
Eickmeyer | OvenWerks: Yeah, that didn't work. Probably needs "set DEBIAN_FRONTEND=noninteractive;". | 22:45 |
Eickmeyer | OvenWerks: What did the trick was adding DEBIAN_FRONTEND=noninteractive as a separate set instcmd right before it. | 22:54 |
OvenWerks | cool | 22:54 |
Eickmeyer | I'll be pushing the change shortly. | 22:54 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!