mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Create a new core pkg, pfSense-rc, that will install /etc/rc. Add this package to kernel list if dependencies to make sure it's upgraded before reboot. It should fix #5457
This commit is contained in:
parent
16060c78ac
commit
dab31392f9
@ -1060,6 +1060,7 @@ clone_to_staging_area() {
|
||||
-X ${_exclude_files} \
|
||||
.
|
||||
|
||||
core_pkg_create rc "" ${CORE_PKG_VERSION} ${STAGE_CHROOT_DIR}
|
||||
core_pkg_create base "" ${CORE_PKG_VERSION} ${STAGE_CHROOT_DIR}
|
||||
core_pkg_create base-nanobsd "" ${CORE_PKG_VERSION} ${STAGE_CHROOT_DIR}
|
||||
core_pkg_create default-config "" ${CORE_PKG_VERSION} ${STAGE_CHROOT_DIR}
|
||||
@ -1119,6 +1120,8 @@ customize_stagearea_for_image() {
|
||||
# Prepare final stage area
|
||||
create_final_staging_area
|
||||
|
||||
pkg_chroot_add ${FINAL_CHROOT_DIR} rc
|
||||
|
||||
if [ "${1}" = "nanobsd" -o \
|
||||
"${1}" = "nanobsd-vga" ]; then
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ EOD
|
||||
maintainer: development@pfsense.org
|
||||
prefix: /usr/local
|
||||
deps: {
|
||||
|
||||
"%%PRODUCT_NAME%%-rc": {origin: "security/%%PRODUCT_NAME%%-rc", version: "%%VERSION%%"}
|
||||
}
|
||||
categories [ security, ]
|
||||
licenselogic: single
|
||||
|
||||
@ -7,7 +7,7 @@ EOD
|
||||
maintainer: development@pfsense.org
|
||||
prefix: /usr/local
|
||||
deps: {
|
||||
|
||||
"%%PRODUCT_NAME%%-rc": {origin: "security/%%PRODUCT_NAME%%-rc", version: "%%VERSION%%"}
|
||||
}
|
||||
categories [ security, ]
|
||||
licenselogic: single
|
||||
|
||||
@ -7,7 +7,7 @@ EOD
|
||||
maintainer: development@pfsense.org
|
||||
prefix: /
|
||||
deps: {
|
||||
|
||||
"%%PRODUCT_NAME%%-rc": {origin: "security/%%PRODUCT_NAME%%-rc", version: "%%VERSION%%"}
|
||||
}
|
||||
categories [ security, ]
|
||||
licenselogic: single
|
||||
|
||||
Loading…
Reference in New Issue
Block a user