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:
parent
7cf39b60c3
commit
b8cdb84ba7
2 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue