Skip to content
Snippets Groups Projects
  1. Nov 07, 2023
  2. Oct 20, 2023
  3. Oct 12, 2023
  4. Sep 15, 2023
  5. 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.
      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.
      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]
      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
      57a95b08
  6. Aug 21, 2023
  7. Aug 09, 2023
  8. Apr 02, 2023
  9. Jan 20, 2023
  10. Jan 15, 2023
  11. Jan 10, 2023
  12. Jan 03, 2023
  13. Dec 18, 2022
  14. Nov 07, 2022
  15. Aug 30, 2022
  16. Jun 22, 2022
  17. May 28, 2022
    • lemoer's avatar
      push_pkg.sh: use scp protocol for openssh scp (#2479) · c133fbbe
      lemoer authored
      Starting from OpenSSH 9.0p, scp started to use sftp in favor of the
      scp protocol by default. As dropbear in OpenWrt currently does not
      support sftp by default, we now use the fallback cli switch "-O"
      to use the scp protocol for scp.
      c133fbbe
  18. May 27, 2022
  19. May 21, 2022
  20. Mar 23, 2022
  21. Jan 23, 2022
  22. Jan 03, 2022
  23. 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.
      6728c4a1
  24. Sep 19, 2021
  25. Sep 06, 2021
  26. Aug 11, 2021
  27. Aug 10, 2021
  28. 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.
      d4dee692
  29. Jun 21, 2021
Loading