From 22601c0e4afb6d05812fb82d8cdec5e82404e3f3 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 19 Aug 2025 12:58:04 +0100 Subject: [PATCH] stage2: replace dphys-swapfile with rpi-swap --- stage2/01-sys-tweaks/00-packages | 2 +- stage2/01-sys-tweaks/00-patches/02-swap.diff | 13 ------------- stage2/01-sys-tweaks/00-patches/series | 1 - 3 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 stage2/01-sys-tweaks/00-patches/02-swap.diff diff --git a/stage2/01-sys-tweaks/00-packages b/stage2/01-sys-tweaks/00-packages index b8c40a0..8000fb8 100644 --- a/stage2/01-sys-tweaks/00-packages +++ b/stage2/01-sys-tweaks/00-packages @@ -14,7 +14,7 @@ luajit ca-certificates curl nfs-common usbutils dosfstools -dphys-swapfile +rpi-swap rpi-loop-utils raspberrypi-sys-mods pi-bluetooth apt-listchanges diff --git a/stage2/01-sys-tweaks/00-patches/02-swap.diff b/stage2/01-sys-tweaks/00-patches/02-swap.diff deleted file mode 100644 index 52cdda4..0000000 --- a/stage2/01-sys-tweaks/00-patches/02-swap.diff +++ /dev/null @@ -1,13 +0,0 @@ -Index: jessie-stage2/rootfs/etc/dphys-swapfile -=================================================================== ---- jessie-stage2.orig/rootfs/etc/dphys-swapfile -+++ jessie-stage2/rootfs/etc/dphys-swapfile -@@ -13,7 +13,7 @@ - - # set size to absolute value, leaving empty (default) then uses computed value - # you most likely don't want this, unless you have an special disk situation --#CONF_SWAPSIZE= -+CONF_SWAPSIZE=512 - - # set size to computed value, this times RAM size, dynamically adapts, - # guarantees that there is enough swap without wasting disk space on excess diff --git a/stage2/01-sys-tweaks/00-patches/series b/stage2/01-sys-tweaks/00-patches/series index 19b04f5..cbd0fd4 100644 --- a/stage2/01-sys-tweaks/00-patches/series +++ b/stage2/01-sys-tweaks/00-patches/series @@ -1,4 +1,3 @@ 01-useradd.diff -02-swap.diff 04-inputrc.diff 05-path.diff