Skip to content
Snippets Groups Projects
  1. Dec 19, 2023
  2. Oct 18, 2023
  3. Mar 18, 2023
  4. Jan 10, 2023
  5. May 07, 2022
  6. Feb 22, 2022
  7. Feb 20, 2022
  8. Dec 31, 2021
  9. Dec 24, 2021
  10. Oct 07, 2021
  11. Jul 23, 2021
    • lemoer's avatar
      contrib: add push_pkg.sh to enhance package development workflow (v2) (#2023) · d4dee692
      lemoer authored
      v2: In contrast to the last patches, this is now built on top of ssh
          only, without using e.g. 9pfs. Furthermore it works also with
          arbitary remote hosts on any target/architecture. Also the
          scripts were renamed and moved to /scripts.
      
      The aim of this commit is to allow fast rebuild cycles during the
      development of gluon packages.
      
      Currently the following workflow can be used:
      
      	# start a local qemu instance
      	scripts/run_qemu.sh output/images/factory/[...].img
      
      	# do your changes in the file you want to patch
      	vi package/gluon-ebtables/files/etc/init.d/gluon-ebtables
      
      	# rebuild and update the package
      	scripts/push_pkg.sh package/gluon-ebtables/
      
      	# test your changes
      	...
      
      	# do more changes
      	...
      
      	# rebuild and update the package
      	scripts/push_pkg.sh package/gluon-ebtables/
      
      	# test your changes
      	...
      
      	(and so on...)
      
      Implementation details:
      - Currently this is based on ssh/scp.
      - Opkg is used to install/update the packages in the remote machine.
      
      Benefits:
      - This works with compiled and non-compiled packages.
      - This works with native OpenWrt and Gluon packages.
      - This even performs the check_site.lua checks as they are integrated
        as post_install scripts into the openwrt package.
      - It works for all architectures/targets.
      Unverified
      d4dee692
  12. Jun 26, 2021
  13. May 27, 2021
  14. Aug 28, 2020
    • Matthias Schiffer's avatar
      features: fix handling of logical expressions · 13b743d5
      Matthias Schiffer authored
      The rewrite of the feature handling introduced multiple major bugs. One
      of them was caused by the way Lua's logical operators work:
      
      An expression of the form
      
          _'autoupdater' and _'web-advanced'
      
      would return 'web-advanced' rather than the boolean true when _ returned
      both strings unchanged (because the features are enabled).
      
      As entries with more than a single feature name in their expressions did
      not set no_default, Gluon would then attempt to add gluon-web-advanced to
      the package selection, as web-advanced is a "pure" feature.
      
      To fix this, and get rid of the annoying nodefault, separate handling of
      "pure" feature and handling of logical expressions into two separate
      functions, called feature() and when(). To simplify the feature
      definitions, the package list is now passed directly to these functions
      rather than in a table with a single field 'packages'.
      
      Fixes: ee5ec5af ("build: rewrite features.sh in Lua")
      13b743d5
  15. Aug 13, 2020
  16. Jul 01, 2020
    • Matthias Schiffer's avatar
      build: rewrite features.sh in Lua · ee5ec5af
      Matthias Schiffer authored
      The `features` file is converted to a Lua-based DSL.
      
      A helper function `_` is used in the DSL; this will return the original
      string for enabled features, and nil for disabled features. This allows
      to use boolean operations on features without making the code too
      verbose.
      
      Besides having more readable and robust code, this also fixes the bug
      that all files `packages/*/features` were evaluated instead of only
      using the feature definitions of currently active feeds.
      ee5ec5af
  17. Jun 04, 2020
    • chrissi^'s avatar
      openwrt: Store Kernel Debug-Info (#1971) · 1956696d
      chrissi^ authored
      
      This change stores a Kernel with Debug-Symbols for the current
      architecture in a new output directory '<outputdir>/debug'.
      This allows a developer or operator of a network to store the kernel
      along with the actual images. In case of a kernel oops the debug
      information can be used with the script
      'scripts/decode_stacktrace.sh' in the kernel source tree to get the
      names to the symbols of the stack trace.
      
      OpenWRT already provides the CONFIG_COLLECT_KERNEL_DEBUG -option that
      creates a kernel with debug-symbols in the OpenWRT output directory.
      This change enables this option and copies the generated kernel to the
      gluon output directory.
      
      Signed-off-by: default avatarChrissi^ <chris@tinyhost.de>
      Unverified
      1956696d
  18. May 31, 2020
  19. May 02, 2020
  20. Apr 11, 2020
  21. Apr 09, 2020
  22. Mar 25, 2020
  23. Mar 08, 2020
  24. Dec 28, 2019
  25. Dec 06, 2019
  26. Nov 07, 2019
  27. Jun 29, 2019
  28. Jun 26, 2019
  29. Jun 24, 2019
  30. Apr 02, 2019
  31. Mar 23, 2019
  32. Mar 10, 2019
  33. Feb 07, 2019
  34. Aug 15, 2018
  35. Jul 10, 2018
  36. Jul 07, 2018
  37. Jun 23, 2018
  38. Mar 12, 2018
Loading