Commit Graph

842 Commits

Author SHA1 Message Date
Umer Saleem
bcd1a4eef0 Update serial setup in Installer's grub.cfg
This commit fixes SCALE boot issue in BIOS mode on X series hardware.
In BIOS mode, we were not able to see any output from GRUB on IPMI
since serial setup was not being done properly in SCALE installer's
grub.cfg.

Moreover, currently both boot options provide serial console options
for SCALE, due to which we always see Linux console on serial since
serial settings are saved by installer. User should only select
(115200 baud) boot option if they want serial console, otherwise serial
console should not be provided.

Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
2022-08-10 17:05:08 -04:00
William Grzybowski
dd738e0f57 Merge pull request #324 from truenas/revert-322-NAS-114289
Revert "NAS-114289 / 22.12 / Update serial setup in Installer's grub.cfg"
2022-08-09 09:15:00 -04:00
William Grzybowski
ffcc3da69a Revert "NAS-114289 / 22.12 / Update serial setup in Installer's grub.cfg" 2022-08-09 09:14:39 -04:00
M. Rehan
5974882d84 Merge pull request #319 from truenas/NAS-116521
NAS-116521 / 22.12 / Add wheel group
2022-08-09 02:35:02 +05:00
Waqar Ahmed
fb17333270 Merge pull request #323 from truenas/conditional-builds
NAS-117519 / 22.12 / Various improvements to builder
2022-08-08 19:33:05 +05:00
Waqar Ahmed
bdc665586a Expand user path as well when trying to get absolute path 2022-08-06 21:12:00 +05:00
Waqar Ahmed
e52947ce83 Allow specifying a default for ssh based identity path 2022-08-06 21:00:35 +05:00
Umer Saleem
1bb2bbdced Merge pull request #322 from truenas/NAS-114289
NAS-114289 / 22.12 / Update serial setup in Installer's grub.cfg
2022-08-06 01:18:45 +05:00
Waqar Ahmed
cd965e95ca Bug fix for validating integer env value 2022-08-05 21:33:51 +05:00
Waqar Ahmed
3b701a7719 Typecast value to string before normalizing 2022-08-05 21:04:05 +05:00
Umer Saleem
de7f49e938 Update serial setup in Installer's grub.cfg
This commit fixes SCALE boot issue in BIOS mode on X series hardware.
In BIOS mode, we were not able to see any output from GRUB on IPMI
since serial setup was not being done properly in SCALE installer's
grub.cfg.

Moreover, currently both boot options provide serial console options
for SCALE, due to which we always see Linux console on serial since
serial settings are saved by installer. User should only select
(115200 baud) boot option if they want serial console, otherwise serial
console should not be provided.

Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
2022-08-05 19:39:05 +05:00
Waqar Ahmed
5768f0f7d2 Install corssl based packages in final scale update file 2022-08-05 16:49:35 +05:00
Waqar Ahmed
06e9dc0461 Specify build constraints for corssl 2022-08-05 16:48:35 +05:00
Waqar Ahmed
76e58810a0 Correctly get hostname/repo path from ssh based source 2022-08-05 16:47:17 +05:00
Waqar Ahmed
a805019522 Allow conditional consideration of specified sources for building/checkout 2022-08-05 15:34:47 +05:00
Waqar Ahmed
86bc8f116b Normalize get env variable implementation 2022-08-05 14:58:56 +05:00
Waqar Ahmed
43bc84c079 Allow specifying env variable for providing identity file path for a package 2022-08-04 23:08:52 +05:00
Waqar Ahmed
dcd5eaecf0 Use absolute path of provided identity file 2022-08-04 22:43:35 +05:00
Waqar Ahmed
9e0491f156 Update checkout method to correctly use ssh/https based origins of repos 2022-08-04 22:31:01 +05:00
Waqar Ahmed
8e99d96507 Validate defined identity file path is valid 2022-08-04 22:05:35 +05:00
Waqar Ahmed
d6daf10da7 Add validation for ssh based repo sources 2022-08-04 20:43:30 +05:00
Waqar Ahmed
6c73725867 Add identity file path as being valid attribute 2022-08-04 19:04:44 +05:00
Waqar Ahmed
565c909074 Add identities folder to gitignore 2022-08-04 18:56:17 +05:00
Waqar Ahmed
4151513243 Add identities folder to keep ssh keys 2022-08-04 16:43:34 +05:00
Waqar Ahmed
b0ca1015b6 Update apt preferences to pull in libssl1.1/openssl from local built packages 2022-08-04 16:42:23 +05:00
Waqar Ahmed
4ba558a809 Add corssl to build manifest 2022-08-04 16:37:23 +05:00
Waqar Ahmed
21961d6d6c Mark ixsystems orginsation as a valid source for packages 2022-08-04 16:34:59 +05:00
M. Rehan
b5cce6cd54 Add wheel group 2022-07-26 02:36:25 +05:00
Ryan Moeller
cae72c5ec8 Update branch name for linux to truenas/linux-5.15
The new branch name was chosen for consistency with other truenas repo
conventions.
TS-22.12-ALPHA.1
2022-06-22 11:36:02 -04:00
M. Rehan
5d8e3071d2 Merge pull request #311 from truenas/NAS-116685
NAS-116685 / 22.12 / Add update file size to manifest
2022-06-22 18:49:10 +05:00
M. Rehan
eb13971e74 Add update file size to manifest 2022-06-21 22:16:22 +05:00
Waqar Ahmed
ffaf2c7e8f Merge pull request #310 from truenas/NAS-116803
NAS-116803 / 22.12 / Allow building specific packages
2022-06-21 20:01:13 +05:00
Waqar Ahmed
57304221cb Update makefile to allow specifying specific packages 2022-06-21 16:33:22 +05:00
Waqar Ahmed
329c2b06dd Update python arguments to specify specific packages 2022-06-21 16:30:35 +05:00
Waqar Ahmed
e3b5a74235 Add logic to only allowing building specific set of desired packages 2022-06-21 15:35:27 +05:00
Waqar Ahmed
d3f22f3a4e Merge pull request #309 from truenas/nodejs-mirror 2022-06-15 01:03:55 +05:00
Waqar Ahmed
3a6c0fc8be No need to install yarn as it's going to be installed already 2022-06-14 23:57:59 +05:00
Waqar Ahmed
8e9d14742a Add yarn mirror 2022-06-14 23:57:31 +05:00
Waqar Ahmed
c73d21eaee Fetch nodejs from new apt mirror of nodejs 2022-06-14 21:39:15 +05:00
themylogin
d1cc1aa3e2 Merge pull request #306 from truenas/NAS-116030
NAS-116030 / 22.12 / Remove `truenas-devel` package
2022-06-07 19:07:19 +02:00
themylogin
4f6fbf159c Remove truenas-devel package 2022-06-07 17:23:20 +02:00
Umer Saleem
22304e05e9 Merge pull request #304 from truenas/NAS-115611-22.12
NAS-115611 / 22.12 / NAS-115611: Create EFI boot entries for all boot disks
2022-06-03 11:34:02 +05:00
Umer Saleem
93fc4e21d3 NAS-115611: Create EFI boot entries for all boot disks
Currently, grub-install only creates one EFI boot entry for one boot
disk. If that boot disk gets compromised, system cannot boot from any
other disk since the boot entry is not present. Creating boot entries
for all boot disks fixes this issue.

Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
2022-06-02 21:35:28 +05:00
themylogin
80b0f25121 Merge pull request #301 from truenas/NAS-116225
NAS-116225 / 22.12 / Use custom `smartmontools`
2022-05-26 11:57:20 +02:00
themylogin
d21228ee98 Use custom smartmontools 2022-05-24 21:50:26 +02:00
Caleb St. John
181fc098a5 Merge pull request #298 from truenas/retry-git-cmd
NAS-116170 / 22.12 / retry git commands on failure
2022-05-16 10:47:31 -04:00
caleb
a9228d40ba address review 2022-05-16 10:12:29 -04:00
caleb
8e0af7f7cd add comment explaining retry logic 2022-05-16 08:51:57 -04:00
caleb
1148b6affa save log file on failure 2022-05-16 08:49:07 -04:00
caleb
54c152fa4a consistent logging in checkout() 2022-05-12 15:08:31 -04:00