pmaports/main
Clayton Craft bca632d4f6
postmarketos-base: enable using zram swap by default (MR 3752)
This installs zram-init and sets it to start on boot for all
devices/UIs. The included conf.d/zram-init also allows diabling using
zram swap or overriding the size by using a deviceinfo var.

I did an analysis of the pmos base install size with the 'none' UI
selected, after depending on zram-init, and the following new package is
installed:
        zram-init-11.1-r1 installed size: 40 KiB

These packages are dependencies of zram-init, however they are already
installed in the base image (with 'none' UI) so they are not counted
above:
        util-linux-misc-2.38.1-r0 installed size: 6816 KiB
        e2fsprogs-extra-1.46.5-r4 installed size: 1324 KiB

So this seems like a very small price to pay for the benefit of not
making the logic/implementation more complicated than this.

     * Starting busybox syslog ... [ ok ]
    ssh-keygen: generating new host keys: RSA ECDSA ED25519
     * Starting sshd ... [ ok ]
    zram swap: activating with size: 243 MB
     * Loading zram module...
     [ ok ]
     * Swap->zram0
     [ ok ]
     * Starting local ... [ ok ]

This change introduces one new deviceinfo variable:
deviceinfo_zram_swap_pct: percentage of RAM to use for zram swap

Default percentages if the second var is unset are explained in the
zram-init file this commit adds. A value of 0 disables zram swap.

fixes #1133
2023-01-11 15:39:40 +01:00
..
.shared-scripts
0xffff
abootimg
abuild-sign-noinclude
adsp-audio
android-mkdtboimg main/android-mkdtboimg: new package (MR 2729) 2021-12-10 22:25:27 +03:00
asus-transformer-blobtools
boot-deploy main/boot-deploy: upgrade to 0.7.0 (MR 3724) 2023-01-05 03:49:10 +01:00
bootchart2 main/*: rebuild for Python 3.11 (MR 3745) 2022-12-18 10:26:36 +01:00
bootmac main: bootmac: new pmaport (MR 3360) 2022-08-19 09:35:45 +02:00
charging-sdl
columbiad
crust main/crust: fix build with GCC 12 (MR 3676) 2022-11-28 23:59:34 +01:00
devicepkg-dev treewide: fix tabs, final newline, trailing whitespace (MR 3530) 2022-10-16 16:27:22 +02:00
dtbtool
dtbtool-exynos
dtbtool-sprd
extract-dtb main/*: rebuild for Python 3.11 (MR 3745) 2022-12-18 10:26:36 +01:00
fbdebug
fbkeyboard main/*: depend on font-dejavu (MR 3521) 2022-10-10 18:53:35 -07:00
gcc4 main/gcc4: disable on riscv64 (MR 3583) 2022-10-25 08:31:09 +02:00
gcc6 main/gcc6: disable on riscv64 (MR 3583) 2022-10-25 08:31:21 +02:00
gesture main/gesture: upgrade to 0.7 (MR 3453) 2022-09-21 22:17:51 +02:00
hello-world
hello-world-rust main/hello-world-rust: allow textrels on riscv64 (MR 3584) 2022-10-25 08:18:11 +02:00
hello-world-wrapper
hisi-wlan
hwtest main/*: rebuild for Python 3.11 (MR 3745) 2022-12-18 10:26:36 +01:00
keepfileopen
ldpath
lk2nd main/lk2nd: upgrade to 0.13.0 (MR 3554) 2022-10-18 02:03:55 +03:00
lk2nd-msm8953 main/lk2nd-msm8953: typo in url (MR 3113) 2022-05-05 08:19:47 +02:00
make-dynpart-mappings main/make-dynpart-mappings: upgrade to 10.2.4 (MR 3244) 2022-06-22 09:29:36 +02:00
mdss-fb-init-hack
mipi-dbi-cmd main/mipi-dbi-cmd: tool for generating SPI panel init sequence firmware (MR 3527) 2022-10-16 11:18:04 +03:00
mkbootimg-osm0sis main/mkbootimg-osm0sis: upgrade to 2021.08.06 (MR 3597) 2022-11-02 15:02:48 +01:00
mobile-config-firefox main/mobile-config-firefox: upgrade to 3.2.0 (MR 3729) 2022-12-14 21:18:15 +01:00
msm-fb-refresher
msm-firmware-loader main/msm-firmware-loader: upgrade to 1.1.0 (MR 3797) 2023-01-10 12:06:52 +01:00
mtk-mkimage
ofonoctl main/*: rebuild for Python 3.11 (MR 3745) 2022-12-18 10:26:36 +01:00
osk-sdl treewide: fix tabs, final newline, trailing whitespace (MR 3530) 2022-10-16 16:27:22 +02:00
postmarketos-android-recovery-installer main/postmarketos-android-recovery-installer: upgrade to 1.0.7 (MR 3646) 2022-11-18 08:03:08 +01:00
postmarketos-artwork main/postmarketos-artwork: move icons to useful location (MR 2867) 2022-01-21 01:09:59 +00:00
postmarketos-base postmarketos-base: enable using zram swap by default (MR 3752) 2023-01-11 15:39:40 +01:00
postmarketos-base-ui main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-base-ui-gnome main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-boot-hwtest
postmarketos-config-nftables main/postmarketos-config-nftables: 50_*.nft: drop unused wwan rules (MR 3594) 2022-11-03 07:48:33 +01:00
postmarketos-demos
postmarketos-hidden-desktop-entries main/postmarketos-hidden-desktop-entries: update firefox(-esr) safe-mode filename (MR 3418) 2022-09-13 08:55:19 +02:00
postmarketos-installkernel
postmarketos-keys
postmarketos-mkinitfs main/pmos-mkinitfs: run udev after mounting the initramfs-extra (MR 3777) 2023-01-08 11:04:41 -08:00
postmarketos-mkinitfs-hook-console-shell postmarketos-mkinitfs-hook-console-shell: change path to dejavu font (MR 3521) 2022-10-10 18:53:37 -07:00
postmarketos-mkinitfs-hook-debug-shell main/postmarketos-mkinitfs-hook-debug-shell: add libinput utils (MR 3169) 2022-05-31 08:36:05 -07:00
postmarketos-mkinitfs-hook-kernel-panic
postmarketos-mkinitfs-hook-maximum-attention
postmarketos-mkinitfs-hook-netboot main/postmarketos-mkinitfs-hook-netboot: Use deviceinfo to determine rootfs sector size if set (MR 2898) 2022-02-01 18:57:02 +01:00
postmarketos-mkinitfs-hook-verbose-initfs
postmarketos-mvcfg
postmarketos-ondev main/postmarketos-ondev: disable on riscv64 (MR 3588) 2022-10-26 09:24:38 +02:00
postmarketos-release-upgrade main/postmarketos-release-upgrade: upgrade to 1.3.1 (MR 3750) 2022-12-18 14:55:09 +01:00
postmarketos-splash postmarketos-splash: depend on font-droid (MR 3521) 2022-10-10 18:53:37 -07:00
postmarketos-theme
postmarketos-tweaks main/postmarketos-tweaks: upgrade to 0.13.0 (MR 3613) 2022-11-03 23:27:05 -07:00
postmarketos-ui-asteroid
postmarketos-ui-console main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-fbkeyboard main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-framebufferphone main/postmarketos-ui-framebufferphone: new aport (MR 2850) 2022-02-07 20:20:43 -08:00
postmarketos-ui-gnome main/postmarketos-ui-gnome: disable on armhf (MR 3482) 2022-10-01 22:42:54 +02:00
postmarketos-ui-gnome-mobile main/postmarketos-ui-gnome-mobile: replace gedit with gnome-text-editor (MR 3603) 2022-11-01 16:58:41 +01:00
postmarketos-ui-i3wm main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-kodi main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-lxqt main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-mate main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-phosh main/postmarketos-ui-phosh: clean up dconf overrides (MR 3775) 2023-01-05 02:48:34 +01:00
postmarketos-ui-plasma-bigscreen main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-plasma-desktop main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-plasma-mobile main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-shelli main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-sway main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-sxmo-de-dwm main/postmarketos-ui-sxmo-de-dwm: set provider_priority=5 (MR 3597) 2022-11-02 15:02:54 +01:00
postmarketos-ui-sxmo-de-sway main/postmarketos-ui-sxmo-de-sway: set provider_priority=10 (MR 3597) 2022-11-02 15:02:54 +01:00
postmarketos-ui-weston main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-ui-xfce4 main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
postmarketos-update-depthcharge-kernel main/postmarketos-update-depthcharge-kernel: new aport (MR 3290) 2022-07-23 22:07:18 -04:00
postmarketos-update-kernel main/postmarketos-upgrade-kernel: fix custom boot partition being ignored (MR 3095) 2022-04-29 08:36:26 +02:00
postmarketos-welcome main/postmarketos-welcome: upgrade to 0.7.0 (MR 3441) 2022-09-15 09:35:27 +02:00
pxa-mkbootimg
qca-swiss-army-knife main/qca-swiss-army-knife: new aport (MR 3266) 2022-07-05 18:37:52 +02:00
qmi-ping
reboot-mode
shelli
sm-sparse-image-tool main/sm-sparse-image-tool: new package (MR 3067) 2022-04-10 15:31:17 +01:00
swclock-offset main/swclock-offset: upgrade to 0.2.2 (MR 3714) 2022-12-13 21:31:17 -08:00
sxmo-common main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749) 2023-01-06 21:53:28 +01:00
sxmo-common-audio main/sxmo-common: allow switching between pipewire and pulseaudio (MR 3711) 2022-12-18 14:36:21 +01:00
tizen-mkdzimage main/tizen-mkdzimage: new aport (MR 3247) 2022-06-22 10:24:07 +00:00
triggerhappy
ttyescape main/ttyescape: change licence to GPL-2.0 (MR 3042) 2022-03-28 21:45:26 -07:00
unixbench main/unixbench: disable on riscv64 (MR 3588) 2022-10-26 09:24:38 +02:00
unl0kr main/unl0kr: add to initramfs-extra (MR 3777) 2023-01-08 11:04:41 -08:00
watchdog-kick
wcnss-wlan
wl1251-cal main/wl1251-cal: new pkgbuild (MR 3386) 2022-10-12 21:39:12 +02:00