summaryrefslogtreecommitdiffstats
path: root/openpower/scripts/fixup-target-var
blob: 9c9bc5bbfe2852c4d04f5415514fd468bb90e280 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# replace /var/* symlinks with actual directories

find $TARGET_DIR/var/ -type l |
while read path
do
    [ -d "$path" ] || continue
    rm -v $path
    mkdir -v $path
done
OpenPOWER on IntegriCloud