~smoser/ubuntu-on-ec2/ec2-publishing-scripts.query-dl-arm-data

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Notes:
- These tools depend on 'xc2', which can be found in ec2/ dir of
  git clone http://smoser.brickies.net/git/misc-starter-tools.git

A general overview of these tools:
- label2bucketbase:
  simply a takes in a 'label' and 'image type' (image or kernel) and
  outputs the bucket to put it in according to the naming convention
  Its a separate tool to remove duplication of code as it is used by both
  publish-build and publish-build-krd
- publish-build
  publishes build output for a given directory. Used by daily builds
  and for publishing release builds.
- publish-build-krd
  called by publish-build, this publishes the kernel and ramdisks for a
  given build.  It reads the kernel-info.txt file and publishes to
  correct buckets with correct name.  If kernel or ramdisk already
  exist, it exits with success as if it did that work.  This is
  intentional, to allow multiple nightly builds to use the same kernel
  build.  This way, publish-build knows nothing about that.
- publish-image
  This is called by both publish-build and publish-build-krd.  It is
  generally useful as a "publish-to-ec2" script.  It can take input of a
  kernel, ramdisk, or image and just does the right thing.
- resize-cloud-image
  This is used by publish-build, it resizes an filesystem in a partition
  image