Reorder code
This commit is contained in:
parent
d2524e2470
commit
492aff019c
1 changed files with 4 additions and 1 deletions
5
build.sh
5
build.sh
|
@ -245,6 +245,10 @@ echo "127.0.1.1 $HOSTNAME" >>"$ROOTFS_DIR/etc/hosts"
|
||||||
##
|
##
|
||||||
# Add user.
|
# Add user.
|
||||||
#
|
#
|
||||||
|
on_chroot << EOF
|
||||||
|
apt-get install -y sudo
|
||||||
|
EOF
|
||||||
|
|
||||||
apply_patches '03-bashrc.diff'
|
apply_patches '03-bashrc.diff'
|
||||||
apply_patches '04-useradd.diff'
|
apply_patches '04-useradd.diff'
|
||||||
|
|
||||||
|
@ -275,7 +279,6 @@ EOF
|
||||||
on_chroot << EOF
|
on_chroot << EOF
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
less \
|
less \
|
||||||
sudo \
|
|
||||||
psmisc \
|
psmisc \
|
||||||
module-init-tools \
|
module-init-tools \
|
||||||
ed \
|
ed \
|
||||||
|
|
Reference in a new issue