Pin Raspberry Pi kernel and bootloader packages
This commit is contained in:
parent
b1244bc2a3
commit
bc394942d0
2 changed files with 13 additions and 0 deletions
2
build.sh
2
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
|
||||
|
|
11
files/raspberrypi-kernel-and-bootloader
Normal file
11
files/raspberrypi-kernel-and-bootloader
Normal file
|
@ -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
|
Reference in a new issue