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