Commit afa3e505 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add run directories in bootstrap-stage

parent 03fe5d9f
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
#!/bin/bash
# Copyright (c) 2020 Dom Sekotill <dom.sekotill@kodo.org.uk>
# Copyright (c) 2020,2022 Dom Sekotill <dom.sekotill@kodo.org.uk>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -58,6 +58,9 @@ collect-binaries /lib/*/libnss* &&
	END_CONF

# Temp directories
mkdir -p $STAGE/var/tmp
chmod 1777 $STAGE/var/tmp
mkdir -p --mode=1777 $STAGE/var/tmp
test -h $STAGE/tmp || ln -s /var/tmp $STAGE/tmp

# Run directories
mkdir -p --mode=0755 $STAGE/var/run
test -h $STAGE/run || ln -s /var/run /run