Commit Graph

62 Commits

Author SHA1 Message Date
Renato Botelho
39ef49f648 Add a workaround to make sure images are compressed before rsync, for some reason wait is not working as expected 2015-09-18 13:52:19 -03:00
Renato Botelho
d137967b79 ADI images are amd64 only 2015-09-14 15:24:19 -03:00
Renato Botelho
f3fff72f14 Preserve post_upgrade_command on /tmp on Full Update images, it's going to be used when upgrading from old systems 2015-09-14 13:32:29 -03:00
Renato Botelho
20680ab068 Preserve pre_upgrade_command on /tmp on Full Update images, it's going to be used when upgrading from old systems 2015-09-14 11:09:51 -03:00
Renato Botelho
374534f681 Create pkg repo from All's parent directory 2015-09-08 14:42:06 -03:00
Renato Botelho
2957ba349f Fix loop iteration removing quotes 2015-09-08 11:16:16 -03:00
Renato Botelho
6007bbbb18 Do not wait a key to be pressed when build.sh is called by build_snapshots.sh 2015-09-07 17:13:50 -03:00
Renato Botelho
4010811baa Remove quotes from for calls 2015-09-07 11:30:14 -03:00
Renato Botelho
fb1922270b Allow to use -a to select archs on all poudriere commands 2015-09-07 11:28:29 -03:00
Renato Botelho
ce96c1310e Fix snapshots log rotate 2015-09-04 13:09:21 -03:00
Renato Botelho
98ffbd81e2 Remove dead code 2015-09-04 12:59:04 -03:00
Renato Botelho
7552abae32 Remove unnecessary chmod calls 2015-09-04 12:46:31 -03:00
Renato Botelho
057109ef4a Fix typo in var name 2015-09-04 06:40:06 -03:00
Renato Botelho
d7972440bf Fix reverse check 2015-09-03 18:21:39 -03:00
Renato Botelho
48396120a0 Send repo containing core packages to remote server 2015-09-03 08:39:52 -03:00
Renato Botelho
184b39e159 Create a new function pkg_repo_rsync, it'll be also used for core pkgs 2015-09-03 08:34:22 -03:00
Renato Botelho
98978a366c Create repository for base components 2015-09-03 08:18:16 -03:00
Renato Botelho
a7a0034182 Change core pkg dir to have packages under All/ and repo on ./ 2015-09-03 08:02:47 -03:00
Renato Botelho
ab943fc9fe Move snapshot related functions to builder_common.sh and leave build_snapshots.sh a simple script that update repo and call build.sh, without need to know anything about build.conf variables 2015-09-02 16:15:55 -03:00
Renato Botelho
82c6f31aa5 Fix log message to match amount of memory tested above 2015-09-02 14:39:03 -03:00
Renato Botelho
0b0ef57e81 Deduplicate git_last_commit() 2015-09-02 11:52:33 -03:00
Renato Botelho
f48a09c706 Do not add timestamp for release builds 2015-09-01 12:17:05 -03:00
Renato Botelho
7743b4bdde Be more verbose about what is happening 2015-09-01 11:39:13 -03:00
Renato Botelho
e74b64a1ae Rename OVA_FIRST_PART_SIZE to OVA_FIRST_PART_SIZE_IN_GB to match other similar variables 2015-09-01 10:38:35 -03:00
Renato Botelho
c4968f42fc Create a specific default-config package for vmware 2015-09-01 10:33:41 -03:00
Renato Botelho
75d23e2651 Fix ova fstab 2015-09-01 10:06:56 -03:00
Renato Botelho
beb078901d Remove 128 blocks (65536 bytes) from swap size, this is used by loader and boot and makes disk capacity to be respected 2015-09-01 10:04:13 -03:00
Renato Botelho
679b5a66fc First create a raw, then convert it to vmdk, and when convert, use -c to force it to respect size 2015-08-31 18:25:00 -03:00
Renato Botelho
44eea20c15 Remove extra 'i' left by accident 2015-08-31 16:43:59 -03:00
Renato Botelho
2dc195f911 Check if final file exists, not temporary 2015-08-31 16:37:39 -03:00
Renato Botelho
502db0bde9 Use modern pfSense.ovf template, remove unnecessary variables and use vmdktool to convert disk to a modern version 2015-08-31 16:31:14 -03:00
Renato Botelho
7e35e0bd41 Fix typo in variable name 2015-08-28 12:02:57 -03:00
Renato Botelho
fc48ef5427 Add macros between %% and %% on pfSense.ovf, then simplify the logic of ova_setup_ovf_template() 2015-08-28 11:53:03 -03:00
Renato Botelho
89a72b5920 Refactor OVA image build process using mkimg and makefs 2015-08-27 18:20:31 -03:00
Renato Botelho
f984af4d47 Remove more redundant actions 2015-08-27 14:28:49 -03:00
Renato Botelho
6e134e300f Do not calculate size of mnt partition if it's not used anyway 2015-08-27 14:22:13 -03:00
Renato Botelho
2f4d7dbc67 Stop modifying conf directories for ova, it's handled by default-config package 2015-08-27 14:20:59 -03:00
Renato Botelho
22753a63c2 Do not mount ovf image on /mnt but inside builder to avoid touching builder 2015-08-27 14:11:07 -03:00
Renato Botelho
71b5fc938b Remove path to call echo 2015-08-27 12:07:45 -03:00
Renato Botelho
3ade347884 Remove lots of sync calls 2015-08-27 12:07:26 -03:00
Renato Botelho
50dcadff36 Remove unnecessary variables, also add some error checking 2015-08-27 11:33:31 -03:00
Renato Botelho
a82b9f43fa Rename ova_setup_ovf_file() to ova_setup_ovf_template() 2015-08-27 11:30:09 -03:00
Renato Botelho
173fa93f6b Move ovf template to templates/ovf, also rename variables accordingly 2015-08-27 11:23:11 -03:00
Renato Botelho
4beba293de We do not need a separate path variable for ovf, use IMAGES_FINAL_DIR instead 2015-08-27 10:44:52 -03:00
Renato Botelho
03b565250a Obsolete use of /etc/nano_use_vga.txt, Use enableserial_force flag instead 2015-08-27 07:49:49 -03:00
Renato Botelho
5240564c05 Stop calling ntpdate to fix builder clock 2015-08-25 14:49:59 -03:00
Renato Botelho
23975558c6 Check if file exists before try to access it 2015-08-25 14:49:59 -03:00
Renato Botelho
230372b6b7 Remove extra spaces 2015-08-25 14:49:58 -03:00
Renato Botelho
e295b1138d Do not set PKG_RSYNC_HOSTNAME automatically 2015-08-25 14:49:58 -03:00
Renato Botelho
78473cec8e Fix wrong variable name 2015-08-25 14:49:58 -03:00