Merge branch 'rw_van_221216' into 'master'

Add image and r.PACKAGE targets

See merge request redox-os/redox!1296
This commit is contained in:
Jeremy Soller 2022-12-17 03:33:05 +00:00
commit ffa17eaeb1
2 changed files with 16 additions and 0 deletions

View file

@ -8,6 +8,12 @@ all: $(BUILD)/harddrive.img
live: $(BUILD)/livedisk.iso
image:
-$(FUMOUNT) $(BUILD)/filesystem/ || true
-$(FUMOUNT) /tmp/redox_installer/ || true
rm -rf $(BUILD)/harddrive.img
$(MAKE) all
rebuild:
-$(FUMOUNT) $(BUILD)/filesystem/ || true
-$(FUMOUNT) /tmp/redox_installer/ || true

View file

@ -26,3 +26,13 @@ else
touch $<
touch $@
endif
# Invoke repo.sh for a single target
r.%: FORCE
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else
export PATH="$(PREFIX_PATH):$$PATH" && \
cd cookbook && \
./repo.sh $*
endif