From 55755615c47da701b57d7cd4806a6c0005083dba Mon Sep 17 00:00:00 2001 From: Clayton Craft <clayton@craftyguy.net> Date: Thu, 20 Mar 2025 14:29:12 -0700 Subject: [PATCH] device-lenovo-21bx: always resize the root partition It's common to build installs for this device to flash on USB drives or whatever, and the rootfs alwys runs out of space fast because it's not resized on boot. Let's fix that... Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6340 --- device/community/device-lenovo-21bx/APKBUILD | 6 +++--- device/community/device-lenovo-21bx/deviceinfo | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/device/community/device-lenovo-21bx/APKBUILD b/device/community/device-lenovo-21bx/APKBUILD index 23fa1cf657b..0dc73fd3099 100644 --- a/device/community/device-lenovo-21bx/APKBUILD +++ b/device/community/device-lenovo-21bx/APKBUILD @@ -4,8 +4,8 @@ # Reference: <https://postmarketos.org/devicepkg> pkgname=device-lenovo-21bx pkgdesc="Lenovo ThinkPad X13s" -pkgver=12 -pkgrel=1 +pkgver=13 +pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" @@ -63,7 +63,7 @@ usbguard() { } sha512sums=" -9cb08de5748b0339005a910cc0475ad344dc6e912e477c5bd6b370784af6309719524f8fa7a39e7565586e47968a35c344ea853cddd716cc3e1e483efaae7ff0 deviceinfo +d2c2266c7db3b018cb1324ad4259fec664fa9d500f701795c6198b2318cec6466a9ad908c7217bb43c03d236dfdf3fb84280faf0cfa484bbdf90bda680822309 deviceinfo 5f4e6a80455c8a2ed879bfd457a89f81790824657ed4101e03b7ec288a274e63340f48e2ad5028cf83744263a4529584b1e94c36d10b98912e5b31804fa98ff0 firmware.files 27705e998db262602b50004083fe160dbcde88e9fdcaeb43e3d1d79be0b7af371f84855bb93ba16ada3cf5fa8ff8da6ca159cda4b1de08fb54ac451c57169c57 modules-initfs 52bbb9564ec713db5d46937701b121afe0c6c644fffe189a05766f491b4997b1bbc4c1f90229efb5764d795df8d40a57d4c840ee4b32d426e7a84520364b8bf5 pipewire.conf diff --git a/device/community/device-lenovo-21bx/deviceinfo b/device/community/device-lenovo-21bx/deviceinfo index cc84d64a96d..2694e04e753 100644 --- a/device/community/device-lenovo-21bx/deviceinfo +++ b/device/community/device-lenovo-21bx/deviceinfo @@ -15,7 +15,7 @@ deviceinfo_gpu_accelerated="true" deviceinfo_chassis="laptop" deviceinfo_keyboard="true" deviceinfo_external_storage="true" -deviceinfo_kernel_cmdline="quiet loglevel=2 quiet clk_ignore_unused pd_ignore_unused arm64.nopauth" +deviceinfo_kernel_cmdline="quiet loglevel=2 quiet clk_ignore_unused pd_ignore_unused arm64.nopauth pmos.force-partition-resize" # Bootloader related deviceinfo_flash_method="none" -- GitLab