Colin Watson 7cf7d116a0 Import patches-unapplied version 2.538 to ubuntu/cosmic-proposed
Imported using git-ubuntu import.

Changelog parent: d36578f6bb4a1f182044af709ccd3e2ded1f5aec

New changelog entries:
  * Add a buildd subproject.
2018-09-19 14:38:19 +00:00

10 lines
260 B
Bash
Executable File

#! /bin/sh
set -e
# Create the buildd user and group.
addgroup --gid 2501 buildd
adduser --system --disabled-password --gecos 'Build Daemon user' \
--ingroup buildd --uid 2001 --shell /bin/bash buildd
mkdir -p /build/buildd
chown buildd:buildd /build/buildd