Reorder code
This commit is contained in:
parent
4603e63a6d
commit
465d9d61b5
1 changed files with 2 additions and 5 deletions
7
build.sh
7
build.sh
|
@ -178,6 +178,8 @@ on_chroot apt-key add - < files/raspberrypi.gpg.key
|
|||
|
||||
install -m 644 files/raspberrypi-kernel-and-bootloader "$ROOTFS_DIR/etc/apt/preferences.d/"
|
||||
|
||||
install -m 644 files/50raspi "$ROOTFS_DIR/etc/apt/apt.conf.d/"
|
||||
|
||||
on_chroot << EOF
|
||||
apt-get update
|
||||
apt-get dist-upgrade -y
|
||||
|
@ -303,11 +305,6 @@ apply_patches '05-swap.diff'
|
|||
#
|
||||
apply_patches '06-path.diff'
|
||||
|
||||
##
|
||||
# Configure APT.
|
||||
#
|
||||
install -m 644 files/50raspi "$ROOTFS_DIR/etc/apt/apt.conf.d/"
|
||||
|
||||
##
|
||||
# Wi-Fi firmware and tools.
|
||||
#
|
||||
|
|
Reference in a new issue