summaryrefslogtreecommitdiff
path: root/scripts/headless_env.sh
blob: cb1b4177bdaf78b100f4dbec13901fef7b1674f9 (plain)
1
2
3
4
5
6
7
8
9
10
if [ "$XDG_RUNTIME_DIR" = "" ]
then
export XDG_RUNTIME_DIR=/run
fi

# Ugly workaround to remove "user" filesystem label for two-partition headless images
if [ -e /dev/disk/by-label/user ]; then
then
e2label /dev/disk/by-label/user ''
fi