This repository has been archived on 2024-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
gluon-firmware/contrib
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
..
actions docs contrib: add dependency on qemu-utils 2021-06-22 01:59:48 +02:00
ci docs: ci: fix simple typo (#2162) 2020-12-19 20:50:54 +01:00
Dockerfile docs contrib: add dependency on qemu-utils 2021-06-22 01:59:48 +02:00
depdot.sh treewide: solve shellcheck warnings 2019-12-14 18:35:11 +01:00
i18n-scan.pl contrib: update i18n-scan.pl script 2018-02-23 13:39:56 +01:00
lsupgrade.sh treewide: solve shellcheck warnings 2019-12-14 18:35:11 +01:00
push_pkg.sh contrib: add push_pkg.sh to enhance package development workflow (v2) (#2023) 2021-07-23 19:50:15 +02:00
run_qemu.sh contrib: add push_pkg.sh to enhance package development workflow (v2) (#2023) 2021-07-23 19:50:15 +02:00
sign.sh treewide: solve shellcheck warnings 2019-12-14 18:35:11 +01:00
sigtest.sh treewide: solve shellcheck warnings 2019-12-14 18:35:11 +01:00