From 70822883c0a9e95495df62ac5360a487a335f6fb Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sun, 8 Mar 2015 19:38:28 +0100 Subject: [PATCH] a convenience target to push initscripts/ and systemd/ in an unwrapped area --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index ef52a82..08159ad 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,14 @@ sync-clean: # once sync-mount is OK you can start tweaking the contents of bootcd/ and overlay/ manually # +# -- or -- use this target to push the files in initscripts/ and systemd/ into +# that newly created bootcd/ before running sync-rewrap +RSYNC = rsync -av --exclude .du + +sync-push: + $(RSYNC) initscripts/ root@$(KVMHOST):$(KVMDIR)/bootcd/etc/init.d/ + $(RSYNC) systemd/ root@$(KVMHOST):$(KVMDIR)/bootcd/etc/systemd/system/ + # and then use this to rebuild a new .iso # same as in build.sh -- 2.43.0