1
0
Fork 0

Organize APT files

This commit is contained in:
Braiden Vasco 2017-07-06 16:07:48 +00:00
parent d58aede366
commit 062628e390
5 changed files with 4 additions and 4 deletions

View File

@ -171,13 +171,13 @@ ln -nsf /proc/mounts "$ROOTFS_DIR/etc/mtab"
##
# Prepare package manager.
#
install -m 644 files/sources.list "$ROOTFS_DIR/etc/apt/sources.list"
install -m 644 files/apt/sources.list "$ROOTFS_DIR/etc/apt/sources.list"
on_chroot apt-key add - < files/raspberrypi.gpg.key
on_chroot apt-key add - < files/apt/raspberrypi.gpg.asc
install -m 644 files/raspberrypi-kernel-and-bootloader "$ROOTFS_DIR/etc/apt/preferences.d/raspberrypi-kernel-and-bootloader"
install -m 644 files/apt/preferences "$ROOTFS_DIR/etc/apt/preferences.d/raspberrypi-kernel-and-bootloader"
install -m 644 files/50raspi "$ROOTFS_DIR/etc/apt/apt.conf.d/50raspi"
install -m 644 files/apt/50raspi "$ROOTFS_DIR/etc/apt/apt.conf.d/50raspi"
on_chroot << EOF
apt-get update