gluon/docs/dev
lemoer d4dee692c6
contrib: add push_pkg.sh to enhance package development workflow (v2) (#2023)
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.
2021-07-23 19:50:15 +02:00
..
web docs: fix typos and small text improvements 2019-04-02 02:32:50 +02:00
basics.rst docs: add 'make refresh-patches' 2021-05-27 11:25:31 +02:00
build.rst docs: fix small typos and use common used notation (#2088) 2020-08-13 13:25:45 +02:00
debugging.rst docs: fix small typos and use common used notation (#2088) 2020-08-13 13:25:45 +02:00
hardware.rst docs: hardware: fix minor grammar issue 2021-06-26 22:55:03 +02:00
mac_addresses.rst docs: dev: add OWE MAC-assignment 2020-04-11 15:13:57 +02:00
packages.rst contrib: add push_pkg.sh to enhance package development workflow (v2) (#2023) 2021-07-23 19:50:15 +02:00
site_library.rst docs: fix typos and small text improvements 2019-04-02 02:32:50 +02:00
upgrade.rst docs: update upgrade.rst 2019-06-24 13:37:06 +02:00
wan.rst docs: fix small typos and use common used notation (#2088) 2020-08-13 13:25:45 +02:00