aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/firmware/files/lib-firmware-system.service
blob: 2e6efc7d2c0f723c9634fed881169bd113bf3436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Mount partition with system root for for firmware files ('system_a')
ConditionPathExists=/lib/firmware/system
Before=systemd-udevd-control.socket
After=local-fs-pre.target
Before=local-fs.target
Before=umount.target
Conflicts=umount.target
DefaultDependencies=no

[Install]
WantedBy=local-fs.target

[Service]
Type=oneshot
RemainAfterExit=true
# sda6 = system_a
ExecStart=mount -t ext4 -o ro /dev/sda6 /lib/firmware/system
ExecStop=umount /lib/firmware/system