Commit Graph

22 Commits

Author SHA1 Message Date
sonicaj
8e86e2d981 NAS-137225 / 26.04 / Fix scale build for trixie (#925)
* 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
2025-09-19 21:55:20 +05:00
sonicaj
71557b080f Ensure consistent home directory handling in reference file comparisons (#868)
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.
2025-06-04 14:24:38 -04:00
Logan Cary
416f10675f fix build (#865) 2025-05-28 14:38:17 -04:00
themylogin
af1435d993 Build dev-tools extension (#794) 2024-12-17 18:17:51 +01:00
Waqar Ahmed
e7a4ecaa61 Refactor file comparison logic to separate util file 2023-12-26 00:31:50 +05:00
themylogin
0de14d4902 Remove build tools from rootfs 2023-07-11 17:05:57 +02:00
Waqar Ahmed
90a60c69c2 Merge pull request #332 from truenas/package-check-fix
NAS-117776 / 22.12 / Clean chroot mounts when making update image
2022-08-22 16:06:01 +05:00
Waqar Ahmed
82cd27cbce Move reference files to utils 2022-08-21 22:31:21 +05:00
Waqar Ahmed
6472f55477 Clean chroot mounts when making update image
This commit fixes an issue where if we raise exception in reference files checks, chroot mounts are not properly cleaned up and we try to nuke the directory which results in builder removing already built packages.
2022-08-21 17:58:26 +05:00
themylogin
a9d16d5436 Try to persist uids and gids across builds 2022-04-18 13:22:16 +02:00
themylogin
b38f4516a2 Add version to the .update file name 2022-02-08 20:29:19 +01:00
Waqar Ahmed
7867bff782 Update update image creation target to utilise new logging method 2021-05-09 23:27:38 +05:00
Waqar Ahmed
37d6694666 Ensure mountpoints are cleaned on exception 2021-05-09 23:27:38 +05:00
Waqar Ahmed
6bced450de Do not setup with bootstrapdir with context manager 2021-05-09 23:27:38 +05:00
Waqar Ahmed
409c7401e2 Freeze requirements.txt 2021-05-09 23:27:38 +05:00
Waqar Ahmed
4a8b3d823e Remove old implementation of making bootstrap dir 2021-05-09 23:27:38 +05:00
Waqar Ahmed
0142bbe770 Use coloredlogs for logging 2021-05-09 23:27:38 +05:00
Waqar Ahmed
de59913926 Properly cleanup mounts in case of a failure 2021-05-09 23:27:38 +05:00
Waqar Ahmed
8bf167c4d7 Refactor paths file name 2021-05-09 23:27:38 +05:00
Waqar Ahmed
9845a32816 Add ability to create iso file 2021-05-09 23:27:38 +05:00
Waqar Ahmed
87703bd244 Correctly umount chroot before trying to build update image 2021-05-09 23:27:38 +05:00
Waqar Ahmed
2e32f2cbb7 Add ability to create update image 2021-05-09 23:27:38 +05:00