Caleb
48012822fb
add codename to manifest.json
2024-02-22 15:20:06 -05:00
Waqar Ahmed
90ae548731
Setup ccache when building package if required/desired
2023-05-24 10:36:22 +04:00
Waqar Ahmed
d3d314b6d7
Add relevant ccache env when building package
2023-05-24 10:29:02 +04:00
Brian Meagher
5aa94becda
Revert "Initial ccache support"
...
This reverts commit 5a2d36166b .
2023-05-23 08:28:47 -07:00
Brian Meagher
5a2d36166b
Initial ccache support
...
Force CCACHE_DIR to /root/.ccache
2023-05-18 17:17:08 -07:00
Waqar Ahmed
13c2b4014c
Remove kernel module usages
2023-05-10 01:12:13 +04:00
Waqar Ahmed
19cf5c9d12
Properly check debian/control exists after running predeps commands
2023-05-05 07:01:02 +04:00
Waqar Ahmed
4a360b5710
Refactor running pre-depends commands execution
2023-05-05 06:59:17 +04:00
Waqar Ahmed
250976d290
Add endpoint to setup build dir for package
2023-05-05 06:48:13 +04:00
Waqar Ahmed
19aa596542
Revert "Run dependency commands before prebuild commands"
...
This reverts commit f582b29ffc .
2023-05-05 06:10:22 +04:00
Waqar Ahmed
f582b29ffc
Run dependency commands before prebuild commands
2023-05-05 05:47:42 +04:00
Waqar Ahmed
ba0cef0640
Do not run lintian to decrease build time
2023-04-14 21:08:22 +05:00
Umer Saleem
47e812c6dc
Build production and debug kernels for TrueNAS SCALE
...
This commits adds support for production and debug kernels.
Debian packages for production and debug kernels are built
separately. Kernel headers and images for both production
and debug kernels will be installed on the base system.
Since there are two kernels images that would be present
on the system, kernel modules should also be built for both
kernels. Debian packages for OpenZFS and SCST kernel modules
are built separately for production and debug kernels.
OpenZFS and SCST kernel modules for debug kernel would have
debug flags enabled. The debug kernel has KGDB enabled to debug
the system during boot and runtime.
Signed-off-by: Umer Saleem <usaleem@ixsystems.com >
2023-02-24 14:33:56 +05:00
Waqar Ahmed
8c3e936cc5
Have common function to determine build env for package
2021-06-07 18:35:28 +05:00
Waqar Ahmed
b3ad84f58a
Allow specifying environment variables independently
...
This commit adds changes to allow specifying enviornment variables independently for each package. This is helpful to avoid influence of one env variable meant for a specific package on another which might result in changed behavior when it builds.
2021-06-06 18:27:51 +05:00
Waqar Ahmed
dbca2bea90
Update package creation target to utilise new logging method
2021-05-09 23:27:38 +05:00
Waqar Ahmed
8b3f2c1f68
Validate branch overrides to ensure they are correct/accurate
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
409c7401e2
Freeze requirements.txt
2021-05-09 23:27:38 +05:00
Waqar Ahmed
a8c91a284f
Retry if looking up existing branch check fails
2021-05-09 23:27:38 +05:00
Waqar Ahmed
4afcf315ac
Add ability to sign manifest
2021-05-09 23:27:38 +05:00
Waqar Ahmed
5ab8f699a8
Add flake8 configuration
2021-05-09 23:27:38 +05:00
Waqar Ahmed
d3e2921458
Properly setup apt
2021-05-09 23:27:38 +05:00
Waqar Ahmed
0cf3069c8b
Add ability to debug packages when they fail
2021-05-09 23:27:38 +05:00
Waqar Ahmed
4b50d1688d
Allow building packages in parallel
2021-05-09 23:27:38 +05:00
Waqar Ahmed
e698de0994
Allow configuration of env variables
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
2e32f2cbb7
Add ability to create update image
2021-05-09 23:27:38 +05:00
Waqar Ahmed
cd88116482
Make sure we follow symlinks when copying sources
2021-05-09 23:27:38 +05:00
Waqar Ahmed
940010acaa
Add apt cacher proxy settings temporarily
2021-05-09 23:27:38 +05:00
Waqar Ahmed
d1411a60eb
Execute specified prebuild commands
2021-05-09 23:27:38 +05:00
Waqar Ahmed
8f3aa93512
Have package sources using bind mount
2021-05-09 23:27:38 +05:00
Waqar Ahmed
f35c21c341
Properly execute commands inside chroot while building packages
2021-05-09 23:27:38 +05:00
Waqar Ahmed
ed5aac5452
Add build environment variables when building packages
2021-05-09 23:27:38 +05:00
Waqar Ahmed
c275c3c904
Add logic to build packages
2021-05-09 23:27:38 +05:00