blob: 26b3e5806d0e131b43d85628bb4de54fc4f94a3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
if [ -z "$SYSROOT" ]; then
echo '$SYSROOT is not set!'
exit 2
fi
if ! [ -d "$SYSROOT" ]; then
echo '$SYSROOT does not exist!'
exit 2
fi
mkdir -p "$SYSROOT"/tmp || exit 2
chmod 0775 "$SYSROOT"/tmp || exit 2
mkdir -p "$SYSROOT"/var/log/ntctty || exit 2
chmod 0775 "$SYSROOT"/var/log/ntctty || exit 2
if [ -f /vendor.sh ]; then
/vendor.sh
fi
|