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.
This commit is contained in:
parent
45c8dd1406
commit
7194187c21
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,8 +1,6 @@
|
||||||
deploy/*
|
deploy/*
|
||||||
work/*
|
work/*
|
||||||
postrun.sh
|
postrun.sh
|
||||||
SKIP
|
|
||||||
SKIP_IMAGES
|
|
||||||
.pc
|
.pc
|
||||||
*-pc
|
*-pc
|
||||||
apt-cacher-ng/
|
apt-cacher-ng/
|
||||||
|
|
1
config
1
config
|
@ -6,4 +6,3 @@ export DEFAULT_TIMEZONE=America/Los_Angeles
|
||||||
export FIRST_USER_NAME=pi
|
export FIRST_USER_NAME=pi
|
||||||
export FIRST_USER_PASS="raspberry"
|
export FIRST_USER_PASS="raspberry"
|
||||||
export ENABLE_SSH=1
|
export ENABLE_SSH=1
|
||||||
export STAGE_LIST="stage0 stage1 stage2"
|
|
|
@ -8,9 +8,3 @@ on_chroot << EOF
|
||||||
curl -sSL get.docker.com | sh
|
curl -sSL get.docker.com | sh
|
||||||
usermod -aG docker ${FIRST_USER_NAME}
|
usermod -aG docker ${FIRST_USER_NAME}
|
||||||
EOF
|
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
0
stage3/SKIP
Normal file
0
stage4/SKIP
Normal file
0
stage4/SKIP
Normal file
0
stage4/SKIP_IMAGES
Normal file
0
stage4/SKIP_IMAGES
Normal file
0
stage5/SKIP
Normal file
0
stage5/SKIP
Normal file
0
stage5/SKIP_IMAGES
Normal file
0
stage5/SKIP_IMAGES
Normal file
Loading…
Reference in New Issue
Block a user