From bc394942d0580588f05c8e0ce53ccbb56ea1c572 Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Wed, 5 Jul 2017 05:13:34 +0000 Subject: [PATCH] Pin Raspberry Pi kernel and bootloader packages --- build.sh | 2 ++ files/raspberrypi-kernel-and-bootloader | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 files/raspberrypi-kernel-and-bootloader diff --git a/build.sh b/build.sh index 71e6767..16d68f2 100755 --- a/build.sh +++ b/build.sh @@ -175,6 +175,8 @@ install -m 644 files/sources.list "$ROOTFS_DIR/etc/apt/" on_chroot apt-key add - < files/raspberrypi.gpg.key +install -m 644 files/raspberrypi-kernel-and-bootloader "$ROOTFS_DIR/etc/apt/preferences.d/" + on_chroot << EOF apt-get update apt-get dist-upgrade -y diff --git a/files/raspberrypi-kernel-and-bootloader b/files/raspberrypi-kernel-and-bootloader new file mode 100644 index 0000000..3eda469 --- /dev/null +++ b/files/raspberrypi-kernel-and-bootloader @@ -0,0 +1,11 @@ +Package: raspberrypi-kernel +Pin: version 1.20170515-1 +Pin-Priority: 1100 + +Package: raspberrypi-kernel-headers +Pin: version 1.20170515-1 +Pin-Priority: 1100 + +Package: raspberrypi-bootloader +Pin: version 1.20170515-1 +Pin-Priority: 1100