From b6061ac3e350d45f6aa5eeb200ab3a54e4f451dc Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 16 Jul 2024 15:05:02 -0400 Subject: [PATCH] build-sys: Pre-create `kargs.d` and `bound-images.d` Let's ensure these directories exist by default, because we want people to drop things there - and having to create the directory in derived images invites typos. Signed-off-by: Colin Walters --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index e772563d6..489b1a463 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,8 @@ all: install: install -D -m 0755 -t $(DESTDIR)$(prefix)/bin target/release/bootc + install -d -m 0755 $(DESTDIR)$(prefix)/lib/bootc-experimental/bound-images.d + install -d -m 0755 $(DESTDIR)$(prefix)/lib/bootc/kargs.d install -d -m 0755 $(DESTDIR)$(prefix)/lib/systemd/system-generators/ ln -f $(DESTDIR)$(prefix)/bin/bootc $(DESTDIR)$(prefix)/lib/systemd/system-generators/bootc-systemd-generator install -d $(DESTDIR)$(prefix)/lib/bootc/install