[security] Upgrade kernel from 3.16.57-2 to 3.16.68-2 on 201803 branch (#3052)
* [security] Upgrade kernel from 3.16.57-2 to 3.16.68-2 on 201803 branch
This commit is contained in:
parent
3459c54c89
commit
f93bd6ff37
@ -114,7 +114,7 @@ echo '[INFO] Install SONiC linux kernel image'
|
||||
## Note: duplicate apt-get command to ensure every line return zero
|
||||
sudo dpkg --root=$FILESYSTEM_ROOT -i target/debs/initramfs-tools_*.deb || \
|
||||
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f
|
||||
sudo dpkg --root=$FILESYSTEM_ROOT -i target/debs/linux-image-3.16.0-6-amd64_*.deb || \
|
||||
sudo dpkg --root=$FILESYSTEM_ROOT -i target/debs/linux-image-3.16.0-9-amd64_*.deb || \
|
||||
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f
|
||||
|
||||
## Update initramfs for booting with squashfs+aufs
|
||||
@ -152,10 +152,10 @@ sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/hooks/union-fsck
|
||||
sudo chroot $FILESYSTEM_ROOT update-initramfs -u
|
||||
|
||||
## Install latest intel igb driver
|
||||
sudo cp target/debs/igb.ko $FILESYSTEM_ROOT/lib/modules/3.16.0-6-amd64/kernel/drivers/net/ethernet/intel/igb/igb.ko
|
||||
sudo cp target/debs/igb.ko $FILESYSTEM_ROOT/lib/modules/3.16.0-9-amd64/kernel/drivers/net/ethernet/intel/igb/igb.ko
|
||||
|
||||
## Install latest intel ixgbe driver
|
||||
sudo cp target/debs/ixgbe.ko $FILESYSTEM_ROOT/lib/modules/3.16.0-6-amd64/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
|
||||
sudo cp target/debs/ixgbe.ko $FILESYSTEM_ROOT/lib/modules/3.16.0-9-amd64/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
|
||||
|
||||
## Install docker
|
||||
echo '[INFO] Install docker'
|
||||
|
@ -2,16 +2,16 @@
|
||||
Description=switch state service
|
||||
Requires=database.service updategraph.service
|
||||
{% if sonic_asic_platform == 'broadcom' %}
|
||||
Requires=opennsl-modules-3.16.0-6-amd64.service
|
||||
Requires=opennsl-modules-3.16.0-9-amd64.service
|
||||
{% elif sonic_asic_platform == 'nephos' %}
|
||||
Requires=nps-modules-3.16.0-6-amd64.service
|
||||
Requires=nps-modules-3.16.0-9-amd64.service
|
||||
{% endif %}
|
||||
After=database.service updategraph.service
|
||||
After=interfaces-config.service
|
||||
{% if sonic_asic_platform == 'broadcom' %}
|
||||
After=opennsl-modules-3.16.0-6-amd64.service
|
||||
After=opennsl-modules-3.16.0-9-amd64.service
|
||||
{% elif sonic_asic_platform == 'nephos' %}
|
||||
After=nps-modules-3.16.0-6-amd64.service
|
||||
After=nps-modules-3.16.0-9-amd64.service
|
||||
{% endif %}
|
||||
Before=ntp-config.service
|
||||
|
||||
|
@ -570,11 +570,11 @@ menuentry '$demo_grub_entry' {
|
||||
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
|
||||
insmod part_msdos
|
||||
insmod ext2
|
||||
linux /$image_dir/boot/vmlinuz-3.16.0-6-amd64 root=$grub_cfg_root rw $GRUB_CMDLINE_LINUX \
|
||||
linux /$image_dir/boot/vmlinuz-3.16.0-9-amd64 root=$grub_cfg_root rw $GRUB_CMDLINE_LINUX \
|
||||
loop=$image_dir/$FILESYSTEM_SQUASHFS loopfstype=squashfs \
|
||||
apparmor=1 security=apparmor varlog_size=$VAR_LOG_SIZE usbcore.autosuspend=-1 $ONIE_PLATFORM_EXTRA_CMDLINE_LINUX
|
||||
echo 'Loading $demo_volume_label $demo_type initial ramdisk ...'
|
||||
initrd /$image_dir/boot/initrd.img-3.16.0-6-amd64
|
||||
initrd /$image_dir/boot/initrd.img-3.16.0-9-amd64
|
||||
}
|
||||
EOF
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# mock link here, need to be replaced by real link from MSFT
|
||||
|
||||
BRCM_OPENNSL_KERNEL = opennsl-modules-3.16.0-6-amd64_3.4.1.11-7_amd64.deb
|
||||
$(BRCM_OPENNSL_KERNEL)_URL = "https://sonicstorage.blob.core.windows.net/packages/bcmsai/opennsl-modules-3.16.0-6-amd64_3.4.1.11-7_amd64.deb?sv=2015-04-05&sr=b&sig=HGePoJSCcURIMW3bPRh5iXlx6z5SWiElmqD44mqUchI%3D&se=2155-08-28T16%3A31%3A48Z&sp=r"
|
||||
BRCM_OPENNSL_KERNEL = opennsl-modules-3.16.0-9-amd64_3.4.1.11-10_amd64.deb
|
||||
$(BRCM_OPENNSL_KERNEL)_URL = "https://sonicstorage.blob.core.windows.net/packages/bcmsai/opennsl-modules-3.16.0-9-amd64_3.4.1.11-10_amd64.deb?sv=2015-04-05&sr=b&sig=0C%2BKTCaAOngViNcztUUOEPg1IyC4bgQ8ifUYQAd9EtY%3D&se=2033-02-27T18%3A36%3A46Z&sp=r"
|
||||
|
||||
SONIC_ONLINE_DEBS += $(BRCM_OPENNSL_KERNEL)
|
||||
|
@ -39,7 +39,7 @@ User is not necessary to handle docker environment creation.
|
||||
- Copy patches and series from patch/kernel of this release to
|
||||
sonic-linux-kernel/patch.
|
||||
- Build kernel by "make".
|
||||
- The built kernel package, linux-image-3.16.0-6-amd64_3.16.51-3+deb8u1_amd64.deb
|
||||
- The built kernel package, linux-image-3.16.0-9-amd64_3.16.51-3+deb8u1_amd64.deb
|
||||
, is generated.
|
||||
3. Build installer
|
||||
- Change directory back to sonic-buildimage/.
|
||||
@ -52,7 +52,7 @@ User is not necessary to handle docker environment creation.
|
||||
The default user and password are "admin" & "YourPaSsWoRd" respectively.
|
||||
- Run "make configure PLATFORM=broadcom"
|
||||
- Copy the built kernel debian package to target/debs/.
|
||||
The file is linux-image-3.16.0-6-amd64_*_amd64.deb under directory
|
||||
The file is linux-image-3.16.0-9-amd64_*_amd64.deb under directory
|
||||
src/sonic-linux-kernel/.
|
||||
- Run "make target/sonic-generic.bin"
|
||||
- Get the installer, target/sonic-generic.bin, to target machine and install.
|
||||
|
@ -39,7 +39,7 @@ User is not necessary to handle docker environment creation.
|
||||
- Copy patches and series from patch/kernel of this release to
|
||||
sonic-linux-kernel/patch.
|
||||
- Build kernel by "make".
|
||||
- The built kernel package, linux-image-3.16.0-6-amd64_3.16.51-3+deb8u1_amd64.deb
|
||||
- The built kernel package, linux-image-3.16.0-9-amd64_3.16.51-3+deb8u1_amd64.deb
|
||||
, is generated.
|
||||
3. Build installer
|
||||
- Change directory back to sonic-buildimage/.
|
||||
@ -52,7 +52,7 @@ User is not necessary to handle docker environment creation.
|
||||
The default user and password are "admin" & "YourPaSsWoRd" respectively.
|
||||
- Run "make configure PLATFORM=broadcom"
|
||||
- Copy the built kernel debian package to target/debs/.
|
||||
The file is linux-image-3.16.0-6-amd64_*_amd64.deb under directory
|
||||
The file is linux-image-3.16.0-9-amd64_*_amd64.deb under directory
|
||||
src/sonic-linux-kernel/.
|
||||
- Run "make target/sonic-generic.bin"
|
||||
- Get the installer, target/sonic-generic.bin, to target machine and install.
|
||||
|
@ -39,7 +39,7 @@ User is not necessary to handle docker environment creation.
|
||||
- Copy patches and series from patch/kernel of this release to
|
||||
sonic-linux-kernel/patch.
|
||||
- Build kernel by "make".
|
||||
- The built kernel package, linux-image-3.16.0-6-amd64_3.16.51-3+deb8u1_amd64.deb
|
||||
- The built kernel package, linux-image-3.16.0-9-amd64_3.16.51-3+deb8u1_amd64.deb
|
||||
, is generated.
|
||||
3. Build installer
|
||||
- Change directory back to sonic-buildimage/.
|
||||
@ -52,7 +52,7 @@ User is not necessary to handle docker environment creation.
|
||||
The default user and password are "admin" & "YourPaSsWoRd" respectively.
|
||||
- Run "make configure PLATFORM=broadcom"
|
||||
- Copy the built kernel debian package to target/debs/.
|
||||
The file is linux-image-3.16.0-6-amd64_*_amd64.deb under directory
|
||||
The file is linux-image-3.16.0-9-amd64_*_amd64.deb under directory
|
||||
src/sonic-linux-kernel/.
|
||||
- Run "make target/sonic-generic.bin"
|
||||
- Get the installer, target/sonic-generic.bin, to target machine and install.
|
||||
|
@ -7,35 +7,35 @@ Standards-Version: 3.9.3
|
||||
|
||||
Package: sonic-platform-accton-as7712-32x
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
Package: sonic-platform-accton-as5712-54x
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
Package: sonic-platform-accton-as7816-64x
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
Package: sonic-platform-accton-as7716-32x
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
Package: sonic-platform-accton-as7716-32xb
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
Package: sonic-platform-accton-as7312-54x
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
Package: sonic-platform-accton-as7326-56x
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
Description=Arista kernel modules init
|
||||
After=local-fs.target
|
||||
Before=opennsl-modules-3.16.0-6-amd64.service
|
||||
Before=opennsl-modules-3.16.0-9-amd64.service
|
||||
ConditionKernelCommandLine=Aboot
|
||||
|
||||
[Service]
|
||||
|
@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
Description=Disable the watchdog after boot
|
||||
After=swss.service
|
||||
After=opennsl-modules-3.16.0-6-amd64.service
|
||||
After=opennsl-modules-3.16.0-9-amd64.service
|
||||
ConditionKernelCommandLine=sid=Gardena
|
||||
|
||||
[Service]
|
||||
|
@ -21,7 +21,7 @@ Package: drivers-sonic-platform-arista
|
||||
Architecture: amd64
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
linux-image-3.16.0-6-amd64
|
||||
linux-image-3.16.0-9-amd64
|
||||
Description: Arista kernel modules for arista platform devices such as fan, led, sfp, psu
|
||||
|
||||
Package: python-sonic-platform-arista
|
||||
|
@ -18,8 +18,8 @@
|
||||
|
||||
set -x
|
||||
|
||||
kernel=boot/vmlinuz-3.16.0-6-amd64
|
||||
initrd=boot/initrd.img-3.16.0-6-amd64
|
||||
kernel=boot/vmlinuz-3.16.0-9-amd64
|
||||
initrd=boot/initrd.img-3.16.0-9-amd64
|
||||
kernel_params=kernel-params
|
||||
|
||||
aboot_machine="arista_unknown"
|
||||
|
@ -7,6 +7,6 @@ Standards-Version: 3.9.3
|
||||
|
||||
Package: platform-modules-dx010
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
|
@ -7,11 +7,11 @@ Standards-Version: 3.9.3
|
||||
|
||||
Package: platform-modules-z9100
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
Package: platform-modules-s6100
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
|
@ -7,15 +7,15 @@ Standards-Version: 3.9.3
|
||||
|
||||
Package: platform-modules-ag9032v1
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
Package: platform-modules-ag9064
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
Package: platform-modules-ag5648
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
@ -7,11 +7,11 @@ Standards-Version: 3.9.3
|
||||
|
||||
Package: platform-modules-d7032q28b
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led
|
||||
|
||||
Package: platform-modules-d7054q28b
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led
|
||||
|
||||
|
@ -7,6 +7,6 @@ Standards-Version: 3.9.3
|
||||
|
||||
Package: sonic-platform-mitac-ly1200-32x
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
|
@ -7,6 +7,6 @@ Standards-Version: 3.9.3
|
||||
|
||||
Package: sonic-platform-quanta-ix1b-32x
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as psu, led, sfp
|
||||
|
||||
|
@ -7,6 +7,6 @@ Standards-Version: 3.9.3
|
||||
|
||||
Package: platform-modules-s6000
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
|
@ -7,11 +7,11 @@ Standards-Version: 3.9.3
|
||||
|
||||
Package: platform-modules-e582-48x2q4z
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
Package: platform-modules-e582-48x6q
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
MLNX_SDK_BASE_URL = https://github.com/Mellanox/SAI-Implementation/raw/a8ae004f7c24638424ad70196d7ea4e6aea7f05b/sdk
|
||||
MLNX_SDK_BASE_URL = https://github.com/Mellanox/SAI-Implementation/raw/c9d660b6c170a67e5416e39ce157e3e7d7f19811/sdk
|
||||
MLNX_SDK_VERSION = 4.2.7304
|
||||
MLNX_SDK_RDEBS += $(APPLIBS) $(IPROUTE2_MLNX) $(SX_ACL_RM) $(SX_COMPLIB) \
|
||||
$(SX_EXAMPLES) $(SX_GEN_UTILS) $(SX_SCEW) $(SX_SDN_HAL) \
|
||||
|
@ -1,5 +1,5 @@
|
||||
SDK_VERSION = 2.0.5
|
||||
LINUX_VER = 3.16.0-6
|
||||
LINUX_VER = 3.16.0-9
|
||||
SDK_COMMIT_ID = f2e56f
|
||||
NEPHOS_NPS_KERNEL = nps-modules-$(LINUX_VER)_$(SDK_VERSION)_$(SDK_COMMIT_ID)_amd64.deb
|
||||
$(NEPHOS_NPS_KERNEL)_URL = "https://github.com/NephosInc/SONiC/raw/master/sdk/nps-modules-$(LINUX_VER)_$(SDK_VERSION)_$(SDK_COMMIT_ID)_amd64.deb"
|
||||
|
@ -7,5 +7,5 @@ Standards-Version: 3.9.3
|
||||
|
||||
Package: sonic-platform-accton-as7116-54x
|
||||
Architecture: amd64
|
||||
Depends: linux-image-3.16.0-6-amd64
|
||||
Depends: linux-image-3.16.0-9-amd64
|
||||
Description: kernel modules for platform devices such as fan, led, sfp
|
||||
|
@ -1,8 +1,8 @@
|
||||
# linux kernel package
|
||||
|
||||
KVERSION_SHORT = 3.16.0-6
|
||||
KVERSION_SHORT = 3.16.0-9
|
||||
KVERSION ?= $(KVERSION_SHORT)-amd64
|
||||
KERNEL_VERSION = 3.16.57
|
||||
KERNEL_VERSION = 3.16.68
|
||||
KERNEL_SUBVERSION = 2
|
||||
|
||||
export KVERSION_SHORT KVERSION KERNEL_VERSION KERNEL_SUBVERSION
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 3893844286d77be4d3dc185e51d511494d359c1b
|
||||
Subproject commit 9ccb78e534c9d1d390d47f8a7c282ae903f6f362
|
Reference in New Issue
Block a user