Skip to content

Commit

Permalink
[dcd] Add proper droid mount units for /system & /vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
JamiKettunen committed Oct 17, 2019
1 parent 1438cc9 commit cf257e0
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sparse/etc/systemd/system/cheeseburger-misc.service
Expand Up @@ -6,4 +6,4 @@ Conflicts=actdead.target factory-test.target rescue.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/droid/cheeseburger-misc.sh
ExecStart=/usr/bin/droid/cheeseburger-misc.sh
12 changes: 12 additions & 0 deletions sparse/lib/systemd/system/system.mount
@@ -0,0 +1,12 @@
[Unit]
Description=Droid mount for /system
Before=local-fs.target systemd-modules-load.service

[Mount]
What=/dev/sde21
Where=/system
Type=ext4
TimeoutSec=5

[Install]
WantedBy=local-fs.target
12 changes: 12 additions & 0 deletions sparse/lib/systemd/system/vendor.mount
@@ -0,0 +1,12 @@
[Unit]
Description=Droid mount for /vendor
Before=vendor-bt_firmware.mount vendor-dsp.mount vendor-firmware_mnt.mount local-fs.target systemd-modules-load.service

[Mount]
What=/dev/sdf6
Where=/vendor
Type=ext4
TimeoutSec=5

[Install]
WantedBy=local-fs.target

0 comments on commit cf257e0

Please sign in to comment.