Browse Source

OS-8363 Create 8gb image in smartos-live

Reviewed by: Brian Bennett <brian.bennett@joyent.com>
Approved by: Brian Bennett <brian.bennett@joyent.com>
release-20220310
Dan McDonald 11 months ago committed by GitHub
parent
commit
d61509636b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      Makefile

10
Makefile

@ -10,7 +10,7 @@
#
#
# Copyright 2020 Joyent, Inc.
# Copyright 2022 Joyent, Inc.
#
#
@ -186,12 +186,18 @@ $(IMAGES_PROTO)/4gb.img: boot
mkdir -p $(IMAGES_PROTO)
./tools/build_boot_image -p 4 -r $(ROOT)
$(IMAGES_PROTO)/8gb.img: boot
rm -f $@
mkdir -p $(IMAGES_PROTO)
./tools/build_boot_image -p 8 -r $(ROOT)
$(IMAGES_PROTO)/16gb.img: boot
rm -f $@
mkdir -p $(IMAGES_PROTO)
./tools/build_boot_image -p 16 -r $(ROOT)
$(IMAGES_TARBALL): $(IMAGES_PROTO)/4gb.img $(IMAGES_PROTO)/16gb.img
$(IMAGES_TARBALL): $(IMAGES_PROTO)/4gb.img $(IMAGES_PROTO)/8gb.img \
$(IMAGES_PROTO)/16gb.img
cd $(IMAGES_PROTO) && gtar -Scvz --owner=0 --group=0 -f $(ROOT)/$@ *
images-tar: $(IMAGES_TARBALL)

Loading…
Cancel
Save