mirror of
https://github.com/opnsense/tools.git
synced 2026-05-28 04:35:46 -04:00
scripts: add refresh target, same same but different
This commit is contained in:
parent
b212cc62dd
commit
8b60290ebf
3 changed files with 19 additions and 3 deletions
2
Makefile
2
Makefile
|
|
@ -27,7 +27,7 @@ STEPS= arm base boot chroot clean core distfiles dvd info \
|
|||
kernel nano plugins ports prefetch print rebase \
|
||||
release rename serial sign skim test update verify \
|
||||
vga vm xtools
|
||||
SCRIPTS= batch nightly pkg_fingerprint pkg_sign
|
||||
SCRIPTS= batch nightly refresh pkg_fingerprint pkg_sign
|
||||
.PHONY: ${STEPS}
|
||||
|
||||
PAGER?= less
|
||||
|
|
|
|||
11
README.md
11
README.md
|
|
@ -376,10 +376,17 @@ and LibreSSL packages are both required they can be batch-built using:
|
|||
|
||||
# make batch-<step>[,<option>[,...]]
|
||||
|
||||
Last but not least, a fully contained nightly build for the system
|
||||
is invoked using:
|
||||
A fully contained nightly build for the system is invoked using:
|
||||
|
||||
# make nightly
|
||||
|
||||
Nightly builds are the only builds that write and archive logs under
|
||||
/tmp/logs and /tmp/logs/latest points to the last nightly build run.
|
||||
|
||||
Last but not least, a refresh of OPNsense core and plugins on package
|
||||
sets is invoked using:
|
||||
|
||||
# make refresh
|
||||
|
||||
It will flush all previous packages except for ports, rebuild core and
|
||||
plugins and sign the sets if enabled. It is used to issue hotfixes.
|
||||
|
|
|
|||
9
scripts/refresh.sh
Executable file
9
scripts/refresh.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# refresh plugins and core in packages
|
||||
|
||||
for FLAVOUR in OpenSSL LibreSSL; do
|
||||
make clean-obj,plugins,core packages FLAVOUR=${FLAVOUR}
|
||||
done
|
||||
|
||||
make clean-obj
|
||||
Loading…
Reference in a new issue