From 6826507217c318d4c0f8584204fb28004df10652 Mon Sep 17 00:00:00 2001 From: "Sicelo A. Mhlongo" Date: Sun, 19 Jul 2026 22:04:57 +0200 Subject: [PATCH] postmarketos-base: explicitly set swapfile priority Ensure priority of swapfile is lower than zram (100 vs. 300), thus ensuring zram is filled first. Signed-off-By: Sicelo A. Mhlongo Part-of: --- main/postmarketos-base/APKBUILD | 4 ++-- main/postmarketos-base/rootfs-usr-bin-swapfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/postmarketos-base/APKBUILD b/main/postmarketos-base/APKBUILD index 8c4b2d9b1..50da5bcd0 100644 --- a/main/postmarketos-base/APKBUILD +++ b/main/postmarketos-base/APKBUILD @@ -1,7 +1,7 @@ # Co-Maintainer: Achill Gilgenast maintainer="Clayton Craft " pkgname=postmarketos-base -pkgver=65 +pkgver=66 pkgrel=0 pkgdesc="Meta package for minimal postmarketOS base" url="https://postmarketos.org" @@ -319,5 +319,5 @@ d89a7e4b9d601431c62c11f83c9c72fdb90384d9100ee5fc4aff25dda0836fd3bf9e48c0536615be 3c049c5e6fbe3079ac333f416cbaf5d3890a7941b79d68741bfc861ee94358fba6d8b72614fe99ab84563f9208613037c6702a7d0fc5a6dfa9d0518b5a13b0cb rootfs-etc-init.d-deferred-initcalls 42d6bce78b6e3c118dcbd9228b138661a05f8f321f17457e8df8f2398c0b780399d8d056f0a7c50d91557ac8698ab37dde61ec1a13fd69a7b3faad092f126580 rootfs-etc-init.d-swapfile 2eaa20c037ce606706a746d38a1cad9aa040c06279c4f34973b8d140d23d8639910717655692d9a0f12ccc25570e9cb4248f5a00b7cc25658a786d0d35303d2a rootfs-etc-init.d-tmpfs -23df2632e8ef372dccd6b9abac61441dd0ee447ccc7428fba495e28f1b697ebc415f7580dbb9a39d22d162a175d7264b47bdf9f66552347e35d9d0bb7828647d rootfs-usr-bin-swapfile +fb295ce9fb920e50544c7529accfd168e7225a6768ebdc786bd4ceac3ad2b1229d6abdbc8c67c306697b04b6385b38ff8e0fe79f87d0c8cd783447f862f6d170 rootfs-usr-bin-swapfile " diff --git a/main/postmarketos-base/rootfs-usr-bin-swapfile b/main/postmarketos-base/rootfs-usr-bin-swapfile index 3a218215d..15a55ab61 100644 --- a/main/postmarketos-base/rootfs-usr-bin-swapfile +++ b/main/postmarketos-base/rootfs-usr-bin-swapfile @@ -89,7 +89,7 @@ fi make_swap ${swap_file} ${swap_size} # Activate swap file -swapon ${swap_file} +swapon ${swap_file} -p 100 echo "Successfully activated swap file!" exit 0