mirror of
https://github.com/opnsense/core.git
synced 2026-02-18 18:18:13 -05:00
firmware: add aux repository for #9275
Not a toggle yet but also only on development for now.
This commit is contained in:
parent
0b5f585113
commit
2a90becd2e
5 changed files with 15 additions and 3 deletions
4
Makefile
4
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2014-2025 Franco Fichtner <franco@opnsense.org>
|
||||
# Copyright (c) 2014-2026 Franco Fichtner <franco@opnsense.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
|
|
@ -116,7 +116,7 @@ CORE_MAINTAINER?= project@opnsense.org
|
|||
CORE_ORIGIN?= opnsense/${CORE_NAME}
|
||||
CORE_PACKAGESITE?= https://pkg.opnsense.org
|
||||
CORE_PRODUCT?= OPNsense
|
||||
CORE_REPOSITORY?= ${CORE_ABI}/latest
|
||||
CORE_REPOSITORY?= latest
|
||||
CORE_WWW?= https://opnsense.org/
|
||||
CORE_USER?= wwwonly
|
||||
CORE_UID?= 789
|
||||
|
|
|
|||
1
plist
1
plist
|
|
@ -2553,4 +2553,5 @@
|
|||
@sample /usr/local/etc/bogonsv6.sample
|
||||
@sample /usr/local/etc/config.xml.sample
|
||||
@shadow /usr/local/etc/pkg/repos/FreeBSD.conf.sample
|
||||
@shadow /usr/local/etc/pkg/repos/OPNsense-aux.conf.sample
|
||||
@shadow /usr/local/etc/pkg/repos/OPNsense.conf.sample
|
||||
|
|
|
|||
7
src/etc/pkg/repos/OPNsense-aux.conf.shadow.in
Normal file
7
src/etc/pkg/repos/OPNsense-aux.conf.shadow.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
OPNsense-aux: {
|
||||
fingerprints: "/usr/local/etc/pkg/fingerprints/OPNsense",
|
||||
url: "%%CORE_PACKAGESITE%%/${ABI}/%%CORE_ABI%%/aux",
|
||||
signature_type: "fingerprints",
|
||||
priority: 11,
|
||||
enabled: yes
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
OPNsense: {
|
||||
fingerprints: "/usr/local/etc/pkg/fingerprints/OPNsense",
|
||||
url: "%%CORE_PACKAGESITE%%/${ABI}/%%CORE_REPOSITORY%%",
|
||||
url: "%%CORE_PACKAGESITE%%/${ABI}/%%CORE_ABI%%/%%CORE_REPOSITORY%%",
|
||||
signature_type: "fingerprints",
|
||||
priority: 11,
|
||||
enabled: yes
|
||||
|
|
|
|||
|
|
@ -62,3 +62,7 @@ if (!empty($config->system->firmware->flavour)) {
|
|||
|
||||
/* rewrite the config via the defaults and possible arguments */
|
||||
shell_safe($frmt, $args);
|
||||
|
||||
/* overwrite the aux configuration for consistency */
|
||||
$conf = '/usr/local/etc/pkg/repos/OPNsense-aux.conf';
|
||||
@copy($conf . '.sample', $conf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue