Commit Graph

18 Commits

Author SHA1 Message Date
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