Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / recipes-core / stx-config / files / 0001-puppet-manifests-adjust-path-variable.patch
1 From 54a94a0caf6db9e041e3769ae2be830cb0d7ea2f Mon Sep 17 00:00:00 2001
2 From: "Sar Ashki, Babak" <Babak.SarAshki@windriver.com>
3 Date: Thu, 26 Dec 2019 11:42:23 -0800
4 Subject: [PATCH] puppet-manifests: adjust path variable
5
6 Issue 54:
7 Without this patch, mount command is not found
8 ---
9  puppet-manifests/src/modules/platform/manifests/filesystem.pp | 2 +-
10  1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/puppet-manifests/src/modules/platform/manifests/filesystem.pp b/puppet-manifests/src/modules/platform/manifests/filesystem.pp
13 index a324ae82..a75f57b5 100644
14 --- a/puppet-manifests/src/modules/platform/manifests/filesystem.pp
15 +++ b/puppet-manifests/src/modules/platform/manifests/filesystem.pp
16 @@ -64,7 +64,7 @@ define platform::filesystem (
17    -> exec { "mount ${device}":
18      unless  => "mount | awk '{print \$3}' | grep -Fxq ${mountpoint}",
19      command => "mount ${mountpoint}",
20 -    path    => '/usr/bin'
21 +    path    => '/usr/bin:/usr/sbin:/bin:/sbin'
22    }
23  }
24  
25 -- 
26 2.23.0
27