X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=blobdiff_plain;f=Makefile;h=08159ad8d509316e77b79429aba0d11e3e3193f1;hp=ef52a82ec106378c38db656e4912a63f95dd9559;hb=70822883c0a9e95495df62ac5360a487a335f6fb;hpb=4b85e30580433a5d81c692170de638e09bd4cc22 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