main/postmarketos-base: keep /etc/fstab (MR 1398)
Only add a comment, do not try to mount the root or boot partitions anymore. The initramfs is doing this already. Related: https://postmarketos.org/fstab
This commit is contained in:
parent
863ec713ba
commit
784782f543
|
@ -1,6 +1,6 @@
|
|||
pkgname=postmarketos-base
|
||||
pkgver=3
|
||||
pkgrel=35
|
||||
pkgrel=36
|
||||
pkgdesc="Meta package for minimal postmarketOS base"
|
||||
url="https://postmarketos.org"
|
||||
arch="noarch"
|
||||
|
|
|
@ -23,12 +23,14 @@ mkdir -p /run/openrc
|
|||
touch /run/openrc/shutdowntime
|
||||
|
||||
# Install /etc/fstab
|
||||
echo "- Modifying: /etc/fstab"
|
||||
{
|
||||
echo '# <file system> <mount point> <type> <options> <dump> <pass>'
|
||||
echo 'LABEL="pmOS_root" / ext4 relatime,data=ordered 0 1'
|
||||
echo 'LABEL="pmOS_boot" /boot auto defaults 0 2'
|
||||
} >/etc/fstab
|
||||
if ! grep -q "postmarketos\.org/fstab" /etc/fstab; then
|
||||
echo "- Modifying: /etc/fstab"
|
||||
{
|
||||
echo
|
||||
echo "# This file is *not* used to mount / or /boot."
|
||||
echo "# More information: https://postmarketos.org/fstab"
|
||||
} >> /etc/fstab
|
||||
fi
|
||||
|
||||
# Set /etc/issue
|
||||
echo "- Modifying: /etc/issue"
|
||||
|
|
Loading…
Reference in New Issue
Block a user