Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DellEMC: Remove repeated files #11

Closed

Commits on Oct 29, 2021

  1. Add infra to support building Bullseye base image with Buster containers

    All docker containers will be built as Buster containers, from a Buster
    slave. The base image and remaining packages that are installed onto the
    host system will be built for Bullseye, from a Bullseye slave.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    2bf56d1 View commit details
    Browse the repository at this point in the history
  2. Update src/sonic-linux-kernel to point to the 5.10 kernel

    Some patches have been enabled at this point, others need more rework.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    47630e5 View commit details
    Browse the repository at this point in the history
  3. Update saibcm-modules to compile with 5.10 kernel

    Update the build rules in saibcm-modules to use the 5.10 kernel instead
    of searching for the 4.19 kernel. In addition, some code changes were
    done to get it to compile. The main categories of such changes are as
    follows:
    
    * For /proc files, `struct file_operations` has been replaced with
    `struct proc_ops`.
    * Y2038 changes to use the new APIs, since `do_gettimeofday()` is no
    longer available.
    * Minor changes in how external kernel module symbols are read by
    modpost.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    842abfb View commit details
    Browse the repository at this point in the history
  4. Update initramfs-tools from 0.133 to 0.140

    Also update the patch to add support for booting from squashfs to fix a
    shellcheck warning.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    6efc99c View commit details
    Browse the repository at this point in the history
  5. Update the base Debian system installation script to get Bullseye

    Python 2 is no longer available, so remove those packages, and remove
    the pip2 commands. For picocom and systemd, just install from the
    regular repo, since there's no backports yet.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    2d981da View commit details
    Browse the repository at this point in the history
  6. openssh: Upgrade from 7.9 to 8.4, to match version in Bullseye

    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    956ee5d View commit details
    Browse the repository at this point in the history
  7. Python 2 removal/cleanup

    Remove Python 2 package installation from the base image. For container
    builds, reference Python 2 packages only if we're not building for
    Bullseye.
    
    For libyang, don't build Python 2 bindings at all, since they don't seem
    to be used.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    d61b1a7 View commit details
    Browse the repository at this point in the history
  8. Update monit build for Bullseye

    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    899a435 View commit details
    Browse the repository at this point in the history
  9. [slave.mk]: include dhcp-relay docker in buster build targets

    dhcp relay docker is now application extension and is now
    included in $(SONIC_PACKAGES_LOCAL)
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored and saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    6dc9c47 View commit details
    Browse the repository at this point in the history
  10. Update snmpd to 5.9, as part of the Bullseye upgrade

    Debian actually did a binNMU for snmpd, so to match the package version
    we're building with the version in the offiical repos, that version
    needs to be manually specified in the changelog.
    
    Buster still needs 5.7.3, because there's a ABI change between 5.7.3 and
    5.9 for libsnmp, so for Buster, make sure that 5.7.3 is built, and for
    Bullseye, make sure that 5.9 is built.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    cc2a2d8 View commit details
    Browse the repository at this point in the history
  11. sonic-frr: Add patch to skip installing png files

    In the build in Bullseye, there are no png files available in the
    specified installation source directory. For now, don't bother
    installing those files.
    
    This may end up being reverted later if there are indeed png files that
    need to be installed for documentation.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    cd59421 View commit details
    Browse the repository at this point in the history
  12. Temporary disable building kdump-tools for the base image

    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    72b12ca View commit details
    Browse the repository at this point in the history
  13. Add Bullseye slave docker files to list of common cache files

    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    1d450d4 View commit details
    Browse the repository at this point in the history
  14. Get packages for the base image from the main repos instead of our mi…

    …rror
    
    There appears to be some network issue in the pipeline builds when
    downloading packages from our mirror. Change the source to be from the
    main debian repos to try to get around this issue.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    d7e6787 View commit details
    Browse the repository at this point in the history
  15. Upgrade to ntp 4.2.8p15 for Bullseye

    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    477cf56 View commit details
    Browse the repository at this point in the history
  16. Fix Python 3 syntax in SONiC container startup scripts

    The common startup script used for SONiC containers is calling an inline
    python command that uses Python 2 syntax, and thus errors out when run
    with Python 3. Make this work with Python 3.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    31c98bd View commit details
    Browse the repository at this point in the history
  17. Make changes needed to build a basic Broadcom image

    Vendor-specific SAI modules have been commented out. Bootup has not been
    tested.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    a557170 View commit details
    Browse the repository at this point in the history
  18. Mark the PTF docker container as a Buster container

    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    505bdee View commit details
    Browse the repository at this point in the history
  19. Update repos for Bullseye slave container

    Update the repos for amd64, and add support for at least arm64.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    971dfc2 View commit details
    Browse the repository at this point in the history
  20. Update SAI modules for Nokia and Juniper for Bullseye and 5.10 kernel

    Also, start working on getting Dell SAI module compilable on 5.10
    kernel.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    e4a2ffa View commit details
    Browse the repository at this point in the history
  21. Update SAI module for Celestica for Bullseye and 5.10 kernel

    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    ffbfebc View commit details
    Browse the repository at this point in the history
  22. Don't build and package the psample module

    The kernel already provides psample, and with module versioning being
    done in modpost, having the SDK compile its own copy of psample breaks
    loading dependent modules.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    8309713 View commit details
    Browse the repository at this point in the history
  23. Update Accton platform module for Bullseye and 5.10 kernel

    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    a23dc6b View commit details
    Browse the repository at this point in the history
  24. Add support for building Mellanox image

    ISSU will likely be broken. As of right now, the issu-version file is
    not being generated during build.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    09e510a View commit details
    Browse the repository at this point in the history
  25. For syncd, specify that they're Buster-based containers in the templa…

    …te file instead of the individual container definitions
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    001008e View commit details
    Browse the repository at this point in the history
  26. Update saibcm-modules and saibcm-modules-dnx due to kernel changes

    Add an include in saibcm-modules and saibcm-modules-dnx that are now
    needed due to Mellanox kernel patches.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    0467e86 View commit details
    Browse the repository at this point in the history
  27. Ported iptables patch to 5.10 kernel (sonic-net#4)

    Ported Iptables patch for supporting fullcone NAT option to 5.10 kernel.
    
    Signed-off-by: Kiran Kella <[email protected]>
    kirankella authored and saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    4bea5bc View commit details
    Browse the repository at this point in the history
  28. Update Centec platform support for Bullseye and 5.10 kernel (sonic-net#7

    )
    
    1. Fix build for armhf and arm64
    2. upgrade centec tsingma bsp support to 5.10 kernel
    3. modify centec platform driver for linux 5.10
    
    Co-authored-by: Shi Lei <[email protected]>
    2 people authored and saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    5b5c228 View commit details
    Browse the repository at this point in the history
  29. DellEMC bullseye merge (sonic-net#2)

    Upgrade DellEMC platforms to bullseye.
    aravindmani-1 authored and saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    ca227c7 View commit details
    Browse the repository at this point in the history
  30. Update Dell z9332f platform modules for Bullseye and 5.10 kernel. (so…

    …nic-net#5)
    
    Also add out of tree pca9548 mux driver to use platform data to mapping i2c bus with front panel port.
    
    Signed-off-by: Jakkapan Jangmuang <[email protected]>
    
    Co-authored-by: Saikrishna Arcot <[email protected]>
    jjangmua and saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    87c6056 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    daa32fd View commit details
    Browse the repository at this point in the history
  32. Mellanox bullseye merge (sonic-net#1)

    Allow mellanox platform to build and successfully switch packets in
    Debian 11
    
    Upgraded
    
    * Mellanox SDK
    * Mellanox Hardware Management
    * Mellanox Firmware
    * Mellanox Kernel Patches
    
    Adjusted build system to support host system running bullseye and
    dockers running buster.
    alexrallen authored and saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    56594e8 View commit details
    Browse the repository at this point in the history
  33. src/sonic-swss: Update to fix VLAN removal on 5.10 kernel

    There is an issue discovered by Alexander Allen where VLAN member
    removal from a VLAN doesn't fully happen on a 5.10 kernel. The reason
    for this is that there is a change in the output of the `bridge vlan
    show` command between the 4.19 kernel and the 5.10 kernel. To add to
    this, the output is different depending on whether iproute2 4.20 or
    iproute2 5.10 is installed. These output changes cause only some of the
    VLAN member removal code to run; specifically, the interface will not be
    the member of a VLAN anymore, but it will still be part of the bridge.
    
    Therefore, update the code that parses the output of `bridge vlan show` to
    handle the new formats.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    2c68877 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2021

  1. Upgrade new DellEMC platforms to bullseye kernel (sonic-net#10)

    * Upgrade new DellEMC platforms to Bullseye
    
    * Update s5212f kernel module
    aravindmani-1 authored Nov 1, 2021
    Configuration menu
    Copy the full SHA
    efa601f View commit details
    Browse the repository at this point in the history
  2. Mellanox bullseye merge (sonic-net#1)

    * Make neccesary changed to mellanox platform code to build on Debian 11
    
    * Revert use of backported kernel to build mft and elect to only build kernel module under bullseye
    alexrallen authored Nov 1, 2021
    Configuration menu
    Copy the full SHA
    1d32c05 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. Remove repeated files

    aravindmani-1 committed Nov 2, 2021
    1 Configuration menu
    Copy the full SHA
    d3d3f3c View commit details
    Browse the repository at this point in the history