zipl/Makefile: create an empty environment file /etc/ziplenv

Create an empty environment file /etc/ziplenv at make install
time if that file doesn't exist

Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Eduard Shishkin
2022-04-08 01:04:38 +02:00
committed by Jan Höppner
parent 3f9ead5731
commit f51dc05f7f
2 changed files with 5 additions and 0 deletions

View File

@@ -9,6 +9,9 @@ install: all
$(MAKE) -C src install
$(MAKE) -C man install
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 doc/zipl.conf.minimal $(DESTDIR)$(TOOLS_LIBDIR)/zipl.conf
ifeq ($(wildcard $(DESTDIR)$(SYSCONFDIR)/ziplenv),)
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 doc/ziplenv.minimal $(DESTDIR)$(SYSCONFDIR)/ziplenv
endif
clean:
$(MAKE) -C src clean

2
zipl/doc/ziplenv.minimal Normal file
View File

@@ -0,0 +1,2 @@
# This file defines initial zIPL environment being installed by zipl(8)
# See manual page of zipl-editenv(8) tool for more information