You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
livecd-rootfs/live-build/buildd/hooks/02-user.chroot

11 lines
283 B

#! /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 --home /home/buildd \
buildd
mkdir -p /build/buildd
chown buildd:buildd /build/buildd