Commit Graph
17 Commits
Author SHA1 Message Date
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
Waqar Ahmed 415709a9da Refactor diff logging statement 2024-01-08 17:41:14 +04:00
Waqar Ahmed 4be4cb03a9 Add a debug statement to know if cached squashfs needs to be re-created 2024-01-05 04:38:38 +04:00
Waqar Ahmed 127a73b3f4 Remove duplicate checks 2023-12-29 23:56:34 +05:00
Waqar Ahmed 7d4f2150d4 Remove temporary restored cached directory 2023-12-27 19:49:53 +05:00
Waqar Ahmed 496fbeebd9 Add logic to mark cache as not intact if group/passwd files have been changed and cached bootstrapdir has old references 2023-12-26 00:37:30 +05:00
Waqar Ahmed dbca2bea90 Update package creation target to utilise new logging method 2021-05-09 23:27:38 +05:00
Waqar Ahmed 82e6347099 Only delete directories if they exist 2021-05-09 23:27:38 +05:00
Waqar Ahmed 0c2aeccbec Build grub with a delay to prioritise other packages 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 e3da709e98 Use bootstrapdir class to manage bootstrap dirs 2021-05-09 23:27:38 +05:00
Waqar Ahmed a9946c2f2f Update apt sources before running update 2021-05-09 23:27:38 +05:00
Waqar Ahmed 1cf00c4149 Restore basechroot for each package 2021-05-09 23:27:38 +05:00
Waqar Ahmed aa7bde68f7 Disable requests module logging 2021-05-09 23:27:38 +05:00
Waqar Ahmed 288efdd021 Allow specifying packages argument to scale_build 2021-05-09 23:27:38 +05:00
Waqar Ahmed f38dcf7f6a Add logic to remove/restore basechroot cache 2021-05-09 23:27:38 +05:00
Waqar Ahmed bc63d6d517 Configure bootstrapdir 2021-05-09 23:27:38 +05:00