Skip to content

Commit 7238a01

Browse files
committed
[kernel]: upgrade linux kernel to 4.9.0-5 (4.9.65-3+deb9u2) (#8)
1 parent d296fba commit 7238a01

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

build_debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ set -x -e
3030

3131
## docker engine version (with platform)
3232
DOCKER_VERSION=1.11.1-0~stretch_amd64
33-
LINUX_KERNEL_VERSION=4.9.0-3
33+
LINUX_KERNEL_VERSION=4.9.0-5
3434

3535
## Working directory to prepare the file system
3636
FILESYSTEM_ROOT=./fsroot

files/build_templates/swss.service.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
Description=switch state service
33
Requires=database.service updategraph.service
44
{% if sonic_asic_platform == 'broadcom' %}
5-
Requires=opennsl-modules-4.9.0-3-amd64.service
5+
Requires=opennsl-modules-4.9.0-5-amd64.service
66
{% elif sonic_asic_platform == 'nephos' %}
7-
Requires=nps-modules-4.9.0-3-amd64.service
7+
Requires=nps-modules-4.9.0-5-amd64.service
88
{% endif %}
99
After=database.service updategraph.service
1010
After=interfaces-config.service
1111
{% if sonic_asic_platform == 'broadcom' %}
12-
After=opennsl-modules-4.9.0-3-amd64.service
12+
After=opennsl-modules-4.9.0-5-amd64.service
1313
{% elif sonic_asic_platform == 'nephos' %}
14-
After=nps-modules-4.9.0-3-amd64.service
14+
After=nps-modules-4.9.0-5-amd64.service
1515
{% endif %}
1616

1717
[Service]

installer/x86_64/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,12 +570,12 @@ menuentry '$demo_grub_entry' {
570570
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
571571
insmod part_msdos
572572
insmod ext2
573-
linux /$image_dir/boot/vmlinuz-4.9.0-3-amd64 root=$grub_cfg_root rw $GRUB_CMDLINE_LINUX \
573+
linux /$image_dir/boot/vmlinuz-4.9.0-5-amd64 root=$grub_cfg_root rw $GRUB_CMDLINE_LINUX \
574574
net.ifnames=0 biosdevname=0 \
575575
loop=$image_dir/$FILESYSTEM_SQUASHFS loopfstype=squashfs \
576576
apparmor=1 security=apparmor varlog_size=$VAR_LOG_SIZE usbcore.autosuspend=-1 $ONIE_PLATFORM_EXTRA_CMDLINE_LINUX
577577
echo 'Loading $demo_volume_label $demo_type initial ramdisk ...'
578-
initrd /$image_dir/boot/initrd.img-4.9.0-3-amd64
578+
initrd /$image_dir/boot/initrd.img-4.9.0-5-amd64
579579
}
580580
EOF
581581

platform/broadcom/sdk.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
BRCM_OPENNSL_KERNEL = opennsl-modules-4.9.0-3-amd64_3.2.3.3-2_amd64.deb
2-
$(BRCM_OPENNSL_KERNEL)_URL = "https://sonicstorage.blob.core.windows.net/packages/opennsl-modules-4.9.0-3-amd64_3.2.3.3-2_amd64.deb?sv=2015-04-05&sr=b&sig=HieTgULvva7WlMRegUhfoRFqkj2Oe9sAVxU%2FgCGj9Ys%3D&se=2154-09-28T04%3A46%3A03Z&sp=r"
1+
BRCM_OPENNSL_KERNEL = opennsl-modules-4.9.0-5-amd64_3.2.3.7-1_amd64.deb
2+
$(BRCM_OPENNSL_KERNEL)_URL = "https://sonicstorage.blob.core.windows.net/packages/opennsl-modules-4.9.0-5-amd64_3.2.3.7-1_amd64.deb?sv=2015-04-05&sr=b&sig=nju9vaqIjRlzV7V0wirMP6%2FNCJRsNqC%2FdqdqgxA0wrQ%3D&se=2154-12-03T07%3A37%3A17Z&sp=r"
33

44
SONIC_ONLINE_DEBS += $(BRCM_OPENNSL_KERNEL)

rules/linux-kernel.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# linux kernel package
22

3-
KVERSION_SHORT = 4.9.0-3
3+
KVERSION_SHORT = 4.9.0-5
44
KVERSION = $(KVERSION_SHORT)-amd64
5-
KERNEL_VERSION = 4.9.30
6-
KERNEL_SUBVERSION = 2+deb9u5
5+
KERNEL_VERSION = 4.9.65
6+
KERNEL_SUBVERSION = 3+deb9u2
77

88
export KVERSION_SHORT KVERSION KERNEL_VERSION KERNEL_SUBVERSION
99

0 commit comments

Comments
 (0)