ranix — Rasi's Unix-like kernel
  • C 95.5%
  • Shell 2.1%
  • Makefile 1.3%
  • Assembly 0.8%
  • Linker Script 0.2%
  • Diğer 0.1%
Dosyaya git
RasifoX a7e9b0dcf8 pkg: pacman -S install over file:// repo
The local repo db synthesized by arch-repo-add.py recorded %ISIZE% as the
sum of every regular file in the package, including the .BUILDINFO and .MTREE
metadata members. libalpm validates a synced package by summing the install
sizes from its .MTREE (installed files only) and comparing against the db's
%ISIZE%; the over-counted db value never matched, so libalpm rejected every
package as "invalid or corrupted" — even though the on-disk file:// copy was
byte-for-byte identical to the source (verified) and `pacman -U` of the same
file installed cleanly (it skips the sync install-size cross-check).

For tree: db recorded 102564, libalpm computed 96252 (89384 binary + 6868
man page); the 6312-byte gap was exactly .BUILDINFO + .PKGINFO + .MTREE.
Exclude the .PKGINFO/.BUILDINFO/.MTREE metadata files from the isize sum so
the db matches libalpm's mtree-derived size. Also fix the .PKGINFO match to
strip a leading "./" prefix rather than misusing lstrip (which would also
eat the leading dot of dotfiles).

Flip the pacman-sync test SKIP -> a real PASS check.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 18:16:02 +03:00
.vscode initial working kernel: aarch64 + x86_64, HAL, basic scheduler 2026-04-17 04:42:49 +03:00
arch x86: set CR0.WP so kernel writes honour COW page protection 2026-06-07 06:57:41 +03:00
docs docs: page cache (address_space + filemap) design 2026-06-06 13:16:56 +03:00
doomgeneric ns: add UTS namespace (unshare CLONE_NEWUTS) 2026-06-01 14:02:10 +03:00
drivers uaccess: funnel tty/signal/ptrace/exec/evdev user access through accessors 2026-06-06 14:45:40 +03:00
include pkg: pacman -U an Arch Linux package on Ranix 2026-06-07 16:25:13 +03:00
kernel tmpfs/ramfs: mark inodes fs-owned so the VFS never frees them 2026-06-07 17:28:09 +03:00
pi4-dist fs: mknod(2) device nodes (char/block) route to devfs driver 2026-06-03 11:01:35 +03:00
pi4-sd ns: add UTS namespace (unshare CLONE_NEWUTS) 2026-06-01 14:02:10 +03:00
rpi-boot ns: add UTS namespace (unshare CLONE_NEWUTS) 2026-06-01 14:02:10 +03:00
scripts pkg: pacman -S install over file:// repo 2026-06-07 18:16:02 +03:00
tests pkg: pacman -S install over file:// repo 2026-06-07 18:16:02 +03:00
userspace test_devnodes: drain /dev/kmsg incrementally to find the marker 2026-06-07 17:28:16 +03:00
vdso vdso: cover the ELF header in the PT_LOAD so glibc's AT_SYSINFO_EHDR parse lands 2026-06-06 16:17:09 +03:00
.gitignore build: Kconfig-style config system + centralize tunables 2026-06-04 18:52:20 +03:00
defconfig smp: add cpumask_t bitmap type (NR_CPUS bits) 2026-06-06 03:39:02 +03:00
Kconfig smp: add cpumask_t bitmap type (NR_CPUS bits) 2026-06-06 03:39:02 +03:00
Makefile pkg: pacman -U an Arch Linux package on Ranix 2026-06-07 16:25:13 +03:00
qemu-virt.dtb ns: add UTS namespace (unshare CLONE_NEWUTS) 2026-06-01 14:02:10 +03:00
roadmap.md roadmap: add v0.17.4 kernel stability & memory safety 2026-05-19 00:54:29 +03:00
roadmap1.md sched: make blocking syscalls interruptible by signals (EINTR) 2026-06-06 22:48:17 +03:00
tinyconfig smp: add cpumask_t bitmap type (NR_CPUS bits) 2026-06-06 03:39:02 +03:00