1
0
Fork 0

Split keys from files

This commit is contained in:
Braiden Vasco 2017-07-06 20:26:21 +00:00
parent 0080cda758
commit 4e5d342262
3 changed files with 2 additions and 2 deletions

View file

@ -137,7 +137,7 @@ if [ ! -d "$ROOTFS_DIR" ]; then
capsh --drop=cap_setfcap -- -c "$BOOTSTRAP_CMD \
--components=main,contrib,non-free \
--arch armhf \
--keyring ./files/raspberrypi.gpg \
--keyring ./keys/raspberrypi.gpg \
jessie \
$ROOTFS_DIR \
http://mirrordirector.raspbian.org/raspbian/" || rmdir "$ROOTFS_DIR/debootstrap/"
@ -173,7 +173,7 @@ ln -nsf /proc/mounts "$ROOTFS_DIR/etc/mtab"
#
install -m 644 files/apt/sources.list "$ROOTFS_DIR/etc/apt/sources.list"
on_chroot apt-key add - < files/apt/raspberrypi.gpg.asc
on_chroot apt-key add - < keys/raspberrypi.gpg.asc
install -m 644 files/apt/preferences.d/raspberrypi-kernel-and-bootloader "$ROOTFS_DIR/etc/apt/preferences.d/raspberrypi-kernel-and-bootloader"