Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
x86:x86-common
>
installer-shell
> fix-mtab-with-systemd.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File fix-mtab-with-systemd.patch of Package installer-shell
diff --git a/installer-shell b/installer-shell index f375af8..bc4a32f 100755 --- a/installer-shell +++ b/installer-shell @@ -923,7 +923,8 @@ write_fstab () { proc /proc proc defaults 0 0 EOF - dbglg_exec "rm -rf $ROOTMNT/etc/mtab" + # systemd doesn't support /etc/mtab as a file anymore + chroot $ROOTMNT ln -sf /proc/mounts /etc/mtab >> $LOGFILE 2>&1 dbglg "write /etc/adjtime" if [ ! -f ${ROOTMNT}/etc/adjtime ]; then echo "0.0 0 0.0" > ${ROOTMNT}/etc/adjtime