Skip to content
Snippets Groups Projects
Verified Commit 66f3b6ac authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

systemd/postmarketos-base-systemd: add and configure zram-generator

This also configures the system to auto-load zram module, to make sure
that it's loaded when the systemd generator runs at boot
parent 1b69f4a8
Branches
No related tags found
No related merge requests found
Pipeline #215825 failed
......@@ -2,7 +2,7 @@
# Co-maintainer: Clayton Craft <clayton@craftyguy.net>
# pmbootstrap installs this, if systemd is selected in "pmbootstrap init".
pkgname=postmarketos-base-systemd
pkgver=26
pkgver=27
pkgrel=0
pkgdesc="Meta package for running postmarketOS with systemd"
url="https://postmarketos.org"
......@@ -30,6 +30,7 @@ depends="
systemd-services
systemd-timesyncd
tzdata
zram-generator
"
replaces="alpine-baselayout postmarketos-base systemd systemd-logind"
replaces_priority=100
......@@ -39,8 +40,10 @@ _source644="
etc/profile.d/99motd.sh
etc/systemd/logind.conf
usr/share/mkinitfs/files-extra/01-initramfs-base-systemd.files
usr/lib/modules-load.d/zram.conf
usr/lib/systemd/system-preset/90-base.preset
usr/lib/systemd/user-preset/90-base.preset
usr/lib/systemd/zram-generator.conf
"
_source755="
......@@ -73,7 +76,9 @@ sha512sums="
fbaa33425e507062a454f11bda48508f261c2144e5c23a20f567dc1cef14ce1dec57f8d934f418f5b6095509757f8503481aba9790a04c8f9f6995e65833d8c9 rootfs-etc-profile.d-99motd.sh
2faac294bb632762e247b850f09ff4b544ccff6c462efd8d4faca71ba30bdfa9c460377a0dc88e92c5dbbe251017d164064a56ac0e0410f224b45d4f5f81866c rootfs-etc-systemd-logind.conf
15423bfda57c90ab62fe69865ca4072a0aeb83bf77d9c278257e346f4da81843d010b41003c91ae9f3fcb1c67447645e7c19078eea2bf11312051e6ad7523ad1 rootfs-usr-share-mkinitfs-files-extra-01-initramfs-base-systemd.files
bf165faa1902ae0b2bde8ba17764a6d0054412f839f0d76104e4152084fa1f34550c7eb6c665f0a94c58000942e6b0a86b9d4bf9c2ab617c9747f90dd45ceb84 rootfs-usr-lib-modules-load.d-zram.conf
fb69154ca6f55e49992f38c9c1b34dba6f08fcbf36dcb85e21519879c58b47c833babbc1c55e160a414c347d4f546cec477565368995fbab6632a23156637df4 rootfs-usr-lib-systemd-system-preset-90-base.preset
c7ec5a4e7c7dcbf855f34e80adb225f52221340099216e57792b04f07e7b367e004209551e9a74152d9212926aba1b1a0a2680d3c2e35f15cca6f3cf0c9a3841 rootfs-usr-lib-systemd-user-preset-90-base.preset
1abb70025cef1939b84ae6a790c5c8954b35f0d5e4eab1a8263afd013f5a6e944329940a8d731cb5d5c802f606c901c1d7a5b4cf705c14c4dbd9d53f8ce5550d rootfs-usr-lib-systemd-zram-generator.conf
605df1f004783d2e0ec5dd99a688bca27502c8c24bc05fb4dc26589b2070b0fbd1cf9bd56e6861d7cda2f8ac8147e7eb040acfd886185c01c8cf9de8b1ce2dcd rootfs-usr-bin-setup-timezone
"
# Use external tool to calculate size. See the tool for more info
set!zram0size = zram-size-calc
[zram0]
zram-size = zram0size
compression-algorithm = zstd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment