Installer: install from the USB, no internet needed
KrissOS: a Linux distribution by Kraze Tech, proudly Malaysian
Brought to you by:
krazetech
Originally created by: idiazraz
The installer no longer needs the internet. Before, welcome.conf required it because installer/lib/pacstrap downloaded every package during the install. Now everything installs from the USB, and being online only adds extras.
unpackfs copies the mounted live image (/run/archiso/airootfs, also there with copytoram) to the disk, replacing pacstrap.installer/lib/unlive (runs before the users step):sudoers.d/live, archiso.conf, pacman-init + the gnupg tmpfs, volatile journald, do-not-suspend, the gpt-auto mask, the display-manager link and the boot-installer autostart/boot (mkarchiso empties it) and sets up the pacman keyringcalamares, kriss-installer, mkinitcpio-archiso, syslinux and memtestconfigure then builds the initramfs, Limine, snapper and Windows detection as beforelimine snapper snap-pac zram-generator bluez-utils flatpak kriss-welcome, plus rsync for unpackfs (a dependency of kriss-installer).nvidia-open-dkms nvidia-utils dkms and the kernel's headers are on the ISO; build.sh swaps linux-headers along with the kernel. The live session uses the driver on Turing+.nvidia-utils blacklists it.installer/lib/nvidia finds no Turing+ card, unlive removes the driver. I chose removing over leaving it unloaded: if it stayed, nvidia-utils would still blacklist nouveau (so pre-Turing cards would lose their driver) and DKMS would rebuild it on every kernel update.installer/lib/online:curl, then runs pacman -Syu. On x86-64-v3 CPUs it also swaps the kernel for linux-kriss (+ headers if NVIDIA stayed).configure now chooses greetd or sddm from whether plasma-desktop actually got installed, not from the picker.welcome.conf: internet stays in check and is removed from required.iso/build.sh no longer copies the local [kriss] repo into the image as /opt/kriss-local. Only pacstrap used it, and the image now is the branch's packages.-nic none for both the scripted install and the installed boot.autoinstall does what unpackfs does (rsync of the live image), then unlive, online (which must report offline) and configure. It checks that the DKMS NVIDIA module was built into the image, that the driver, Calamares and the live user are gone, and that the disk boots through Limine to the KrissOS Shell greeter.vulkan-intel vulkan-radeon vulkan-nouveau intel-media-driver wireless-regdb. Mesa already provides the VA-API driver. lib32- variants are left out because multilib is enabled only on the installed system.-Syu, Plasma) and the Calamares GUI run of unpackfs. The scripted test uses the same source path.nvidia-utils: 337 MB (1 GB installed)linux-headers: 69 MBgcc for DKMS: 57 MBnvidia-open-dkms: 13 MBintel-media-driver, wireless-regdb, flatpak, snapper, limine, kriss-welcome./opt/kriss-local saved a little.iso.yml:sha256sums.txt and the .sig files, and log a ::notice:: saying the ISO is too big for a GitHub release asset. The main/preview build no longer fails on size.krissos-iso workflow artifact.preview release has no ISO, so the current Download link breaks after this merges.iso/install-test.sh and iso/test/autoinstall. My hunks are on different lines: the qemu array and the header comment / the pacstrap step. [#28] expects linux-kriss* kernel entries, but offline the installed kernel is the ISO's (linux today).iso/build.sh: I dropped the /opt/kriss-local copy and widened the kernel sed.ARCHITECTURE.md; my changes are only in the installer section.linux-kriss-generic, legacy BIOS install.