Skip to content
Snippets Groups Projects
  1. Jan 20, 2025
  2. Jul 05, 2024
  3. Jan 24, 2023
  4. Sep 05, 2021
  5. Jul 05, 2021
  6. Jan 14, 2021
  7. Dec 21, 2020
  8. Oct 22, 2020
  9. Oct 07, 2020
    • Alessandro Rubini's avatar
      patches/buildroot: turn all patches into git ones (no change) · ae852163
      Alessandro Rubini authored
      
      This adds the git headers, so we can easily rebuild a buildroot-for-wrs
      tree to add more patches.
      
      This is how I do it now (where "wrs-build" and "wr-switch-sw" are
      at the same directory level.
      
         cd wrs-build
      
          mkdir tmp; cd tmp
         tar xf ../downloads/buildroot-2016.02.tar.bz2
         cd buildroot-2016.02/
      
         git init; git add .; git commit -m "buildroot-2016.02 as untarred"
         git am ../../../wr-switch-sw/patches/buildroot/00*
         mv .git ../../build/buildroot-2016.02/
      
         cd ../../build/buildroot-2016.02
         <work-here>
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      ae852163
  10. Aug 28, 2020
  11. Jul 06, 2020
  12. May 20, 2020
  13. Jan 28, 2020
  14. Jun 24, 2019
  15. Jun 07, 2019
    • Adam Wujek's avatar
      patches/buildroot: set change date to 1 if passwd on 1st Jan 1970 · 00e214e2
      Adam Wujek authored
      
      When the passwd is called on a system with a date set to 1st Jan
      1970, the change date is set to 0, which has a special meaning:
      "The value 0 has a special meaning, which is that the user should change
      her pasword the next time she will log in the system."
      Thanks to this patch, when the password is changed on 1st on Jun 1970 the
      change date is set to 1.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      00e214e2
  16. Jun 03, 2019
  17. Jan 29, 2019
  18. Jul 18, 2018
  19. Jan 17, 2017
  20. Jan 12, 2017
  21. Dec 14, 2016
  22. Dec 01, 2016
  23. Sep 23, 2016
    • Adam Wujek's avatar
      [Bug: 1219] rootfs/www: fix problem with uploading the firmware · a71cbce8
      Adam Wujek authored
      
      PHP code of the web interface was updating values of "upload_max_filesize"
      and "post_max_size" in the /etc/php.ini. Besides it is extremely bad idea to
      do that, such changes to take place require restart of lighttpd, which was
      never performed. Luckily after the update of /etc/php.ini it was also copied
      to flash at the location /usr/etc/php.ini. Because of this update via
      webinterface worked only when:
      --firmware.php was opened via web browser
      --restart of a switch was performed
      
      The fix contains a patch to set these values in the php.ini and remove
      the update of php.ini by php code.
      
      Set maximum upload limit size to 30M in php.ini.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      a71cbce8
  24. Jul 07, 2016
  25. Feb 24, 2016
  26. Mar 11, 2015
    • Adam Wujek's avatar
      patches/barebox: fix tftp boot sequence · 1140c4b1
      Adam Wujek authored
      
      Second test of $? value was not always result of command
      "tftp $eth0.ipaddr/wrboot wrboot", but sometimes result of first if statement
      (in case first tftp was successful).
      
      In other words, when there was file wrboot-$eth0.ethaddr on tftp server, script
      was still fetching and executing wrboot.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      1140c4b1