main/postmarketos-base: enable tmpfs on boot instead of default runlevel (MR 4655)

This was enabled in the "default" runlevel during upgrades, which is an
error, since it depends on bootmisc, which is in "boot" runlevel

Fixes #2473

[ci:skip-build]: Already built successfully in CI.
This commit is contained in:
Pablo Correa Gómez 2023-12-25 14:45:45 +01:00 committed by Newbyte
parent 7cf39b60c3
commit b8cdb84ba7
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-base
pkgver=32
pkgrel=0
pkgrel=1
pkgdesc="Meta package for minimal postmarketOS base"
url="https://postmarketos.org"
arch="noarch"

View file

@ -45,7 +45,9 @@ rm -rf /etc/zoneinfo
# To turn zram-init into a no-op, set: deviceinfo_zram_swap_pct="0"
rc-update -q add zram-init default
# We once enabled tmpfs in default, when it needs bootmisc: pma#2473
rc-update -qq del tmpfs default || true
# To disable mounting /tmp as tmpfs deviceinfo_tmp_as_tmpfs_size="0"
rc-update -q add tmpfs default
rc-update -q add tmpfs boot
exit 0