diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe98dcf..11622fd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,7 @@ make-image: name: "sdimage-$CI_COMMIT_SHA" paths: - sdcard.img.zip - - rootfs.squashfs + - update.zip - build.log when: always cache: diff --git a/Makefile b/Makefile index ded9990..868664f 100644 --- a/Makefile +++ b/Makefile @@ -40,8 +40,9 @@ else endif git submodule > buildroot/output/.cache-version zip -j sdcard.img.zip buildroot/output/images/sdcard.img - cp buildroot/output/images/rootfs.squashfs . - + zip -j update.zip buildroot/output/images/zImage \ + buildroot/output/images/rootfs.squashfs \ + buildroot/output/images/initramfs.cpio.lzo .PHONY: update-config update-config: cd "$(CURDIR)/buildroot" && cp "configs/piso_defconfig" ".config"