summaryrefslogtreecommitdiff
path: root/stage2
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2025-08-19 12:58:04 +0100
committerSerge Schneider <serge@raspberrypi.com>2025-08-19 15:23:44 +0100
commit22601c0e4afb6d05812fb82d8cdec5e82404e3f3 (patch)
treedf1285720d7e04dbcd8151ac1b2e2427565a642c /stage2
parent9ea6e44d64a393563eeb4f51c0de864e5335b7c1 (diff)
stage2: replace dphys-swapfile with rpi-swap
Diffstat (limited to 'stage2')
-rw-r--r--stage2/01-sys-tweaks/00-packages2
-rw-r--r--stage2/01-sys-tweaks/00-patches/02-swap.diff13
-rw-r--r--stage2/01-sys-tweaks/00-patches/series1
3 files changed, 1 insertions, 15 deletions
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