jaeger changed the topic of #crux-arm to: CRUX-ARM 3.6 Released! - http://crux-arm.nu/Documentation/ReleaseNotes3-6 | Logs: https://libera.irclog.whitequark.org/crux-arm/
<jaeger> Another thing I just noticed... the devices .mk files include core in the list of collections but there's no ports-core repo at github.com/crux-arm
<jaeger> er, crux-ports-core repo
<jaeger> Never mind, I see now the CRUX_ARM_GIT_PREFIX vs. CRUX_GIT_PREFIX
<jaeger> My brain's all over the place tonight, long day :P Going to leave this alone until tomorrow
<pitillo> yeah, time to rest xD
<pitillo> updated one with correct config files and procps updated to 4.0.2 to fix ps u problems
<beerman> Cool, will try it out tomorrow i guess, still away from home for work here
crux-arm-bot has joined #crux-arm
<crux-arm-bot> [ crux-ports-opt-arm64 ]: go: update to 1.19.4
crux-arm-bot has left #crux-arm [#crux-arm]
<jaeger> Got a little farther this time but I think docker prevents the bind mount of /dev, will need to look into if there's a flag/permission for that
<jaeger> [2022-12-08 05:55:38] Mounting /dev on /root/crux-arm-release/rootfs-stage1/dev
<jaeger> mount: /root/crux-arm-release/rootfs-stage1/dev: permission denied.
<pitillo> we saw that sometime ago
<pitillo> have you launched the container with docker run --cap-add SYS_ADMI ?
<jaeger> Probably not, I forgot about it
<pitillo> SYS_ADMIN
<jaeger> I'll add that when I get back, have to go for now
<pitillo> great
crux-arm-bot has joined #crux-arm
<crux-arm-bot> [ crux-ports-opt-arm64 ]: docker-compose: updated to 2.14.0
crux-arm-bot has left #crux-arm [#crux-arm]
<jaeger> OK, made a new container with SYS_ADMIN cap, trying again
<jaeger> And back to curl not found, heh
<pitillo> verify that you have all sources downloaded (I can't check the target to build atm)
frinnst has quit [Ping timeout: 252 seconds]
<jaeger> As far as I cna see there were no download errors
<jaeger> I think I'm too stupid to operate this
<jaeger> (build) c711bd5ce4e0 ~/crux-arm-release # grep prtdir prt-get.conf
<jaeger> prtdir /workspace/ports/core-arm
<jaeger> prtdir /workspace/ports/core
<jaeger> This also seems wrong, no core-arm64 or raspberrypi4
<jaeger> OK, so this seems to be a case where the DEVICE_OPTIMIZATION is ignored if supplied on the CLI rather than directly in the Makefile
<jaeger> if I change it in the Makefile the prt-get.conf is correct
<jaeger> I don't understand what's causing that, I cannot duplicate it with a test Makefile
<jaeger> I made a quick test target to print out DEVICE_OPTIMIZATION, COLLECTIONS, and CFLAGS:
<jaeger> bash-5.1# make wtf
<jaeger> arm
<jaeger> core-arm core
<jaeger> -O2 -pipe -mfloat-abi=hard
<jaeger> bash-5.1# make wtf DEVICE_OPTIMIZATION=raspberrypi4
<jaeger> raspberrypi4
<jaeger> raspberrypi4-arm64 core-arm64 core
<jaeger> -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -fomit-frame-pointer
<jaeger> It works like I'd expect
frinnst has joined #crux-arm
frinnst has quit [Ping timeout: 252 seconds]
<pitillo> sepen added a comment to the issue related to that. There is a missing export on the Makefile
<pitillo> the prt-get.conf problem is expected. I need to fix it removing /workspace/ and then make a touch on rootfs-stage1 directory
<pitillo> next make stage1 will enter the jail again without problems
<pitillo> checking the error it seems that the download sources before entering stage1 wasn't executed correctly
<jaeger> yeah, because prt-get couldn't find them in this case, it seems
<jaeger> Because only core-arm and core were in the prt-get.conf before, now it's getting further along
frinnst has joined #crux-arm
<pitillo> great, if the opti collection dissapeared, the var wasn't used. Good to know it'sbgoing on
<jaeger> Yeah
<jaeger> ok, seems I have a finished bootstrap finally
<jaeger> release fails as it wants to copy pkgmk.conf from raspberrypi4/pkgutils but raspberrypi4/pkgutils uses a patch for pkgmk.conf rather than supplying the whole file. That could easily be changed, though.
<jaeger> Looks like raspberrypi3 would also have the same issue
<jaeger> For now I've copied pkgmk.conf into place manually. Uploaded the rootfs to https://crux.ninja/tmp/crux-arm-3.7-aarch64-raspberrypi4.rootfs.tar.xz