00:19:16 Hello, all. 00:22:04 <_xor> Any suggestions on a glob (or regex) pattern that can be used to match an exact package name, WITHOUT the version (so that it matches all versions), while also excluding similarly named packages but different packages? For example... 00:22:31 <_xor> cups-2.4.2_1.pkg cups-filters-1.28.16_4.pkg cups-pdf-3.0.1_2.pkg 00:23:03 <_xor> Glob pattern that matches cups-*.pkg but NOT cups-filters-*.pkg, etc. 00:24:08 <_xor> I guess I could figure out a regex to match only characters that will appear in the version (e.g. :digit:|\.|_) 00:24:27 <_xor> But not sure what exactly is valid and what will never appear in the version part of the full name. 00:31:09 going to finally install freebsd tomorrow, prob as a dualboot with windows 10 for ai stuff and any modern games i might want to get into 00:34:56 _xor: version can include more than that 00:35:11 e.g. make -v PORTVERSION -C /usr/ports/misc/zoneinfo/ 00:35:51 <_xor> Yeah, I didn't want to assume :/ 00:36:09 what is the problem you are trying to solve? 00:37:42 <_xor> Not really a major/immediate problem, but basically I'm making my poudriere environment as portable as possible. It's mostly there. The reason for the pkg glob is... 00:39:05 can't you get the package name from the package itself? 00:39:05 <_xor> In pkgbuild hook for poudriere, when it gets a success event, I'm uploading the built package (*.pkg) to my central file server which holds my internal pkg repos. 00:39:48 should i go with my freebsed/w10 dual boot idea or not? im really interested on freebsd since ive been noticing some inconvenients with linux, but cant fully move my workload away (even with virtual machines) because i do ai stuff 00:39:51 <_xor> Part of that means that I need to delete any previous versions of the package, otherwise pkg on the clients complains about duplicate dependencies. 00:40:10 technically i would be better off using linux as the other os, but setting up xformers in devuan has turned out to be a pain for me 00:40:27 pkg query --file /var/cache/pkg/zsh-5.9_1.pkg %n --> zsh 00:40:41 <_xor> Yeah, that would be ideal, but from what I was in the docs, it only passes in the package prefix, not the full name sans version. 00:40:46 <_xor> *saw 00:40:58 <_xor> oh, hmm. good point. 00:41:11 <_xor> wait no 00:41:30 <_xor> Are there other packages that would match zsh*? 00:41:56 <_xor> Problem is not being able to accurately restrict it to just the package name, where a prefix match can include more. 00:43:14 why a prefix? compare both name and origin 00:47:16 <_xor> Oh that's going to be kind of annoying heh. That means that I'll have run remote ssh commands to read the origins. 00:48:44 <_xor> The hook does get both the origin and the package name, so that's at least something. I can do an initial prefix match to reduce the candidate packages down to a handful, and then iterate over those candidates to match the origin and exclude any from the last that don't match. Then delete the matches. 00:49:16 <_xor> Wait, can pkg-query take multiple files at once? 00:49:28 there's also pkg version --test-version to properly compare versions 00:50:04 <_xor> Oh nice, didn't know about that one. 00:56:53 it would be nice if pkg clean was extended to do what you want 00:57:34 actually, try setting PKG_CONFIG_CACHEDIR to your repo? 01:13:12 Couldn't join this channel from Matrix (getting err_needreggednick). Is that intentional? 01:18:54 cydox: yes, the channel is +r 01:19:24 cydox: you'll have to figure out how to identify to libera's NickServ from matrix first. 01:19:36 Ok, thanks! 01:32:06 Got it working. 02:11:43 <_xor> yuripv: Does that just allow you to change the default from /var/cache/pkg to something else? 02:11:43 <_xor> yuripv: Does that just allow you to change the default from /var/cache/pkg to something else? 02:11:50 <_xor> The the heck. That was weird. 02:41:10 <_xor> For gpart bootcode -p, can it take the full device name or does it require -i? 05:36:02 hi, in linux fstab there is "nofail" option. It means that at boot time this mount is allowed to fail, if it fails the boot continues as normally. Is there an equivalent in freebsd? 05:43:49 I think that is already the default in FreeBSD (and most other Unix-like systems). It's only systemd that fails. 06:25:46 rwp: I tried, if the mount fails the boot is supended and it enters single user mode (it asks the shell you want to use) 06:32:51 gustft, rwp: https://man.freebsd.org/fstab(5) "failok" 06:32:52 Title: fstab(5) 06:34:27 thank you meena 06:40:29 gustft: depending on why it's falling, you can add "late" or just "noauto" to fstab 06:49:00 Is there any sense in disabling fsck check for EFI partition (ESP)? Also, how would|should I proceed in case of need to fsck the ESP? 07:06:45 meena, Thank you for that reference to failok. 08:12:06 a useful trick I discovered recently is that you can use "noauto" in fstab, and then run automountd with a "noauto" map. 08:42:20 RhodiumToad: neat! 08:45:04 only snag is that it doesn't play nice with also using a -media map and automount -c from devfs. 08:45:09 er, devd.conf 08:46:16 (automount -c tries to flush every autofs mount, but that's not the right thing to do for direct maps like noauto, since it ends up clearing the "automounted" flag (and other flags too) from the real mount) 08:46:26 RhodiumToad: no need to remember the difference between devd and devfs much longer… 08:46:50 ? 08:51:41 RhodiumToad: never mind, i got overly excited, and… wrong. 08:51:47 it's: merge devmatch and devd (lib-ification) 11:14:23 hrm… i need to pass some "kernel options" on boot… and it's not working 11:14:59 how did you try? 11:17:06 escape to boot prompt, and do: boot kernel -ccloud-init=disabled (-c is supposedly ignored: but somehow it then fails to find the root partition properly 11:17:15 either way, once it boots, kernel_options is empty 11:22:42 just boot -cwhatever? 11:23:58 "Any flags or arguments are passed to the kernel, but they must precede the kernel name, if a kernel name is provided." 11:24:10 so sayeth the manual, if you can believe that 11:25:10 help boot shows: boot [] [- ...] 11:25:26 and the help text doesn't say anything that would contradict that 11:26:04 * RhodiumToad wonders where kernel flags are documented these days 11:29:28 meena: set kernel_options="foo" from loader prompt? 11:29:39 oooh neat idea 11:30:22 the code seems pretty clear that if you pass more than one arg to boot, and the first arg doesn't start with -, then no options are processed 11:30:27 yuripv: success! 11:31:01 now, back to the acutal task 11:31:11 now back to trying to remember what the actual task was 11:31:50 also, "-c this flag is currently a no-op." 11:32:00 (from boot(8)) 11:33:59 yuripv: so i thought i could smuggle stuff in there, but it doesn't work with boot, which actually tries to parse the options 11:34:38 yep, options for boot are documented in boot(8), i don't think they are passed through to kernel 11:35:35 yuripv: according to "help boot" they are 11:35:43 but I'm not sure i believe that any more 11:37:05 boot -v and boot -s certainly still work 12:21:10 ¨/10 12:21:12 doh 13:15:59 it would be nice to know if service foo stop failed because it failed to stop the service, or because the service isn't running 13:17:31 check the service state after? 13:18:34 meena: what's the exit code of it? 13:18:46 debdrup: 1 13:18:58 yeah, that's not 0 13:19:11 wow, what an inane statement.. 13:19:27 anyway, it is telling you that it failed by the exit code being 1 13:20:14 i know that bit, but I don't know why it failed 13:20:56 that's different from what you said first :) 13:21:15 it's also something that's not entirely easy to do without the solaris fault management framework or an equivalent of it 13:22:26 i dunno, service foo stop could return 2 or 0 if the service is already stopped 13:41:13 meena: thanks, those unsupported features don't matter to me, basically as long as ethernet and usb works I'm golden. 13:56:16 You know. . . unicode support in your IRC client is a double-edged sword. 14:53:25 CrtxReavr: ⚔️ 18:47:07 Hi 18:47:17 evenin'