libera/#devuan/ Saturday, 2021-10-30

chozorhoI'm no LUKS expert, but, it sounds perfectly reasonable that your results would vary a bit from one person's machine to another00:09
chozorhohow many "slots" are enabled on your machine?00:09
chozorhoahh wait, it seems like the output format has changed since then, hasn't it...00:11
chozorhowhen I run luksDump, it doesn't print out "slots", it just gives the uhh00:11
chozorhoyea, try running the same command but don't pipe it through grep00:12
chozorhoyou can see a section about "Keyslots" among other things00:12
hyrcWayback machine / archive.org has bent the knee to the ... and have announced that they will begin going back through the archives to 'fact check' data that is 'bad'01:04
error144golinux your idea, of using refracsnapshot FAILED!!!07:57
error144:(07:57
error144rrq good morning! remember me? I am the same guy that tried to use the installer-iso for 5 days already.07:58
error144I have been playing around with the script, changing parameters here and there, but I never managed to make it use install certain packages, infact it seems like there is no way to do it, its either all or none, if you use the commend "make ISO=$ISO" that is found in the git README, it will ask for udeb files, I want to give that a try, but I didn't found where to put these udeb files? any suggestions?08:02
rrqdo you want the iso to carry certain more packages in its pool? or that it uses some certain udebs into the installer itself?08:23
error144rrq if you mean the netinstall then I want more, if you mean the desktop iso, then I want less,08:26
error144in other words, I want to have full control over what gets in and what not!!08:27
rrqok, you are talking about the pool of packages included on the iso08:27
error144OK, before I answer that, could you explain more about what do you mean by 'pool of packages', the only time I heard about 'pool' is from the README file08:28
rrqthe iso is a file structure that contains the installer (program) as a small kernel+initrd, and a package repository layed out with a "pool" doirectory tree of packages and a "dists" directory tree with "index files"08:31
error144so the pool directory will have packages for the installer to use during installation?08:32
error144also are the "index files" the files that appears on root directory '/'?08:33
error144rrq tag08:34
rrqyes+no, the pool is a package repository. The installer will pull in packages from it for itself as part of the installation run, and it will also pull packages from there to install into the target08:34
rrqthe iso contains a dists/ directory tree; all the same as any debian repository08:35
rrqthe packages it installs into the target are firstly determined by the initial debootstrap, which uses the --minbase parameter08:36
error144okeeeeeey, but where does it know what 'packages' to pull in or out?08:37
error144for example, I did 'grep -rwn '.' -e 'gnome'' in order to disable downloading gnome during desktop ISO08:37
error144and I didn't found any gnome word in the whole script, so how does it know that "we want gnome"?08:38
rrqright; firstly the --minbase option to debootstrap, secondly it's du to itself installing the pkgsel udeb, which causes tasksel to be installed into the target08:39
rrqI fon't think gnome is on any iso except possibly the additional pool-only isos08:42
rrqdon't08:42
error144the minbase file has packages that every distro must have, so what's inside it is fine for me, but where are the 1000s of packages that get downloaded druning the second phase of the building?08:42
error144speaking of phases, during my testing for the script I noticed that it works like this: first it install key packages for chroot to work, then it download many packages that I don't need nor use, then it starts building.08:43
error144and everytime I run the script it does that again, and it slows me down, I managed however to speed it up a little by masking "Clean up prior building" in the build-sudo.sh08:44
error144however this only stops the first phase, the second phase of downloading packages is still there, and until now I didn't found how to stop it from getting deleted so it doesn't reddownload it everytime I edit the script!08:45
rrqthe first phase builds a file system that constitutes a full ISO build system, and it needs packages for itself that are not in the installer08:46
error144yah, and how can I stop the packages of the second phase from being deleted?08:47
error144or 'cleaned'?08:47
rrqthat second phase is used for preparing the installer initramfs08:48
error144and how to edit that?08:49
rrqthe easiest is way of dealing with the "downloading again" issue to set up a package cacher08:50
rrqthen run with: "http_proxy=http://localhost:3142 ./build-sudo.sh" (or similar)08:51
error144@_@ its 'easier' to said then done, I am hearing some new words here, each one can take weeks to learn.08:52
rrqI'm using "apt-cacher-ng"08:53
error144then what? simply run it?08:55
rrqyes, it's a daemon. it then sits on the transport line when packages are downloaded to cache them locally and serve that instead of downloading anew08:55
error144ok, lets give it a try08:56
rrqthen, the list of udebs that constitute the installer initrd is enumerated in "udeb-sets.mk.tmpl"08:58
rrqthat gets expanded with its dependencies, and all that gets unpacked to form the initrd file system08:59
rrqthe iso's package pool is prepared by the setup in the "installer-iso/pool" directory09:00
rrqthat setup prepares the list of which packages the ISO pool should contain09:02
error144rrq I have checked almost everything in the pool folder, it is so unclear where all of these happens!09:03
rrqwell, it merely prepares the list of packages. when you go into that directory and command: make ISO=NETINSTALL, it will prepare the list for NETINSTALL09:04
rrqthat includes a) grab all current Packages file and split them up into the individual package description files for each package that the builder knows about, b)09:05
error144it indeed created a file titled NETINSTALL_LIST_amd64 and it is full of commented packages names with word 'unknown'09:06
rrqprocess the seeding lists that enumerates the packages the iso should contain by expanding with all their dependencies and recommends09:06
rrqwhen you check the NETINSTALL_LIST_amd64 target you'll see which the seeding lists are09:07
error144you mean everything in this file is going to be in the iso?09:08
rrqthe resulting list file has comments and then uncommented package names, all of which are going into the iso pool09:09
error144ok that's make it clear now09:09
error144rrq how about editing the chroot folder?09:09
error144lets say I want to have a file in /usr/share titled "devuan_killed_systemD.txt" how am I going to add this?09:10
error144as far as my tries, the chroot folder get cleard as soon as you run the script again09:10
rrqI would add to build-sudo.sh, before the "# Build all" comment; a command to copy in that into the now prepared chroot file system09:14
error144fair, I can handle that.09:15
error144so how about adding a premade user?09:15
error144during devuan installation, it asks you to make a user that is not root, and IT FORCES YOU TO DO IT, and also forces you to chose what password the root has, any suggestion about avoiding that?09:16
rrqthe list file pool/installer-menu is set up to illustrate the installation process by vertue of ordering the udebs according to their Installer-Menu ordinal09:18
rrqaccording to that I'm guessing you might want to patch user-setup-udeb09:19
error144by commenting it ;)09:21
rrqI'm not fully clear about which of the forced udebs mentioned in udeb-sets.mk.tmpl that causes the installer to later (want to) install user-setup-udeb09:23
rrqmentioning it in installer-menu is rather a matter of tell the pool formation to have it available09:23
rrqtelling09:23
error144rrq sorry but, may I ask: are you the one who created this script?09:24
error144yesterday I said that you seem to be the only one in this earth who knows how to make this script work.09:25
rrqthe building as a whole uses debconf in the same way as debian-installer but with less flexibility in varying the set up for different architectures09:27
error144I found debian-installer document, comparing it with this script I almost found 0 similarity.09:28
error144however this tool seem simpler09:29
error144could be because I have been using it for 5 days!09:29
rrqif you want to know everything about every thing involves in the iso building than you might be looking at a couple of days more09:31
error144the problem is not about me giving more days learning this tool, it is about if you are online and wanting to help or not.09:32
error144otherwise this tool is unknowable09:32
error144I have tried http_proxy=http://localhost:3142 ./build-sudo.sh chimaera netinstall 4.009:35
error144didn't work09:35
error144could it be because of the port?09:35
rrqwhich port is your cacher serving on?09:35
error144how to tell?09:36
rrqeithr look into its configuration or check with netstat or ss09:36
rrqeg netstat -anp | grep cacher09:37
error144seem ok, tcp port is 3142 as yours09:39
rrqtry with an "export http_proxy" beforehand09:40
error144same result09:43
error144in fact that was expected09:43
rrqok. what's the error message?09:44
* rrq short break. biab09:44
error144no address associated with hostname09:46
error144_I were disconnected? rrq did you sent any message?09:58
rrqno, just back10:03
rrqyou may need to either declare an entry in /etc/hosts or use the IP 127.0.0.1 instead of localhost10:04
rrqthat's for making http_proxy to work10:06
error144_lets give that a try10:12
rrqther has come a recollection from the depth of the fog, that the installer-menu looks for all packages with an Installer-Menu tag, to know which ones to install, so commenting out user-setup-udeb would work insofar as to not use that udeb during the installation.10:17
rrqthat particular step is slightly different during an expert install as it then lets you skip setting up root and/or user.10:18
rrqI don't know if the udeb includes other things that possibly are more essential, e.g. setting up passwd and groups more generally10:19
rrqany such baby goes with the bath water if you comment out the udeb10:20
error144_rrq It is not the first time I destroy a distro because of a package, as long as I know what I am doing, it is fine, its about testing and checking10:26
error144_rrq your apt-cache idea worked!!10:28
error144_it is now 50x faster then before!!10:29
error144_this will help debugging changes10:29
rrqgreat. then it's a matter of messing with the list seeding lists I guess10:30
rrqunless you want to add your very own iso type10:30
error144_!!!10:30
error144_can I add my own iso type?10:30
rrqsure.. not too hard10:31
error144_show me !!!10:31
rrqinvent a name to being with10:31
error144_ok nightinst10:31
error144_next10:31
rrqthen you'll preapre a "nightinst.mk" makefile include similar to, say, netinstall.mk10:32
rrqprepare10:32
* critr wants to being with sheila10:32
error144_nano nightinst.mk, so what should I put in?10:33
rrqcopy netinstall.mk10:33
rrqchange the POOL line to identify your pool name; could be the uppercase version of you want to follow the style10:34
error144_should I copy netinstall and change the POOL?10:34
rrqyes .. you're ahead of me :)10:34
error144_rrq nah, got disconnected xD10:34
error144_done10:34
error144_what next?10:34
rrqthe edit pool/Makefile to add the making of the list similar to NETINSTALL_LIST...10:35
rrq5 lines including the comment above and the blank line below10:35
rrqand replace the all-* seeding lists with one of your own10:36
rrqI mean, change that line mentioning them10:37
error144_like all-nightinst ?10:37
rrqyes that should be fine; any filenmae not in use I suppose10:39
error144_done10:40
error144_next10:40
rrqa thought: note that the other all-* seeding lists are generated, so maybe cleaning will delete your all-nightinst10:40
rrqperhaps just nightinst is better10:41
error144_fine, done10:41
error144_next10:41
rrqif that file exists, then it's just a matter of building that rather than netinstall10:41
error144_it doesn't, lets create one10:42
rrqthat file would be a list of packages mixed with comment lines10:42
error144_so how to do it?10:42
error144_yes yes, where to create it? this is start to get clearer!10:42
rrqin pool/10:43
error144_I don't see netinstall to use it as a reference?10:43
rrqcheck the POOL line of netinstall.mk10:44
rrqsorry10:44
error144_it says POOL += NETINSTALL10:44
error144_so?10:44
rrqsorry, mine was a good answer to a different question10:44
error144_no problem.10:45
error144_what's next?10:45
rrqNETINSTALL_LIST_amd64 is built using the seed files named in ${INSTALLER} and all-require and all-mportant, where those latter two are generated10:46
rrqthe ${INSTALLER} files are defied on line 14 in the Makefile10:47
rrqand each of those files is a seeding file10:47
rrqyour nightinst file would be a series of package names and comments10:48
error144_rrq like simply create a file titled nightinst, and fill it with package names in order for them to get added in the iso?10:49
rrqyes10:49
error144_hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm10:49
rrqthe iso building will follow up all dependencies and recommends and include those as well10:50
error144_can I disable 'recommends'?10:50
error144_remember my target is to make a minimal distro, no need for these recommends packages10:50
rrqmmm in that case you might need the package list file to be in two parts: the first part that includes recommends, for the installer itself and the second part for the no-recommends of additional packages, .. or10:53
rrqyou can work out which recommends the installer relies on and then totally disable following up recommends in the dependecy traversal10:53
error144_rrq that can take ages!10:54
rrqyes. a fair few days I'd think10:56
rrqa two step list building is not very hard though10:57
error144_ok do you have an example on this two step listing idea?10:57
rrqyou know how makefiles work?10:58
error144_not an expert but yes10:58
rrq.. I think now we are turning towards programming consulting :)10:59
rrqa first, slightly hacky, way would be as follows:11:00
rrqfirstly do not mention your nightlinst on the dependency line11:01
rrqsecondly add a second step to the proparation of: cat nightly >> $@11:01
rrqpreparation11:01
rrqi.e. after the "plain installer list" is prepared, then tuck on your list appended to the end of it11:02
rrqwith that approach no dependency traversal is done at all11:03
error144_does this mean I will have to put the dependency packages manually?11:04
error144_or it is just no recommend?11:04
rrqthe alternative is to use the command: yes | ./review nightly >> $@11:04
rrqwhich whill foolow up dependencies from your list without including recommmends11:04
error144_oh11:05
error144_yah, it is clear now11:05
rrqI'm not sure if it alls needs a clean up of any duplicates...11:05
error144_speaking of adding packages manually, say I want to add a package that doesn't exist in the repository (of devuan), to add it as a file, (.deb or .udeb) is that possible?11:06
rrqa couple of ways depending on how wyou want that to be in the installed system11:09
error144_I want them to be installed the same way key packages (like apt) are installed11:10
rrqmmm a) needs to be in hte iso as deb file, and b) needs the installer to take a special action to install it11:12
rrqboth doable11:12
rrqthe easiest for a) is to include it into the installer's initramfs, and then b) also have a finish-install script added that installs the deb at the end of the "normal" process11:14
error144_so how? it doesn't work to simply put the .deb in an iso file?11:14
rrqthe "normal" part of installation uses apt and requires the package description to be added plus the deb being downloadable by apt11:16
rrqbut the installer also runs through a collection of "finish-install" scripts that can do stuff before first reboot11:17
rrqfor the latter, you need to have such a finish-install script as well as the deb, and the make sure the iso builder includes that on the iso11:18
error144_ok I am getting mad, I will go and RECREATE THE WHOLE SCRIPT.11:18
error144_rrq thank you for your time, and knowledge, but I will have to get deeper in order to make this work as I want it.11:20
error144_as this script seem to be built for devuan use only11:20
rrqno worries11:21
error144_I will go and never come back now, rrq I am sorry for any disturbance.11:21
error144_cya11:21
UsLhow can he "cya" if he's to never come back..11:23
UsLbtw, impressive knowledge you sit on rrq. And I don't just mean about iso building.11:24
rrqcheers11:25
UsLja, skål.11:27
uvokHi. I dist-upgraded to chimaera yesterday. XFCE as Desktop environment. I noticed that the account name completion doesn't work anymore in GnuCash with the Clearlooks-Phenix-Deepsea theme. Now I wonder whether that's GnuCash-, GTK- or Devuan related.16:16
uvokI downloaded a "Win11" theme from xfce-looks, and with that theme, the account name completion works again.16:16
uvokCan anyone reproduce the issue in the first place? (or is it one of those "I misconfigured my system some time in the past" problems?)16:17
brocashelmit's most likely a gtk issue. beowulf's xfce was on gtk2, whereas chimaera's xfce (4.16) is on gtk3, so a lot of pre-gtk3 themes could look messy16:23
uvokAt least I can reproduce it when I install Devuan fresh in a VM...16:44
uvokIt's funny, though, the problem also occurs in the LXDE desktop environment, so it's not XFCE - specific16:45
uvokBut afaik, GnuCash itself has been using GTK3 under Beowulf, too?16:45
hyrckill the jews17:16
joergthanks!17:26
joergI wonder if it suffices to send above two lines to our police, to warrant a few months in jail for this idiot17:28
joergif anybody (in Germany, or elsewhere) feels like taking aktion and "anzeige erstatten", feel free to refer to http://reisenweber.net/irclogs/libera/_devuan/_devuan.2021-10-30.log.html#t2021-10-30T17:16:0517:35
joerghurry, IP-adressess are dynamic and metadata ist sored only for weeks17:36
joergstored*17:36
joergadd this, for completeness http://reisenweber.net/irclogs/libera/_devuan-arm/_devuan-arm.2021-10-30.log.html#t2021-10-30T16:18:3017:39
joergfor chanlog:17:40
joerg[30 Oct 2021 17:16:05] <hyrc> kill the jews17:40
joerg[30 Oct 2021 17:26:34] <-- hyrc (~hyrc@p57bbe3cc.dip0.t-ipconnect.de) has left this server (K-Lined).17:40
joerg[30 Oct 2021 17:26:53] <joerg> thanks!17:40

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!