opnsense-src/release
Lexi Winter 6e27b15e6a package: fix dependency generation
A bug in release/packages/generate-ucl.sh causes package dependencies
(other than shlib depends) to not be generated correctly, meaning
packages are missing their dependencies.

generate-ucl.sh creates the UCL file by:

1. copying ${uclsource} (template.ucl) to ${uclfile}
2. appending dependencies to ${uclfile}
3. calling generate-ucl.lua on ${uclsource} to create ${uclfile}

This breaks because the dependencies added in step 2 are overwritten in
step 3.

Fix this by calling generate-ucl.lua with ${uclfile} as both the input
and output file, so anything we added to ${uclfile} is preserved.

PR:	286551
Reviewed by:	des, imp
Approved by:	re (cperciva)
Approved by:	kevans (mentor, stable/14 mfc)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1203

(cherry picked from commit e05b6502f9ca36860236644884f12eff8e3243c4)
(cherry picked from commit fb6b1a797349992d8f166a2724eab2caf59abe28)
2025-05-22 17:04:12 -07:00
..
amd64 Copy the new ia32 loader 2025-03-25 19:28:38 -06:00
arm release: remove arm/armv6 RPI-B configuration file 2023-09-03 16:59:00 -04:00
arm64 arm64/RPI: enable powerd by default on arm64-aarch64-RPI images 2024-01-30 14:10:00 -06:00
i386 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
packages package: fix dependency generation 2025-05-22 17:04:12 -07:00
pkg_repos 14.3: create releng/14.3 branch 2025-05-02 00:00:00 +00:00
powerpc ports/filesystems: Fix fallout 2025-02-26 20:14:37 -05:00
riscv Increase the size of riscv GENERICSD images to 6 GB 2024-01-15 07:29:35 -06:00
scripts release: Don't put drm-kmod package onto DVD 2025-05-11 15:23:21 -07:00
tools EC2: Remove old broken_txfifo workaround 2025-05-15 15:22:44 -07:00
Makefile vmimage.subr: Redirect etcupdate log to stdout 2025-02-05 20:14:21 -08:00
Makefile.azure release: Support r/o /usr/ports for cloudware 2024-04-16 22:43:27 -07:00
Makefile.ec2 Makefile.ec2: Add missing CLEANFILES entry 2024-08-22 00:55:48 -07:00
Makefile.firecracker Firecracker: Make root disk configurable 2023-08-07 09:21:08 -07:00
Makefile.gce release: Support r/o /usr/ports for cloudware 2024-04-16 22:43:27 -07:00
Makefile.inc1 release: Pass PKG_INSTALL_EPOCH to vmimage.subr 2025-04-26 12:19:11 -07:00
Makefile.mirrors release: Standardize on *-${FS}.* VM image naming 2024-12-16 16:54:16 -08:00
Makefile.oci release: use "runtime" instead of "minimal" for OCI image name 2025-04-30 07:55:41 +00:00
Makefile.oracle release: add cloudware oracle targets to package and upload .oci files 2025-04-08 18:58:08 +00:00
Makefile.vagrant release: Support r/o /usr/ports for cloudware 2024-04-16 22:43:27 -07:00
Makefile.vm release: Pass PKG_INSTALL_EPOCH (take 2) 2025-04-26 12:20:07 -07:00
rc.local bsdinstall release: Start installer on multiple consoles 2022-10-03 17:09:17 +01:00
release.conf.sample release: add optional OCI images 2024-11-10 10:34:42 +00:00
release.sh release: build OCI images with shell scripts 2025-03-04 09:46:03 +00:00