mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
3f9ead5731
commit
f51dc05f7f
@@ -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
2
zipl/doc/ziplenv.minimal
Normal 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
|
||||
Reference in New Issue
Block a user