Skip to content
Snippets Groups Projects
  1. Sep 15, 2023
  2. Sep 10, 2023
    • Matthias Schiffer's avatar
      contrib: Dockerfile: install libnss-unknown · c8bbef80
      Matthias Schiffer authored
      While Podman automatically populates /etc/passwd and /etc/group with
      matching entries for the mapped host user, such a feature is missing
      from Docker. Install libnss-unknown, which will return passwd entries of
      the form "uid-1000" for all unknown UIDs, to avoid warnings and other
      weird behaviour that may occur when running as an unnamed user.
      
      `-o` must be passed to useradd now to allow non-unique user entries, as
      with libnss-unknown, every UID is considered occupied.
      Unverified
      c8bbef80
    • Matthias Schiffer's avatar
      contrib: Dockerfile: use UID/GID 100 for gluon user · 4ada0c4e
      Matthias Schiffer authored
      To make the container behave the same regardless of the UIDs used
      outside of the container, choose a UID that is unlikely to be used by
      the user mounting their build directory the container. 100 should not
      conflict with common defaults on Linux (min UID 1000) or MacOS X
      (min UID 500). Conveniently, there is already a group "users" at GID
      100, so creating a new group can be avoided.
      Unverified
      4ada0c4e
    • Magnus Frühling's avatar
      contrib: Dockerfile: actually create gluon user directory · 9f904754
      Magnus Frühling authored
      Initialize the /gluon volume with the contents of /etc/skel.
      
      [Matthias Schiffer: extend commit message]
      Unverified
      9f904754
    • Matthias Schiffer's avatar
      contrib: depdot: use processed package info · 57a95b08
      Matthias Schiffer authored
      Instead of poorly parsing Makefiles using grep, use OpenWrt's processed
      package info files. This fixes handling of DEPENDS fields spanning
      multiple lines and adds support for source packages building multiple
      binary packages.
      
      Closes #2814
      Unverified
      57a95b08
  3. Aug 21, 2023
  4. Aug 09, 2023
  5. Apr 02, 2023
  6. Jan 20, 2023
  7. Jan 15, 2023
  8. Jan 10, 2023
  9. Jan 03, 2023
  10. Dec 18, 2022
  11. Nov 07, 2022
  12. Aug 30, 2022
  13. Jun 22, 2022
  14. May 28, 2022
  15. May 27, 2022
  16. May 21, 2022
  17. Mar 23, 2022
  18. Jan 23, 2022
  19. Jan 03, 2022
  20. Dec 21, 2021
    • Martin Weinelt's avatar
      Add helper to run a containerized build environment (#2292) · 6728c4a1
      Martin Weinelt authored
      Using `make container` or, if you don't have automake/gmake on your host
      system, `./scripts/container.sh` will build an image for the current
      branch your are on and drop you into a shell running inside a container
      using that image.
      
      From there all tooling required to work on Gluon is available.
      
      Supports both podman (preferred) and docker.
      Unverified
      6728c4a1
  21. Sep 19, 2021
  22. Sep 06, 2021
  23. Aug 11, 2021
  24. Aug 10, 2021
  25. 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
  26. Jun 21, 2021
  27. May 01, 2021
  28. Apr 07, 2021
  29. Apr 05, 2021
Loading