* Exclude /etc/nfs.conf.d. This directory is removed by nfs.conf.mako.
* Add exception handling for os.unlink when processing objects that
are aleady missing.
The dch command was using hardcoded 'bullseye-truenas-unstable' as the
distribution when updating package changelogs. This change reads the
actual Debian release from the build manifest and constructs the
distribution string dynamically (e.g., 'trixie-truenas-unstable' for
Trixie builds), ensuring the changelog entries in built .deb packages
reflect the correct target distribution.
This commit adds changes to remove curl dependency from builder as we already have requests which can handle taht part. Currently some of our builders are broken because of the missing dependency - making changes so we do not have curl as a dependency directly of scale-build itself.
* Trixie related changes for scale-build
* Point to HM mirrors
* Update apt preferences for trixie
* Update debootstrap changes for trixie
* Minor fix
* Remove python3 package
* Remove mandatory explicit dep
* Use openjdk-21-jdk for kernel
* Update passwd
* There is no need for custom openssl now
* Move from libssl3 to libssl3t64
* Remove util-linux from build manifest
* Set env variable for spdk
* Don't buidl spdk for now
* ipmctl is not available in stable
* Remove legacy sysv unit stuff
* Comment out netdata for now
* Small umount fix
* Also umount efivars
* Update build manifest to reflect updated branches
* Remove nfs entry from mtree
* Make sure to umount efivars
* Properly have apt sources fixed in update image
* Pull in grub2-common
* Add netdata mirror
* Fix url
* Make sure corepack is non-interactive
* Update netdata groups
* Fix efivars mounting
* Properly use clean_mounts
* Add fixme for netdata
* Properly comment out spdk explicit deps
* Remove grub-efi-amd64-signed from iso
* Make sure efivarfs is definitely mounted
* Bring in isc-dhcp-client for now
* Revert "Bring in isc-dhcp-client for now"
This reverts commit 259ffebba5.
* Only try to umount efivarfs if host is actually efi based
* Update repo's branches
Always use '/var/empty' when comparing reference files to match TrueNAS SCALE's
standard home directory for system users, preventing false cache invalidation
due to Debian's '/nonexistent' default.
* Allow specifying secret_env in build manifest
* Get secret env initialized when initializing package
* Add logic to read secrets file
* Make sure secrets are properly set for package when building the package
* Expose scale release version variable as well
* Fix typo
* Make sure env variables are actually passed to the package itself
* Add secrets yaml file to git ignore
* Do not expose build env variables in ps output
* Fixup list of file system object to remove or ignore.
Added a 'fixup' list to handle objects that get their permission changed on install.
* Update comment.
This commit adds the audit rules package to the build and adds
a step in which we generate the privileged rules set based on
the update file before generating mtree.
* Reflect the debian manifest we want
* Update json schema to reflect new base-url entries
* Have a util in place to retrieve apt mirrors
* Have repo url in repos hash
* Cover various usages of apt-repos
* Initial add of option to use internal APT repo for builds
* Pet flake8
* Wrap a long f-string
* Use f-string in right place
* Fix usage of single / double quotes
* Move to apt_get_base_url as a function
* Undo dyslexia
* Log which base url we are using in bootstrap for debugging
* Add missing location to use the base url in bootstrap
* Use base url when bootstrapping the ISO as well
* Add APT_BASE_CUSTOM as another override option if the builder
wants to pull from some location other than the two in our manifest
This has potential to cause user confusion on fresh install
as the hostname will be appended as comment to SSH host keys.
Removing hostname file causes SSH host keys to have comment of
root@localhost.