* Fix permission check

* Remove fails on copy

* Disable FB_BCM2708

* Don't touch the memory map from first stage

* bootcode.bin is not needed on rpi4
This commit is contained in:
Pascal Vizeli
2019-08-28 10:32:46 +02:00
committed by GitHub
parent 9f06ffbbd5
commit d1d3593d65
5 changed files with 8 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ USER="root"
dockerd -s vfs &> /dev/null &
# Setup local user
if [ "${BUILDER_UID:0}" -ne 0 ] && [ "${BUILDER_GID:0}" -ne 0 ]; then
if [ "${BUILDER_UID:-0}" -ne 0 ] && [ "${BUILDER_GID:-0}" -ne 0 ]; then
groupadd -g "${BUILDER_GID}" builder
useradd -m -u "${BUILDER_UID}" -g "${BUILDER_GID}" -G docker,sudo builder
echo "builder ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers