1. Update config to remove a stage list, opt to use SKIP(_IMAGES) instead to build the lite-image.

2. Removed auto-login script which isn't needed.
pull/408/head
Ani Balasubramaniam 2020-03-18 18:20:48 -07:00
parent 45c8dd1406
commit 7194187c21
8 changed files with 1 additions and 10 deletions

2
.gitignore vendored
View File

@ -1,8 +1,6 @@
deploy/*
work/*
postrun.sh
SKIP
SKIP_IMAGES
.pc
*-pc
apt-cacher-ng/

3
config
View File

@ -5,5 +5,4 @@ export TIMEZONE_DEFAULT="America/Los_Angeles"
export DEFAULT_TIMEZONE=America/Los_Angeles
export FIRST_USER_NAME=pi
export FIRST_USER_PASS="raspberry"
export ENABLE_SSH=1
export STAGE_LIST="stage0 stage1 stage2"
export ENABLE_SSH=1

View File

@ -7,10 +7,4 @@ echo "Installing docker..."
on_chroot << EOF
curl -sSL get.docker.com | sh
usermod -aG docker ${FIRST_USER_NAME}
EOF
# Ensure ${FIRST_USER_NAME} is set up for auto-login
echo "Setting up ${FIRST_USER_NAME} for auto-login"
on_chroot << EOF
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_boot_behaviour B4
EOF

0
stage3/SKIP Normal file
View File

0
stage4/SKIP Normal file
View File

0
stage4/SKIP_IMAGES Normal file
View File

0
stage5/SKIP Normal file
View File

0
stage5/SKIP_IMAGES Normal file
View File