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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user