-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Hi guys,
I'm currently trying to port Halium to my Galaxy s4 and found a small bug I think.
I don't know why it's the case but the system.mount service fails to start on my galaxy s4.
root@localhost:~# systemctl status system.mount
● system.mount - mount system.img
Loaded: loaded (/lib/systemd/system/system.mount; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2016-02-11 16:28:13 UTC; 2min 36s ago
Where: /system
What: /data/system.img
Process: 749 ExecMount=/bin/mount /data/system.img /system -o ro (code=exited, status=32)
Feb 11 16:28:15 localhost.localdomain systemd[1]: Failed to mount mount system.img.You just had "Invalid argument" when you run the command manually. What works is mounting it first in write mode and then switching it to read only:
/bin/mount /data/system.img /system -o rw
/bin/mount /data/system.img /system -o ro,remountIf you try to mount it in read only mode first, it just fails.
And this works, would it be worth modifying the system.mount service do you think to test that or is a a bug only happening on my device?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels