layout 318 B

123456789101112131415161718
  1. #!/bin/bash
  2. set -e
  3. source $(dirname $0)/version
  4. cd $(dirname $0)/..
  5. ARTIFACTS=$(pwd)/dist/artifacts
  6. BUILD=build
  7. INITRD_DIR=${BUILD}/initrd
  8. export ARTIFACTS BUILD INITRD_DIR VERSION
  9. ./scripts/layout-initrd
  10. ./scripts/layout-kernel
  11. curl -sL ${!OS_INITRD_BASE_URL} | tar xzvf - -C ${INITRD_DIR}
  12. ./scripts/hash-initrd