Skip to content
Snippets Groups Projects
Commit f4179cb9 authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

Convert common_functions/patch_all to Makefile

parent 845b8c15
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,12 @@ define getisoname =
$(ISO_PREFIX)desktop-$(call altarch,$1).iso
endef
#applies all patches in $1 to target directory $2
define patch_all =
$(foreach p,$(wildcard $1/*),echo "Applying \"$1\" to \"$2\":"; \
cat "$p" | patch -d"$2" -p1; echo "done.";)
endef
CASPER_SOURCE_DIR=$(ISO_CONTENT)/casper
INITRD_SOURCE=$(CASPER_SOURCE_DIR)/initrd.lz
SQUASHFS_SOURCE=$(CASPER_SOURCE_DIR)/filesystem.squashfs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment