diff --git a/apertis-ospack-basesdk.yaml b/apertis-ospack-basesdk.yaml index 44c4e884569531f0d33247c05063261e534fcefa..cece01ffc8fae98028957b47cc0adc3e935e1f07 100644 --- a/apertis-ospack-basesdk.yaml +++ b/apertis-ospack-basesdk.yaml @@ -486,6 +486,9 @@ actions: - action: overlay source: overlays/loopback-interface + - action: overlay + source: overlays/media-tmpfs + - action: overlay source: overlays/create-homedir diff --git a/apertis-ospack-devroot.yaml b/apertis-ospack-devroot.yaml index 85eaa0b55f81492f6b55845122b07a379c0954e6..a92cc4310ad9bd92bde58072d766f0b5578cb871 100644 --- a/apertis-ospack-devroot.yaml +++ b/apertis-ospack-devroot.yaml @@ -387,6 +387,9 @@ actions: - action: overlay source: overlays/loopback-interface + - action: overlay + source: overlays/media-tmpfs + - action: overlay source: overlays/create-homedir diff --git a/apertis-ospack-minimal.yaml b/apertis-ospack-minimal.yaml index cc16f409afd03d5689e5caf7153a5343dd0ee072..f0a658b5393840585ccddfad56683b5f515a82d2 100644 --- a/apertis-ospack-minimal.yaml +++ b/apertis-ospack-minimal.yaml @@ -96,6 +96,9 @@ actions: - action: overlay source: overlays/loopback-interface + - action: overlay + source: overlays/media-tmpfs + - action: overlay source: overlays/create-homedir diff --git a/apertis-ospack-sdk.yaml b/apertis-ospack-sdk.yaml index 633c249da49abe560ad90172cb6fd468f9645031..22d70173115d40099ddaf7f599a6f60aca30d549 100644 --- a/apertis-ospack-sdk.yaml +++ b/apertis-ospack-sdk.yaml @@ -680,6 +680,9 @@ actions: - action: overlay source: overlays/loopback-interface + - action: overlay + source: overlays/media-tmpfs + - action: overlay source: overlays/create-homedir diff --git a/apertis-ospack-target.yaml b/apertis-ospack-target.yaml index 2f5cd26cb9350f59f464bdb6c1c56d0fd84b9d23..b72104805ac073b8ded888a6df2bcbd3613fd802 100644 --- a/apertis-ospack-target.yaml +++ b/apertis-ospack-target.yaml @@ -209,6 +209,9 @@ actions: - action: overlay source: overlays/loopback-interface + - action: overlay + source: overlays/media-tmpfs + - action: overlay source: overlays/create-homedir diff --git a/overlays/media-tmpfs/lib/systemd/system/media.mount b/overlays/media-tmpfs/lib/systemd/system/media.mount new file mode 100644 index 0000000000000000000000000000000000000000..26caf52dea5b91f8f86be82b0891b1021981eb1d --- /dev/null +++ b/overlays/media-tmpfs/lib/systemd/system/media.mount @@ -0,0 +1,9 @@ +[Unit] +Description=Mount points for removable media +Before=local-fs.target + +[Mount] +What=tmpfs +Where=/media +Type=tmpfs +Options=nodev,noexec,nosuid,size=104857600,mode=0755