boxes: Drop packages on boxes/output/TODAY
for better organization
This commit is contained in:
parent
02a65820bf
commit
d5faf1db66
1 changed files with 5 additions and 4 deletions
|
@ -5,9 +5,10 @@ default:
|
||||||
|
|
||||||
all: $(UBUNTU_BOXES)
|
all: $(UBUNTU_BOXES)
|
||||||
|
|
||||||
$(UBUNTU_BOXES): CONTAINER = "vagrant-lxc-base-${@}-amd64-${TODAY}"
|
$(UBUNTU_BOXES): CONTAINER = "vagrant-lxc-base-${@}-amd64"
|
||||||
$(UBUNTU_BOXES): PACKAGE = "output/vagrant-lxc-${@}-amd64-${TODAY}.box"
|
$(UBUNTU_BOXES): PACKAGE = "output/${TODAY}/vagrant-lxc-${@}-amd64.box"
|
||||||
$(UBUNTU_BOXES):
|
$(UBUNTU_BOXES):
|
||||||
|
@mkdir -p $$(dirname $(PACKAGE))
|
||||||
@sudo -E ./mk-ubuntu.sh $(@) amd64 $(CONTAINER) $(PACKAGE)
|
@sudo -E ./mk-ubuntu.sh $(@) amd64 $(CONTAINER) $(PACKAGE)
|
||||||
@sudo chmod +rw $(PACKAGE)
|
@sudo chmod +rw $(PACKAGE)
|
||||||
@sudo chown ${USER}: $(PACKAGE)
|
@sudo chown ${USER}: $(PACKAGE)
|
||||||
|
@ -15,6 +16,6 @@ $(UBUNTU_BOXES):
|
||||||
clean:
|
clean:
|
||||||
@for r in $(UBUNTU_BOXES); do \
|
@for r in $(UBUNTU_BOXES); do \
|
||||||
sudo -E ./clean.sh $${r}\
|
sudo -E ./clean.sh $${r}\
|
||||||
vagrant-lxc-base-$${r}-amd64-${TODAY} \
|
vagrant-lxc-base-$${r}-amd64 \
|
||||||
output/vagrant-lxc-$${r}-amd64-${TODAY}.box; \
|
output/${TODAY}/vagrant-lxc-$${r}-amd64-${TODAY}.box; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue