Skip to content

Commit

Permalink
Fix pure noarch build
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Bercot <ska@appnovation.com>
  • Loading branch information
skarnet committed Jan 28, 2022
1 parent 77f802c commit 2716cab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ TMPDIR := $(OUTPUT)/rootfs-overlay-noarch.tmp

$(OUTPUT)/rootfs-overlay-noarch/init: layout/rootfs-overlay/init
exec rm -rf $(TMPDIR)
exec mkdir -p $(OUTPUT)
exec cp -a layout/rootfs-overlay $(TMPDIR)
find $(TMPDIR) -type f -name .empty -print | xargs rm -f --
find $(TMPDIR) -name '*@VERSION@*' -print | while read name ; do mv -f "$$name" `echo "$$name" | sed -e 's/@VERSION@/$(VERSION)/'` ; done
Expand Down Expand Up @@ -95,6 +96,7 @@ TMPDIR := $(OUTPUT)/syslogd-overlay-noarch.tmp

$(OUTPUT)/syslogd-overlay-noarch/etc/s6-overlay/s6-rc.d/syslogd/run: layout/syslogd-overlay/etc/s6-overlay/s6-rc.d/syslogd/run
exec rm -rf $(TMPDIR)
exec mkdir -p $(OUTPUT)
exec cp -a layout/syslogd-overlay $(TMPDIR)
find $(TMPDIR) -type f -name .empty -print | xargs rm -f --
find $(TMPDIR) -name '*@VERSION@*' -print | while read name ; do mv -f "$$name" `echo "$$name" | sed -e 's/@VERSION@/$(VERSION)/'` ; done
Expand Down

0 comments on commit 2716cab

Please sign in to comment.