stage2: replace dphys-swapfile with rpi-swap

This commit is contained in:
Serge Schneider
2025-08-19 12:58:04 +01:00
parent 9ea6e44d64
commit 22601c0e4a
3 changed files with 1 additions and 15 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -1,4 +1,3 @@
01-useradd.diff
02-swap.diff
04-inputrc.diff
05-path.diff