diff options
| author | Serge Schneider <serge@raspberrypi.com> | 2025-08-19 12:58:04 +0100 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.com> | 2025-08-19 15:23:44 +0100 |
| commit | 22601c0e4afb6d05812fb82d8cdec5e82404e3f3 (patch) | |
| tree | df1285720d7e04dbcd8151ac1b2e2427565a642c | |
| parent | 9ea6e44d64a393563eeb4f51c0de864e5335b7c1 (diff) | |
stage2: replace dphys-swapfile with rpi-swap
| -rw-r--r-- | stage2/01-sys-tweaks/00-packages | 2 | ||||
| -rw-r--r-- | stage2/01-sys-tweaks/00-patches/02-swap.diff | 13 | ||||
| -rw-r--r-- | stage2/01-sys-tweaks/00-patches/series | 1 |
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 |
