Projet

Général

Profil

Télécharger (18,2 ko) Statistiques
| Branche: | Révision:

univnautes-tools / builder_scripts / build_snapshots.sh @ b22ef68c

# Date Auteur Commentaire
b22ef68c 08 mai 2014 19:04 Ermal

Do proper arithmetic instead of mixing string with number in comparions

39122650 06 mai 2014 19:03 Ermal

Add safety belt here since the vars might be not defined the first loop

503073c5 06 mai 2014 19:00 Ermal

Do this in the right place. Since dobuilds is just building after that the linking and scping of file will get wrong timestamp with changes i did before

b32c8478 06 mai 2014 11:09 Ermal

To not enter in detached state rebase the origin instead of resetting state

5486cdee 06 mai 2014 11:07 Ermal

Oops forgot to have this code as well

3de183b6 06 mai 2014 11:04 Ermal

Make this correct and with proper comments

d56e766e 06 mai 2014 11:00 Ermal

Rather try a more direct way of enforcing new date on snapshots

31b48a1e 01 mai 2014 21:43 Ermal

Correct variable setting

584e0eb1 01 mai 2014 09:22 Ermal

Correct path to search for tools repo

d6411f2f 30 avril 2014 21:15 Ermal

Make the argument to be passed correctly to function

f0bb83ab 30 avril 2014 06:46 Ermal

Use the parameter actually

80e2721b 29 avril 2014 16:47 Ermal

Do not loose build snapshots logs

bfbcf6bf 29 avril 2014 15:53 Ermal

Re-fix the version files for snapshots

63205757 29 avril 2014 15:50 Ermal

Remove build_snapshots_looped.sh and merge it in build_snapshots.sh

ea4c21c8 29 avril 2014 14:58 Ermal

Unset these vars even on build_snapshots.sh since it includes builder_defaults.sh too.

69ba7f52 28 avril 2014 22:38 Ermal

Set the proper format for builtime file in etc. Also use variables to have the same info between build_snapshots.sh and build.sh

9c5f8a31 28 avril 2014 20:44 Ermal

s/_vga/-vga/ in new world order

5a9909a6 28 avril 2014 20:40 Ermal

Test if dir exists to avoid errors

43dbeb30 28 avril 2014 19:28 Ermal

Restore version file generation lost in transit to properly be able to report to nstallations that a new update is available.

25c6d9ec 26 avril 2014 23:00 Ermal

Correct file name

97090d70 26 avril 2014 21:55 Ermal

Always set the date to avoid problems during repeated loops. Also do not remove file used by snapshots_looped.

72d65d89 26 avril 2014 19:54 Ermal

Fix paths

743cf793 26 avril 2014 19:45 Ermal

Correct path name

57ff3aab 26 avril 2014 13:32 Ermal

Heh properly fix this allover

aef1b261 26 avril 2014 13:15 Ermal

Correct the snapshot script to do the right thing
Also s/nanobsdvga/nanobsd-vga/ to keep consistency for auto upgrades

fe3b05fb 25 avril 2014 19:46 Ermal

Do not build anymore 512mb nano images since they are too smal

7203485d 25 avril 2014 18:50 Ermal

Manage better error handling and set +|-e

0b716c06 25 avril 2014 13:11 Ermal

Do the git_last_commit dance with build.sh since build_snapshots its too early

ca61032a 25 avril 2014 13:07 Ermal

Pass proper argumeng here

8326a7c1 25 avril 2014 11:35 Ermal
  • Provide a single script build.sh for all operations
  • Run it with no arguments to get possible options
  • It replaces all the myraid of scripts that were available for functionality before
  • Send all previous scripts to history since they are not anymore useful...
adbddb0e 24 avril 2014 23:11 Ermal

Merge all build scripts into one.

  • Easy to manage and avoid errors between them
  • Create a prestage for FreeBSD build, pfSense sources, ports needed to be installed, and libraries copied from host if needed
  • For each customization needed for image use a final stage dir where everything is done...
9f2a340a 19 avril 2014 23:02 Ermal
  • Teach build_pfPorts.sh how to cross-compile
  • Teach build_pfPorts.sh to overlay even runtime dependencies not only build dependencies from pfPorts
  • make.conf put 5.3 as default php otherwise nothing compiles with latest ports
  • s/ARCH/TARGET/ for understanding
e9d2ad3e 17 avril 2014 17:21 Ermal

Unset variables sensitive to platform being built to be able to make right decision

86a2ff95 17 avril 2014 16:14 Ermal

Ooops something slipped in

859b069b 17 avril 2014 00:19 Ermal
  • Say goodbye to FreeSBIE it saved us good.
  • Do not use anymore cdrtools for the iso but use FreeBSD tool makefs
  • Use makefs to create memstick images as used in FreeBSD release(7)
  • Completely remove /tmp/memstick usage
  • Probably even /tmp/kernels is useless TBC/TBD...
b0242fd1 15 avril 2014 11:55 Ermal

Rather record the last commit on build_snapshots.sh rather than _looped one since the cleanup process might remove things

63d7c187 13 avril 2014 22:30 Ermal

Respect global settings so the images are properly uploaded to the snapshots

384a025c 13 avril 2014 15:35 Ermal

Remove reference to deviso and do not source twice pfsense_local.sh

59d33514 13 avril 2014 15:29 Ermal

Remove embedded references

a7839358 11 avril 2014 23:39 Ermal

Remove embedded code from here as well

cad44fa3 11 avril 2014 22:07 Ermal

No need to clean so eagerly its not cleaning up germs. One time is enough during build_snapshot. This should reduce the time on building snapshots as well

91278238 11 avril 2014 14:34 Ermal

Revert "Remove useless and maybe dangerous cleanup"

This reverts commit fea06603436ba2ca7dba24e221bf91c402031c75.

fea06603 11 avril 2014 14:34 Ermal

Remove useless and maybe dangerous cleanup

6c617ac5 11 avril 2014 14:32 Ermal

Do not cleanup objects dir uselessly FreeBSD nowdays does the right thing.

a8432107 11 avril 2014 14:25 Ermal

No need to cleanup objects dir during rebuilds

b5b7f3ef 09 avril 2014 00:45 Ermal

Use SCRATCHDIR rather than /tmp around scripts to be able to easily overwrite this. Defaulting to /tmp of course

bf8e515f 08 avril 2014 17:18 Ermal

Remove references to SUPFILE

b6d87d5c 08 avril 2014 16:46 Ermal

First pass at dropping cvsup/svnup

25c48847 27 mars 2014 22:00 Chris Buechler

remove bandwidth limit on snapshots rsync, it's copying locally now

9a450e49 24 janvier 2014 17:48 Renato Botelho

Fix option name

2326b0c5 12 septembre 2013 00:15 Chris Buechler

bump the rsync speed limit

6acb9880 27 août 2013 02:29 jim-p

Deactivate OVA builds.

cdc3fabc 24 juillet 2013 14:41 jim-p

Add a couple more helpful log messages.

74b24b85 01 juillet 2013 17:23 Ermal

Provide a -u option here to disable uploading snapshots

bfa24951 01 juillet 2013 17:05 Ermal

Revert "Remove unexisting paramter from script. It will detect nano from environment directly"

This reverts commit 24573769eab2eb4c5fb111bc5279bfb96d9c4123.

f2224b81 01 juillet 2013 16:59 Ermal

Unset BUILD_KERNELS as well to be picked by script itself

100540a1 30 juin 2013 23:06 jim-p

This broke nano+vga again somehow. Revert "Fix nanobsd with vga build and restore variables after it"

This reverts commit 18e7ef619b281da2032f751d166455fb471a8be4.

18e7ef61 30 juin 2013 14:03 Renato Botelho

Fix nanobsd with vga build and restore variables after it

90420240 29 juin 2013 04:15 jim-p

Don't use a $ here, it won't unset as intended.

bb618a48 28 juin 2013 14:20 Ermal

Actually this seems a better place

4878dc98 28 juin 2013 14:19 Ermal

Unset this to have proper default kernel

24573769 25 juin 2013 22:57 Ermal

Remove unexisting paramter from script. It will detect nano from environment directly

4c9d2e45 24 juin 2013 14:48 Ermal

Bring back update_git_repos.sh is more useful in builder_scripts

c76af617 24 juin 2013 12:38 Ermal

Correct location of update_git_repos.sh

8aaa33f3 24 juin 2013 11:23 Ermal

Remove remenants of deviso

bd8465fb 04 avril 2013 17:32 jim-p

Try to avoid ending up with "obj." rather than "obj.<name>"

e73988eb 28 mars 2013 22:03 jim-p

Something in this function is stalling snapshot copies. Disable for now.

96dd9afb 16 janvier 2013 06:19 jim-p

Use the right filename for vga image links.

bc909d77 14 janvier 2013 01:35 jim-p

One more small fix...

a73d3085 13 janvier 2013 21:41 jim-p

Use the correct var here

a59cef1b 11 janvier 2013 03:17 jim-p

A few fixes to recent changes

8aff9872 10 janvier 2013 21:01 jim-p

Reduce bandwidth usage by using ln to link the latest copy of the file rather than copying the data twice.

e28bc522 27 novembre 2012 12:36 Ermal

freesbie2 sources come from github now

3c75fd2d 04 septembre 2012 16:17 jim-p

the update code expects a slightly different name format here, to preserve compatibility with older versions.

decd4399 15 août 2012 19:25 jim-p

Since the builds are so speedy these days, go ahead and make the nano+vga snaps during the normal run.

5f32c33f 15 août 2012 19:22 jim-p

Use VGA here if needed, too

f892813c 15 août 2012 17:59 jim-p

One (hopefully last) more NanoBSD+VGA fixup

f43c2dad 15 août 2012 16:54 jim-p

Another Nano+VGA fix

a059b780 15 août 2012 16:18 jim-p

Fixup some NanoBSD+VGA bits for snapshot building

f15a7bf4 13 août 2012 22:56 jim-p

Knock this down even more, so as to not go over 1Mbyte/s even if both run concurrently.

20e11bcd 13 août 2012 20:38 jim-p

Make that 1,000 instead

d9f4e6ac 13 août 2012 20:35 jim-p

Default to a 10,000 KByte/sec limit

b594cf1b 12 août 2012 02:18 jim-p

Don't use IP here.

45e27608 27 mars 2012 16:16 jim-p

Fix ova filename test and also chmod before uploading (they were ending up 660 instead of 664)

e186fa3a 27 mars 2012 01:39 jim-p

One more fix for nanobsd snap names.

895bf5b8 26 mars 2012 19:30 jim-p

Fix copyinng of nanobsd images, the full filename already includes gz at this point, no need to add it again.

5bd4c323 26 mars 2012 19:29 jim-p

Fix ordering of memstick/iso md5/sha files so they are grouped together in the list properly. Also fix sha256 of the ova

9a552840 23 mars 2012 17:46 jim-p

Set and use a common DATESTRING where possible. Standardize format of NanoBSD filenames. Hopefully fixes uploading of 1G nano snapshots.

80b6c0a8 23 mars 2012 16:41 jim-p

Try again to fix md5/sha for iso/memstick

2d6fc85a 22 mars 2012 20:55 jim-p

Fix md5/sha256 for iso/memstick files during snapshots.

c2573cbb 24 juin 2011 00:15 Scott Ullrich

Use correct directory

661593d2 24 juin 2011 00:06 Scott Ullrich

Allow more variables to be overridden

835c29dd 24 juin 2011 00:02 Scott Ullrich

Allow RSYNCIP to be overridden by pfsense-build.conf

393a21b1 20 juin 2011 16:13 Scott Ullrich

Build ova

d451db3b 18 juin 2011 21:46 Scott Ullrich

Adding new pfSense-disk.ovf and add vmware compatibility

a2990ef3 18 juin 2011 20:07 Scott Ullrich

Teach snapshots about ova images

4682e06d 07 février 2011 21:43 jim-p

Add 8gb and 16gb nano image code, but don't use it automatically yet.

70eda16e 11 janvier 2011 14:12 jim-p

Add arch to updates and nanobsd filenames, too.

492a14fb 11 janvier 2011 00:06 jim-p

Include $ARCH in snapshot filenames. It gets confusing when you download an i386 and amd64 snap to the same folder and can't tell them apart.

a9a49fa0 21 novembre 2010 21:05 Scott Ullrich

Copy correct files