diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-23 15:29:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-23 15:29:22 +0000 |
commit | 56c1f95f8b694e5a8ee823fd3d422e8a47dc0f02 (patch) | |
tree | 768e2e13177360ba194736953a7f89afb801085e | |
parent | eeb42ee7eb5e47a2f58daa05315919f141c61212 (diff) | |
download | alpine-iso-56c1f95f8b694e5a8ee823fd3d422e8a47dc0f02.tar.bz2 alpine-iso-56c1f95f8b694e5a8ee823fd3d422e8a47dc0f02.tar.xz |
fix armhf release
build image even if overlays is missing
-rwxr-xr-x | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -449,7 +449,11 @@ $(RPI_TAR_GZ): $(ALL_MODLOOP) $(ALL_INITFS) $(ALL_ISO_KERNEL) $(ISO_REPOS_DIRSTA echo -en "include usercfg.txt\n" >> $(RPI_TEMP)/config.txt cp -r $(ISO_DIR)/apks $(RPI_TEMP)/ cp -a $(DESTDIR)/modloop.*/tmp/usr/lib/linux-*-rpi*/*.dtb $(RPI_TEMP)/ - cp -a $(DESTDIR)/modloop.*/tmp/usr/lib/linux-*-rpi*/overlays $(RPI_TEMP)/ + for i in $(DESTDIR)/modloop.*/tmp/usr/lib/linux-*-rpi*/overlays; do \ + if [ -e "$$i" ]; then \ + cp -a "$$i" $(RPI_TEMP)/; \ + fi; \ + done tar czf $(RPI_TAR_GZ) -C "$(RPI_TEMP)" . release_targets := $(RPI_TAR_GZ) |