aboutsummaryrefslogtreecommitdiffstats
path: root/sub/layout/Makefile
blob: ca754fb787a03c2aa7d1ff8d0492518cc2fdddb3 (plain)
1
2
3
4
5
6
7
8
9
10
11

$(OUTPUT)/tmp/.lh_layout_copied: $(OUTPUT)/tmp/.lh_prepared layout | $(OUTPUT)/build-build/.lh_skarnet_installed
	exec sub/layout/copylayout $(OUTPUT)
	exec setuidgid $(NORMALUSER) s6-touch $@

$(OUTPUT)/tmp/.lh_layout_s6rcdb_made: $(OUTPUT)/tmp/.lh_layout_copied | $(OUTPUT)/build-build/.lh_skarnet_installed
	stamp=$$(s6-clock) && s6-rc-compile -v2 -h sysfdh $(OUTPUT)/rootfs/etc/s6-rc/compiled/$$stamp $(OUTPUT)/rootfs/etc/s6-rc/source/ && s6-ln -nsf $$stamp $(OUTPUT)/rootfs/etc/s6-rc/compiled/current
	exec setuidgid $(NORMALUSER) s6-touch $@

$(OUTPUT)/tmp/.lh_layout_installed: $(OUTPUT)/tmp/.lh_layout_copied $(OUTPUT)/tmp/.lh_layout_s6rcdb_made | $(OUTPUT)/build-build/.lh_skarnet_installed
	exec setuidgid $(NORMALUSER) s6-touch $@