[2021-06-27T01:38:27Z] gcc's build system uses host/target specification on certain checks so I'd have to see if there was a good reason for it to be specified [2021-06-27T01:38:40Z] I doubt there was, so maybe perhaps [2021-06-27T04:16:49Z] o/ [2021-06-27T04:20:15Z] hi!!!!!!!!!! nice to see you! [2021-06-27T04:22:17Z] Nice to see you too. How have you been? [2021-06-27T04:22:42Z] welcome back [2021-06-27T04:23:12Z] Thanks konimex, how are you? [2021-06-27T04:24:41Z] dylan02: i've been great, thanks [2021-06-27T04:24:41Z] pretty good, all things considered [2021-06-27T04:35:15Z] Hi [2021-06-27T04:35:22Z] Hi dylan02 [2021-06-27T04:39:31Z] Apologies, power outage [2021-06-27T04:39:54Z] but now the dylanpower is back [2021-06-27T04:40:28Z] lol [2021-06-27T04:51:55Z] dilyn: You'd need to specify the triplet for the LTO symlink too so it can be changed to $(cc -dumpmachine) in both occurrences [2021-06-27T04:56:21Z] dylan02: how are you? how are your cats? [2021-06-27T04:57:45Z] the cats ate his mouse [2021-06-27T04:58:00Z] I'm good. Many cats have come and gone (right now there's some kind of virus going around so I've lost some). [2021-06-27T04:59:37Z] I've been experimenting with some (partially breaking) changes to the package manager. The first one is to sway to blake3 for checksums rathat than sha256. The rationale is performance of which there is a substantial improvement: https://pastebin.com/raw/G1T9K9Tv [2021-06-27T04:59:49Z] s/sway/switch/ [2021-06-27T04:59:59Z] s/rathat/rather/ [2021-06-27T05:00:49Z] what's the implementation of the b3sum? [2021-06-27T05:02:18Z] rathat sounds almost like redhat alias Poettering [2021-06-27T05:04:20Z] looks like there's a c and rust implementation [2021-06-27T05:04:44Z] rust is totally non-kissish [2021-06-27T05:04:50Z] This is upstream: https://github.com/BLAKE3-team/BLAKE3 [2021-06-27T05:04:54Z] I need to setup an IRC client, using the web interface for the moment. [2021-06-27T05:05:40Z] konimex: There's Michael's implementation which I'm using and upstream. https://git.sr.ht/~mcf/b3sum https://github.com/BLAKE3-team/BLAKE3 [2021-06-27T05:05:42Z] I'm lagging lol [2021-06-27T05:10:13Z] It's possible to transition to b3sum in a *non-breaking* way by making the repositories transition over transparently (as new checksums are generated). ie, both are supported until the sha256 checksums disappear. Just depends on whether or not this change is desirable. [2021-06-27T05:12:35Z] https://termbin.com/a2om nice [2021-06-27T05:12:39Z] well I wouldn't be opposed [2021-06-27T05:12:45Z] but are there enough fat packages to warrant this change ? [2021-06-27T05:14:01Z] if rust and firefox's sources are considered as it's on the main repo, it does [2021-06-27T05:15:00Z] i think faster checksum is better purely because it's faster, and because it's possible to switch [2021-06-27T05:15:32Z] regardless of fat packages [2021-06-27T05:16:18Z] also, welcome back dylan! (although i wasn't in irc when you were here last) [2021-06-27T05:16:40Z] dilyn was a worthy substitute [2021-06-27T05:16:52Z] noocsharp: Thanks :) [2021-06-27T05:16:55Z] Agreed [2021-06-27T05:17:34Z] o/ :) [2021-06-27T05:17:42Z] b3 is pretty cool [2021-06-27T05:18:13Z] Hello [2021-06-27T05:18:25Z] How's things? [2021-06-27T05:18:38Z] Busy! [2021-06-27T05:19:12Z] How are your things? [2021-06-27T05:19:14Z] Having fun, I hope [2021-06-27T05:19:27Z] My things are good [2021-06-27T05:26:46Z] I guess good old md5 is too insecure for checksums [2021-06-27T05:28:12Z] collision attacks [2021-06-27T05:28:35Z] not good for file integrity [2021-06-27T05:59:30Z] oh, shit [2021-06-27T05:59:40Z] hey dylanaraps, glad to see the red hat assassins didn't take you out [2021-06-27T06:08:38Z] ;) [2021-06-27T07:58:42Z] dylanaraps: for a fair test you should run sha256sum several time as the first read most likely puts the file contents in cache [2021-06-27T07:59:26Z] i.e. in your paste the first invocation reads from fs + runs hashing, whereas second call only runs hashing [2021-06-27T08:05:47Z] sh4: You're free to try it yourself. My snippet is runs copy/pasted from a series they didn't necessarily run in that order (and not only twice per file). [2021-06-27T08:06:15Z] blake3 really is that much faster consistently [2021-06-27T08:08:48Z] i see. actually this has come up once in sabotage too though i decided to stick with sha512sum as its readily avalaible anywhere, and i dont think 1 sec for hashing a 170MB file is unreasonable [2021-06-27T08:09:05Z] given that you probably need like 5 mins to download it [2021-06-27T08:09:11Z] (at least on my conn) [2021-06-27T09:44:50Z] Opened two PRs people might find interesting: https://github.com/kiss-community/kiss/pull/39 https://github.com/kiss-community/kiss/pull/40 [2021-06-27T13:17:05Z] dylanaraps: I am very glad you made it back. I wish you all the best! [2021-06-27T13:19:08Z] Good to see that you didtn ran out of ideas (: [2021-06-27T14:37:50Z] \o/ [2021-06-27T14:43:54Z] hiiii! [2021-06-27T14:46:16Z] Hi riteo [2021-06-27T14:57:39Z] ohaiyodesu, riteo-kun uwu~ [2021-06-27T15:17:01Z] uwu [2021-06-27T15:28:03Z] * testuser[m]1 cancels midfavila and riteo [2021-06-27T15:44:29Z] roll for social [2021-06-27T16:35:06Z] Hi, are there any resources for packaging software? FAQ says "Package it yourself" but I've no idea what that means exactly. I think it involves compiling but can't find anything about it... [2021-06-27T16:35:39Z] you can look there: https://k1sslinux.org/package-system [2021-06-27T16:35:48Z] s/there/here/ [2021-06-27T16:36:19Z] Oh okay thank you [2021-06-27T16:36:23Z] also there's this: https://k1sslinux.org/wiki/kiss/style-guide [2021-06-27T16:36:27Z] you're welcome :) [2021-06-27T16:36:41Z] So any package that works on Linux will work for KISS? [2021-06-27T16:36:55Z] it depends on what you mean for Linux [2021-06-27T16:36:56Z] KISS is Linux [2021-06-27T16:37:18Z] As long as it has deps satisfied and doesn't have glibc-isms [2021-06-27T16:37:28Z] But it's easy to patch out glibc-isms [2021-06-27T16:37:33Z] (Mostly) [2021-06-27T16:37:36Z] Something like this https://librewolf-community.gitlab.io/ [2021-06-27T16:37:43Z] oh yeah [2021-06-27T16:37:51Z] I'm pretty sure someone already packaged it [2021-06-27T16:37:59Z] Not sure why you'd use that instead of hardened ff but noocsharp has it [2021-06-27T16:38:07Z] Wait [2021-06-27T16:38:31Z] http://git.nihaljere.xyz/kiss-nihal/file/librewolf/build.html [2021-06-27T16:39:01Z] Looks like it's an ayyland build so you'll have to remove that line [2021-06-27T16:39:15Z] ayyland [2021-06-27T16:39:16Z] cairo-gtk3-wayland [2021-06-27T16:40:36Z] I dunno, I saw that Mozilla was doing some anti free speech stuff [2021-06-27T16:41:01Z] Librewolf is just pozilla firefox with a couple of patches [2021-06-27T16:41:09Z] That doesn't un-pozilla it [2021-06-27T16:41:12Z] Other than telemetry [2021-06-27T16:47:51Z] it both wayland and xorg [2021-06-27T16:48:09Z] i guess you need to remove the line if you don't have wayland stuff installed [2021-06-27T16:48:50Z] Ok I will do that thank you [2021-06-27T16:49:10Z] also it's not the latest firefox [2021-06-27T18:21:27Z] consolers: idk if you check the logs (so someone let them know if you see them), that specific firefox problem was resolved. I don't quite remember what I did, but repo/extra/firefox allegedly works just fine [2021-06-27T18:53:03Z] Was anybody able to get an encrypted KISS ? [2021-06-27T19:01:52Z] So dm-mod.create is a kernel parameter... but what settings would I give it? [2021-06-27T19:11:21Z] gtg for now, bye! [2021-06-27T19:52:30Z] My stuff is being installed to /var/db/kiss/var/db/kiss/installed instead of /var/db/kiss/installed... [2021-06-27T19:53:31Z] And there seems to be other stuff like /var/db/kiss/{etc,usr,var}... WTF is going on? [2021-06-27T20:11:21Z] jaafarrc: can we get the output of `env`? [2021-06-27T20:11:21Z] Your KISS_ROOT is set to /var/db/kiss ? [2021-06-27T20:12:18Z] ^yes, something like that. relevant definitions would be sys_db=$KISS_ROOT/${pkg_db:=var/db/kiss/installed} [2021-06-27T20:12:29Z] line ~1680 [2021-06-27T20:13:19Z] Wait... KISS_ROOT is an actual thing? I made it for my script for efficiency's sake. [2021-06-27T20:13:35Z] It is indeed ;v [2021-06-27T20:13:44Z] it allows you to install packages to a different place than / [2021-06-27T20:13:46Z] Yes, my KISS_ROOT is /var/db/kiss. [2021-06-27T20:14:44Z] Hold on a second, no, it isn't. [2021-06-27T20:14:59Z] Should I add an "export?" [2021-06-27T20:15:21Z] Nevermind, it is. [2021-06-27T20:15:25Z] Ugh, I'm so blind. [2021-06-27T20:15:42Z] If I run env, KISS_ROOT is right there and I already have "export." [2021-06-27T20:26:12Z] Dilyn do you have experience with encrypting KISS [2021-06-27T20:26:23Z] illiliti knows more than me [2021-06-27T20:26:28Z] a couple of people have done it [2021-06-27T20:26:55Z] Alright, I've replace KISS_ROOT with KROOT in my script, and removed KISS_ROOT. [2021-06-27T20:27:12Z] With "my script" being ~/.profile. [2021-06-27T20:27:24Z] Ok. Am I right in assuming that I need to create the lvm on luks container, make sure kernel has lvm2 and dm-crypt, and use an initramfs (tiny-initramfs on GitHub) [2021-06-27T20:27:35Z] The basic steps [2021-06-27T20:36:38Z] yep, the first step is to make partitions on disk though [2021-06-27T20:39:01Z] Ok also what is your kiss-encryption and how is it different from taking tiny initramfs approach? [2021-06-27T20:39:35Z] Srry I have no idea how init systems work [2021-06-27T20:40:08Z] kiss-encryption is usually intended to mount encrypted /home and other non-root partitions [2021-06-27T20:44:54Z] tinyramfs mounts your encrypted / and boots into it by executing /sbin/init [2021-06-27T20:46:36Z] Ok so if I want to have both encrypted /home and / I would need both [2021-06-27T20:48:15Z] yes [2021-06-27T20:48:42Z] Thank you just wanted to make sure before installing all this ^^ [2021-06-27T20:49:12Z] kiss-encryption is also gracefully unloads your encrypted partitions on shutdown [2021-06-27T20:49:29Z] so you need to install it either way [2021-06-27T20:54:43Z] home on separate partition is usually redundant if you want simple setup [2021-06-27T20:55:13Z] i personally have everything on / [2021-06-27T20:55:22Z] and i don't use lvm [2021-06-27T20:57:42Z] https://termbin.com/nezb [2021-06-27T20:57:53Z] this is my setup [2021-06-27T20:58:15Z] sda1 is encrypted root [2021-06-27T20:58:37Z] crypt-.... is unlocked root [2021-06-27T20:59:47Z] Ok I will give that a try [2021-06-27T21:00:23Z] So you basically have this. https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#LUKS_on_a_partition [2021-06-27T21:02:22Z] yep [2021-06-27T21:03:13Z] i have /boot on usb flash drive [2021-06-27T21:04:38Z] i also use detached header to prevent detection of luks [2021-06-27T21:04:58Z] without header it's just garbage data [2021-06-27T21:05:23Z] just like plain dm-crypt [2021-06-27T21:05:37Z] but with luks features [2021-06-27T21:07:04Z] I know lvm needed a special linux lvm file type, but since I won't be using that I can just do ext4 for the partition right [2021-06-27T21:07:10Z] file system* [2021-06-27T21:07:18Z] err partition type [2021-06-27T21:08:18Z] yeah, i can directly format unlocked luks container using ext4 [2021-06-27T21:08:28Z] lvm is optional thing [2021-06-27T21:08:50Z] So, dilyn, if I set KISS_ROOT=/var/db/kiss/, does that mean I can just say KISS_PATH=main/core:main/xorg:etc? [2021-06-27T21:08:52Z] 8e00 hex code is for Linux LVM [2021-06-27T21:08:59Z] What would I use instead? [2021-06-27T21:09:15Z] Just 8300 Linux filesystem ? [2021-06-27T21:09:21Z] no, KISS_PATH is its own thing [2021-06-27T21:09:30Z] yes [2021-06-27T21:09:40Z] Well, what does KISS_ROOT do? [2021-06-27T21:10:20Z] KISS_ROOT sets ROOTFS to something other than / [2021-06-27T21:10:42Z] this is useful for something like installing a package to $HOME/.local, or for setting up a new ROOTFS for i.e. a chroot, an arch port, etc etc [2021-06-27T21:11:16Z] Okay, then. [2021-06-27T21:11:41Z] Btw, is it okay for KISS_PATH to start with :? [2021-06-27T21:12:16Z] yes [2021-06-27T21:12:36Z] Okay. [2021-06-27T21:12:47Z] KISS_PATH is split by the : so it'll just 'disappear' [2021-06-27T21:13:37Z] Well, I've coded the script to not add a first :, just to be extra safe. I was just curious. [2021-06-27T21:13:50Z] for sure [2021-06-27T21:46:32Z] Anybody know an alternative keyserver? keys.gnupg.net is not working for me [2021-06-27T21:47:19Z] http://pgp.mit.edu/ [2021-06-27T21:50:16Z] Did not work. Says key not found on keyserver [2021-06-27T21:50:27Z] bad public key [2021-06-27T21:51:11Z] And yes I triple checked to see the key was typed in correctly [2021-06-27T21:56:40Z] keyservers are always fuzzy [2021-06-27T21:56:43Z] are you trying to import my key? [2021-06-27T21:56:54Z] Yes [2021-06-27T21:57:09Z] Maybe I will just add it manually [2021-06-27T21:57:19Z] it's included in the README of the main repository so you can just save that code block to a file and import it from there [2021-06-27T21:57:26Z] assuming you trust the README lmao [2021-06-27T22:00:01Z] It worked thanks [2021-06-27T22:02:34Z] ofc! [2021-06-27T22:02:45Z] keyservers are... always unreliable. in my experience :( [2021-06-27T22:32:50Z] Do I need dosfstools if I have FAT32 boot partition on UEFI [2021-06-27T22:33:15Z] Or is that more for like other drives and stuff like that [2021-06-27T22:36:13Z] depends on what you want to do [2021-06-27T22:36:28Z] I have an EFI partition but don't have dosfstools installed, for instance. because I don't need to say create a FAT partition [2021-06-27T22:36:51Z] Ok ty [2021-06-27T22:36:51Z] the boot script will use dosfstools to do an fsck i blieve [2021-06-27T22:37:15Z] if you want to mount that partition, you'd need support for that filesystem in the kernel. if you want to create that filesystem, you'd need the utilities. basically, roughly, mostly [2021-06-27T22:37:25Z] yeah but it won't error if you don't have fsck [2021-06-27T22:37:33Z] well, it wont' exit at least [2021-06-27T22:38:02Z] Yeh I was wondering if it was needed for boot process, probably wont be creating partitions [2021-06-27T23:02:16Z] haha shasum for a 2gb source takes 17s . b3sum takes roughly 2s. Thats a nifty difference. [2021-06-27T23:04:34Z] I need iwlwifi and amdgpu firmware for my graphics card and wifi adapter. I cloned the linux-firmware, but which files do copy? Do I need to move the iwlwifi/amdgpus ending with .ucode? [2021-06-27T23:06:07Z] I see an amdgpu directory containing bin folders but no iwlwifi directory, just a bunch of iwlwifi files with extension ucode [2021-06-27T23:06:12Z] bin files* [2021-06-27T23:07:11Z] Guest68, Have a look for iwlwifi https://k1sslinux.org/wiki/kernel/thinkpad [2021-06-27T23:10:43Z] Qt is the absolute worst. http://ix.io/3rjN [2021-06-27T23:10:59Z] Ok so I am copying a ucode, but there are so many haha not sure which one to choose. I am not on a thinkpad [2021-06-27T23:13:44Z] dmesg is your friend ;) [2021-06-27T23:13:52Z] on a livecd [2021-06-27T23:14:33Z] You're right [2021-06-27T23:14:47Z] dilyn / konimex: did you every try building gcc from wyverkiss? [2021-06-27T23:15:24Z] Guest68, https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi [2021-06-27T23:16:00Z] Yes I got it already [2021-06-27T23:16:49Z] Do I need to worry about Intel microcode firmware? My CPU is an i7-3770k [2021-06-27T23:19:05Z] s/every/ever [2021-06-27T23:19:35Z] see: https://k1sslinux.org/wiki/kernel/firmware#2.2 [2021-06-27T23:19:39Z] Guest68 [2021-06-27T23:19:48Z] After being fustrated with inconsistencies in the community repository I made a script to check for things that don't fit the style guidelineshttps://github.com/AndreiSva/kiss-style [2021-06-27T23:20:23Z] it detects things like invisible characters, tabs, and inconsistent indentation [2021-06-27T23:20:44Z] also warns you if you use cp instead of install [2021-06-27T23:22:16Z] running this on all of the community repository returns so many errors lmao [2021-06-27T23:22:38Z] community is less well-vetted than the main repository haha [2021-06-27T23:22:44Z] GalaxyNova: instead of piping cat into head in that if statement, you can do "head -n1 $file" [2021-06-27T23:22:57Z] Guest68: microcode for CPUs is not technically required [2021-06-27T23:23:29Z] "Technically", but would you recommend it? I don't even know what it does [2021-06-27T23:24:24Z] It wont hurt. [2021-06-27T23:24:30Z] You can always do it later on. [2021-06-27T23:25:17Z] think of the microcode as patches and fixes to your CPU's firmware [2021-06-27T23:25:23Z] fixes up microcontroller bugs etc [2021-06-27T23:25:44Z] so it's good to have if you, say, don't want some sort of WhateverCVE to sneak up on you [2021-06-27T23:25:53Z] but it isn't needed like how amdgpu firmwares are needed [2021-06-27T23:29:49Z] Do the amdgpu bin files need to go in a separate directory or can I just put them in /usr/lib/firmware/ with the iwlwifi [2021-06-27T23:30:08Z] polaris10_{ce,ce_2,k_smc,k2_smc,k_mc,mc,me,me_2,mec2,mec2_2,mec,mec_2,pfp,pfp_2,rlc,sdma1,sdma,smc,smc_sk,uvd,vce}.bin [2021-06-27T23:31:25Z] I put all mine in /usr/lib/firmware/amdgpu and iirc it *has* be be in a subdir named amdgpu? [2021-06-27T23:31:41Z] someone was having problems before with it and I think that was, somehow, the solution... [2021-06-27T23:32:39Z] GalaxyNova: https://github.com/AndreiSva/kiss-style/blob/main/kiss-style#L51 << -T is not portable [2021-06-27T23:33:28Z] GalaxyNova: https://github.com/AndreiSva/kiss-style/blob/main/kiss-style#L70 << -P is not portable [2021-06-27T23:34:16Z] https://github.com/AndreiSva/kiss-style/blob/main/kiss-style#L72 << [ ... -a ... ] is XSI, not POSIX [2021-06-27T23:35:28Z] https://github.com/AndreiSva/kiss-style/blob/main/kiss-style#L80 << case $... in ($...) is not portable [2021-06-27T23:35:51Z] use `case $... in 123)` [2021-06-27T23:37:19Z] https://github.com/AndreiSva/kiss-style/blob/main/kiss-style#L88 << if [ "${#line}" -gt 80 ]; then ... [2021-06-27T23:38:04Z] GalaxyNova: just run shellcheck on it [2021-06-27T23:38:21Z] illiliti: That's odd [2021-06-27T23:38:32Z] shellcheck didn't say anything about -P not being portable [2021-06-27T23:38:43Z] does it not work on busybox? [2021-06-27T23:38:47Z] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html [2021-06-27T23:39:10Z] there's no -P [2021-06-27T23:39:14Z] alright then how am i supposed to grep a tab character [2021-06-27T23:40:00Z] you could insert a literal tab character [2021-06-27T23:40:32Z] ^ [2021-06-27T23:42:16Z] i also suggest to use `printf '%s\n' "$var"` instead of echo or printf "$var" [2021-06-27T23:42:28Z] why's that [2021-06-27T23:43:31Z] $var may break echo if contains options -Een [2021-06-27T23:43:45Z] and echo is deprecated by POSIX due to this [2021-06-27T23:43:56Z] printf "$var" is generally bad [2021-06-27T23:44:46Z] also instead of going line by line to check for "cp ", you can just use 'grep "cp " $file' to do the whole file at once