Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
ee7c917
Boot the live session on Wayland only
bigbruno Nov 25, 2026
dc37528
Open the live terminal entries in Konsole
bigbruno Nov 25, 2026
bef03b7
Require the biglinux-livecd that starts boot modes on Wayland
bigbruno Nov 25, 2026
9ebe05f
Revise the live boot menu for current hardware
bigbruno Nov 26, 2026
f3c48c6
Require the biglinux-livecd that drops live-only boot parameters
bigbruno Nov 26, 2026
0c1e4da
Graft Manjaro's Graphics section, which replaced the Xorg ones
bigbruno Nov 26, 2026
ed8a5e4
new profile
github-actions[bot] Nov 26, 2026
91e0d13
Use the sddm package's own PAM file
bigbruno Nov 28, 2026
9073966
Create loop device nodes past the ones the host has
bigbruno Nov 28, 2026
8978443
Shrink the live initrd: no DRM or PXE hooks, zstd
bigbruno Nov 28, 2026
192a9e6
Run local builds on docker or root podman, with work volumes
bigbruno Nov 28, 2026
9b01f1e
Keep live sessions on a filesystem labelled vtoycow
bigbruno Nov 28, 2026
20899a3
Drop wacomtablet and kgamma from the KDE desktop
bigbruno Nov 28, 2026
96e5260
Update the report renderer to fpdf2 2.8.8 and Pillow 13.0.0
bigbruno Nov 28, 2026
015becf
new profile
github-actions[bot] Nov 28, 2026
f1c3aaa
Keep the Wayland-only changes to BigLinux KDE
bigbruno Nov 28, 2026
115fa6d
Start the live session without persistence unless asked
bigbruno Nov 28, 2026
714901a
new profile
github-actions[bot] Nov 28, 2026
6f57479
Leave the XivaStudio package list to its edition
bigbruno Nov 28, 2026
71244bc
new profile
github-actions[bot] Nov 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ sources/
│ └── overlays/root/ desktop/ live/ files shipped as-is
└── editions/
├── kde/ Desktop-add + special-commands.sh
│ └── overlays/root/ live/ KDE's own files, copied by special-commands.sh
└── xivastudio/ same, plus its own trims
```

Expand Down Expand Up @@ -225,10 +226,10 @@ There is always one. `Packages-Desktop` has no Manjaro base of its own, so
`Desktop-add` is **written over it** rather than appended to it.

That is not the whole story either: `editions/kde/special-commands.sh` then
grafts four sections copied verbatim out of Manjaro's own KDE profile —
`## Printing`, `## Xorg Server and Graphics`, `## Xorg Input Drivers` and
`## Misc`. Which means `xorg-server` and the entire printing stack are *not* in
`Desktop-add`, they arrive from upstream.
grafts three sections copied verbatim out of Manjaro's own KDE profile —
`## Printing`, `## Graphics` and `## Misc`. Which means the VA-API drivers and
`mesa-utils` are *not* in `Desktop-add`, they arrive from upstream; `xorg-server`
comes in as a dependency of `sddm`.

So before you conclude "this package is missing" and add it: look in
`special-commands.sh` first. It is probably already there, twice.
Expand All @@ -250,6 +251,7 @@ Paths relative to `sources/`.
| Change a driver package | `common/Mhwd-add` / `common/Mhwd-remove` |
| Ship a file in the installed system | `common/overlays/root/` |
| Ship a file only in the live session | `common/overlays/live/` |
| Ship a file in KDE only | `editions/kde/overlays/root/` (or `live/`) |
| Add an edition | new dir in `editions/` with `Desktop-add`, then list it in `editions` in the workflow |

Then: push → wait for the bot commit → build an ISO. In that order.
Expand Down
16 changes: 1 addition & 15 deletions biglinux/kde/Packages-Desktop
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ kfind
kdialog
pavucontrol-qt
kscreen
wacomtablet
plasma-thunderbolt
kio-gdrive
mintstick
Expand Down Expand Up @@ -66,7 +65,6 @@ plasma-keyboard
bluedevil
kde-gtk-config
kdeplasma-addons
kgamma
kinfocenter
kmenuedit
kscreenlocker
Expand Down Expand Up @@ -143,25 +141,13 @@ flatpak-kcm # ou flatseal
## Printing
>extra manjaro-printer

## Xorg Server and Graphics
## Graphics
>multilib lib32-libva-intel-driver
>multilib lib32-libva-mesa-driver
libva-intel-driver
libva-mesa-driver
mesa-utils
>multilib lib32-mesa-utils
numlockx
xdg-user-dirs
xorg-server
xorg-twm
xorg-xinit
xorg-xkill
xorg-mkfontscale

## Xorg Input Drivers
xf86-input-elographics
xf86-input-evdev
xf86-input-libinput

## Misc

2 changes: 1 addition & 1 deletion biglinux/kde/Packages-Live
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ testdisk
timeshift
calamares
calamares-biglinux
biglinux-livecd>=26.10.19-0000
biglinux-livecd>=26.11.25-2022
biglinux-grub-restore
memtest86+
memtest86+-efi
Expand Down
41 changes: 1 addition & 40 deletions biglinux/kde/live-overlay/etc/sddm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Relogin=true

# Name of session file for autologin session (if empty try last logged in)
Session=livecd.desktop
Session=livecdWayland.desktop

# Username for autologin session
User=biglinux
Expand Down Expand Up @@ -78,42 +78,3 @@ SessionDir=/usr/share/wayland-sessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/wayland-session.log

[X11]
# Path to a script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

# Path to a script to execute when stopping the display server
DisplayStopCommand=/usr/share/sddm/scripts/Xstop

# Enable Qt's automatic high-DPI scaling
EnableHiDPI=true

# The lowest virtual terminal number that will be used.
MinimumVT=1

# Arguments passed to the X server invocation
ServerArguments=-nolisten tcp

# Path to X server binary
ServerPath=/usr/bin/Xbig

# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/Xsession

# Directory containing available X sessions
SessionDir=/usr/share/xsessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/xorg-session.log

# Path to the Xauthority file
UserAuthFile=.Xauthority

# Path to xauth binary
XauthPath=/usr/bin/xauth

# Path to Xephyr binary
XephyrPath=/usr/bin/Xephyr


6 changes: 6 additions & 0 deletions biglinux/kde/live-overlay/usr/share/grub/cfg/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ function boot_defaults {
}

function grub_reboot {
if is_efi; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry --class=efi "UEFI firmware settings (BIOS setup)" {fwsetup}
fi
fi
menuentry --class=reboot "Restart computer" {reboot}
}

Expand Down
632 changes: 44 additions & 588 deletions biglinux/kde/live-overlay/usr/share/grub/cfg/kernels.cfg

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions biglinux/kde/root-overlay/etc/pam.d/sddm

This file was deleted.

37 changes: 0 additions & 37 deletions biglinux/kde/root-overlay/etc/sddm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,40 +67,3 @@ SessionDir=/usr/share/wayland-sessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/wayland-session.log

[X11]
# Path to a script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

# Path to a script to execute when stopping the display server
DisplayStopCommand=/usr/share/sddm/scripts/Xstop

# Enable Qt's automatic high-DPI scaling
EnableHiDPI=true

# The lowest virtual terminal number that will be used.
MinimumVT=1

# Arguments passed to the X server invocation
ServerArguments=-nolisten tcp -dpi 96

# Path to X server binary
ServerPath=/usr/bin/Xbig

# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/Xsession

# Directory containing available X sessions
SessionDir=/usr/share/xsessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/xorg-session.log

# Path to the Xauthority file
UserAuthFile=.Xauthority

# Path to xauth binary
XauthPath=/usr/bin/xauth

# Path to Xephyr binary
XephyrPath=/usr/bin/Xephyr
16 changes: 1 addition & 15 deletions biglinux/xivastudio/Packages-Desktop
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ kfind
kdialog
pavucontrol-qt
kscreen
wacomtablet
plasma-thunderbolt
kio-gdrive
mintstick
Expand Down Expand Up @@ -76,7 +75,6 @@ plasma-keyboard
bluedevil
kde-gtk-config
kdeplasma-addons
kgamma
kinfocenter
kmenuedit
kscreenlocker
Expand Down Expand Up @@ -153,25 +151,13 @@ flatpak-kcm # ou flatseal
## Printing
>extra manjaro-printer

## Xorg Server and Graphics
## Graphics
>multilib lib32-libva-intel-driver
>multilib lib32-libva-mesa-driver
libva-intel-driver
libva-mesa-driver
mesa-utils
>multilib lib32-mesa-utils
numlockx
xdg-user-dirs
xorg-server
xorg-twm
xorg-xinit
xorg-xkill
xorg-mkfontscale

## Xorg Input Drivers
xf86-input-elographics
xf86-input-evdev
xf86-input-libinput

## Misc

48 changes: 46 additions & 2 deletions build-iso/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ mystery divergence to debug at 2 a.m.

### 1. On your machine

Needs `podman` or `docker`. Nothing is installed on your system — the build
Needs `docker`, or `podman` run as root (`sudo`): rootless podman cannot mount
the chroots. Nothing is installed on your system — the build
happens inside the official container.

From a clone of this repository — yours or upstream's, the commands are the same:
Expand Down Expand Up @@ -109,7 +110,7 @@ Stage by stage, in the order `main()` runs them:
| `resolve_kernel` | turns `lts` / `latest` / `xanmod` into a real package name (`linux612`, `linux-xanmod`) | the profiles carry the placeholder `KERNEL`, not a version, so a kernel bump needs no commit |
| `prepare_host` | installs the build tools and keyrings, creates loop devices, writes `manjaro-tools.conf` | the container is disposable and ships none of this |
| `configure_build_repos` | adds the BigLinux repositories to the *build* pacman config, drops the profile's `user-repos.conf`, sets the compression | the chroots must be able to install our packages, not only Manjaro's — from one list, since manjaro-tools concatenates the profile's onto this one and pacman rejects the repeats |
| `patch_manjaro_tools` | edits `util-iso.sh` / `util-iso-image.sh`: profile path, volume label, kernel check, image cleanups, live-user fix | none of these have a configuration knob upstream |
| `patch_manjaro_tools` | edits `util-iso.sh` / `util-iso-image.sh`: profile path, volume label, kernel check, image cleanups, live-user fix; applies `miso-persistence.patch` to the live hook | none of these have a configuration knob upstream |
| `configure_profile` | rewrites the *profile* in place: branch mirrors, volume label, `KERNEL` placeholders, `/etc/big-release` | the profile in git is branch-agnostic; the build makes it concrete |
| `run_build` | `buildiso -p <edition> -b <branch> -k <kernel>` | the actual four hours |
| `collect_output` | writes the **published** ISO name, moves it and its `.pkgs` into `WORK_PATH` | every publisher ships the file under this name; see *The published name* below |
Expand Down Expand Up @@ -144,6 +145,49 @@ unbootable ISO.

---

## Persistent live sessions

`miso-persistence.patch` keeps the live session on the filesystem named by
`cow_label` on the kernel command line. A plain boot uses none, even with such a
filesystem attached. Ventoy passes `cow_label=vtoycow` only when its persistence
menu selects a backend file; a partition takes `cow_label=<its label>` typed at
the boot menu.

| Path in the filesystem | Holds | Lifetime |
|:---|:---|:---|
| `@home` | `/home`; a user's home the image holds is copied in when missing | shared by every ISO |
| `@sys/<ISO UUID>/<arch>` | the overlay `upper` and `work` directories | one per ISO build |

When the system layer is persistent, the hook writes it to
`/run/miso/cow_directory`. The live setup wizard reads it to offer removing the
layers other builds left.

`persist=home` on the kernel command line keeps only the home, with the system
in RAM. btrfs is mounted with `compress-force=zstd:5`. A filesystem that is
missing, does not mount or cannot hold an overlay layer (read-only, FAT,
NTFS) leaves the session in RAM.

On Ventoy, one backend serves every ISO. `autosel` 0 starts without
persistence unless the backend is picked within the three-second `timeout`:

```json
{
"persistence": [
{
"image": "/biglinux_2026-10-03_k618.iso",
"backend": "/persistence/biglinux.dat",
"autosel": 0,
"timeout": 3
}
]
}
```

Write the backend file in full (not sparse), then create the filesystem with the
label `vtoycow` and, on btrfs, the subvolumes `@home` and `@sys`.

---

## The environment contract

`build-iso.sh` runs **as root inside the build container**
Expand Down
28 changes: 23 additions & 5 deletions build-iso/build-iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ prepare_host() {
archiso btrfs-progs calamares calamares-tools cdrkit \
manjaro-tools-base-git manjaro-tools-iso-git \
manjaro-tools-pkg-git manjaro-tools-yaml-git \
mkinitcpio mktorrent squashfs-tools
mkinitcpio mktorrent patch squashfs-tools

msg "Installing the pacman keyrings"
rm -rf /tmp/biglinux-key
Expand All @@ -336,8 +336,13 @@ prepare_host() {
# Loop and optical device nodes needed by mksquashfs/xorriso. A container
# image ships no device nodes, and every one of these may already exist
# when the runner passes the host's /dev through -- hence `|| true`.
# losetup takes the first free loop device, which on a host whose loop
# devices are all busy is one created during the build: nodes go past the
# ones the host has, with room for the few the build holds at once.
mknod -m 660 /dev/sr0 b 11 0 2>/dev/null || true
for i in $(seq 0 7); do
local host_loops
host_loops=$(find /sys/class/block -maxdepth 1 -name 'loop[0-9]*' | wc -l)
for i in $(seq 0 $((host_loops + 7))); do
mknod -m 660 "/dev/loop$i" b 7 "$i" 2>/dev/null || true
done
mknod -m 660 /dev/loop-control c 10 237 2>/dev/null || true
Expand Down Expand Up @@ -604,15 +609,28 @@ patch_manjaro_tools() {
sed -i "s/iso_label=.*/iso_label=${VOL_ID}/" "$iso"
assert_present "iso_label=${VOL_ID}" "$iso"

# Enable plymouth and kms in the live initrd.
sed -i 's/keyboard keymap/keyboard keymap kms plymouth/g' /usr/share/manjaro-tools/mkinitcpio.conf
assert_present 'kms plymouth' /usr/share/manjaro-tools/mkinitcpio.conf
# Live initrd: plymouth draws on the firmware framebuffer (simpledrm), and
# the GPU drivers load from the root image. GRUB reads the initrd through
# the firmware, slowly on USB sticks: kms and miso_kms add every DRM driver
# and their firmware (nouveau alone brings 108 MB), and the PXE hooks every
# network driver, for boot modes the menu does not offer.
# zstd -19 is 2 MB larger than xz -9 and unpacks eight times faster.
sed -i -e 's/^HOOKS=.*/HOOKS=(base udev miso_shutdown miso miso_loop_mnt modconf block filesystems keyboard keymap plymouth)/' \
-e 's/^COMPRESSION=.*/COMPRESSION="zstd"\nCOMPRESSION_OPTIONS=(-19)/' \
/usr/share/manjaro-tools/mkinitcpio.conf
assert_present 'keymap plymouth)' /usr/share/manjaro-tools/mkinitcpio.conf
assert_present 'COMPRESSION_OPTIONS=(-19)' /usr/share/manjaro-tools/mkinitcpio.conf

add_image_cleanups "$image" "$iso"
keep_release_identity "$image"

# manjaro-live-setup must produce a usable live home (see the script).
bash "$scriptDir/patch-live-setup.sh"

# Persistent live sessions, on Ventoy or on a labelled partition. buildiso
# copies this hook into the initramfs (prepare_initcpio).
patch --batch --fuzz=0 --no-backup-if-mismatch /etc/initcpio/hooks/miso "$scriptDir/miso-persistence.patch"
assert_present '_mnt_persistent' /etc/initcpio/hooks/miso
}

#--- profile configuration ----------------------------------------------------
Expand Down
Loading