Skip to content

Commit 66e0d6b

Browse files
stepanblyschaklguohan
authored andcommitted
[sonic-device-data] Fix config symlinks dereference (#2085)
('cp -H' -> 'cp -L') '-L' does what we need in this case From man cp ... -H follow command-line symbolic links in SOURCE ... -L, --dereference always follow symbolic links in SOURCE Signed-off-by: Stepan Blyschak <[email protected]>
1 parent 794885e commit 66e0d6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sonic-device-data/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
1212

1313
# Create a new dir and copy all ONIE-platform-string-named dirs into it
1414
mkdir ./device
15-
cp -r -H ../../../device/*/* ./device/
15+
cp -r -L ../../../device/*/* ./device/
1616

1717
# Build the package
1818
dpkg-buildpackage -rfakeroot -b -us -uc

0 commit comments

Comments
 (0)